arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2403.15821cs.SE
收藏

局部特性:增强软件产品线中的可变性建模

Local Features: Enhancing Variability Modeling in Software Product Lines

David de Castro, Alejandro Cortiñas, Miguel R. Luaces, Oscar Pedreira, Ángeles Saavedra Places

AI总结:

本文提出局部特性概念,通过多模型形式化建立其与系统元素的关系,使应用工程师能在配置时决定特性的具体应用位置,从而在应用工程阶段实现更高的定制化水平。

摘要:

背景与动机:软件产品线(SPL)通过使用特性模型对可变性进行建模,支持创建共享核心组件的软件产品家族。在某些情况下,仅从特性模型中选择特性来生成产品可能是不够的,因为应用工程师可能需要在配置时决定系统中的哪些元素将应用某个特定特性。因此,不仅需要选择哪些特性应包含在产品中,还需要选择将它们应用于产品的哪些元素。目标:我们引入了局部特性,它们在产品配置期间被选择性地应用于系统的特定部分。结果:我们使用多模型对局部特性进行形式化,以建立局部特性与系统模型其他元素之间的关系。本文包含了说明局部特性动机的示例、形式化定义,以及用于规范和实现的领域特定语言。最后,我们在真实场景中展示了一个案例研究,说明了局部特性的概念如何使我们能够定义复杂系统的可变性。示例和应用案例表明,该提案在应用工程阶段实现了更高的定制化水平。

英文摘要:

Context and motivation: Software Product Lines (SPL) enable the creation of software product families with shared core components using feature models to model variability. Choosing features from a feature model to generate a product may not be sufficient in certain situations because the application engineer may need to be able to decide on configuration time the system's elements to which a certain feature will be applied. Therefore, there is a need to select which features have to be included in the product but also to which of its elements they have to be applied. Objective: We introduce local features that are selectively applied to specific parts of the system during product configuration. Results: We formalize local features using multimodels to establish relationships between local features and other elements of the system models. The paper includes examples illustrating the motivation for local features, a formal definition, and a domain-specific language for specification and implementation. Finally, we present a case study in a real scenario that shows how the concept of local features allowed us to define the variability of a complex system. The examples and the application case show that the proposal achieves higher customization levels at the application engineering phase.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑