首页> 外文期刊>Science of Computer Programming >On the use of feature-oriented programming for evolving software product lines - A comparative study
【24h】

On the use of feature-oriented programming for evolving software product lines - A comparative study

机译:关于面向特征的程序设计在不断发展的软件产品线中的使用-比较研究

获取原文
获取原文并翻译 | 示例

摘要

Feature-oriented programming (FOP) is a programming technique based on composition mechanisms, called refinements. It is often assumed that feature-oriented programming is more suitable than other variability mechanisms for implementing Software Product Lines (SPLs). However, there is no empirical evidence to support this claim. In fact, recent research work found out that some composition mechanisms might degenerate the SPL modularity and stability. However, there is no study investigating these properties focusing on the FOP composition mechanisms. This paper presents quantitative and qualitative analysis of how feature modularity and change propagation behave in the context of two evolving SPLs, namely WebStore and MobileMedia. Quantitative data have been collected from the SPLs developed in three different variability mechanisms: FOP refinements, conditional compilation, and object-oriented design patterns. Our results suggest that FOP requires few changes in source code and a balanced number of added modules, providing better support than other techniques for non-intrusive insertions. Therefore, it adheres closer to the Open-Closed principle. Additionally, FOP seems to be more effective tackling modularity degeneration, by avoiding feature tangling and scattering in source code, than conditional compilation and design patterns. These results are based not only on the variability mechanism itself, but also on careful SPL design. However, the aforementioned results are weaker when the design needs to cope with crosscutting and fine-grained features.
机译:面向特征的编程(FOP)是一种基于合成机制的编程技术,称为完善。通常认为面向特征的编程比其他可变性机制更适合实现软件产品线(SPL)。但是,没有经验证据来支持此主张。实际上,最近的研究工作发现某些合成机制可能会降低SPL的模块化和稳定性。但是,目前还没有针对FOP组成机制研究这些特性的研究。本文介绍了在两种不断发展的SPL(即WebStore和MobileMedia)的背景下功能模块模块化和变化传播行为的定量和定性分析。已从以三种不同的可变性机制开发的SPL中收集了定量数据:FOP改进,条件编译和面向对象的设计模式。我们的结果表明,FOP只需对源代码进行少量更改,并平衡添加模块的数量,从而比其他非介入式插入技术提供了更好的支持。因此,它更贴近开放-封闭原则。此外,与条件编译和设计模式相比,通过避免源代码中的功能缠结和分散,FOP似乎更有效地解决了模块化退化问题。这些结果不仅基于可变性机制本身,而且还基于仔细的SPL设计。但是,当设计需要处理横切和细粒度特征时,上述结果较弱。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号