首页> 外文期刊>Empirical Software Engineering >Comparing the influence of using feature-oriented programming and conditional compilation on comprehending feature-oriented software
【24h】

Comparing the influence of using feature-oriented programming and conditional compilation on comprehending feature-oriented software

机译:比较使用面向功能的编程和条件编译对理解面向功能的影响的影响

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

Several variability representations have been proposed over the years. Software maintenance in the presence of variability is known to be hard. One of the reasons is that maintenance tasks require a large amount of cognitive effort for program comprehension. In fact, the different ways of representing variability in source code might influence the comprehension process in different ways. Despite the differences, there is little evidence about how these variability representations - such as conditional-compilation directives or feature-oriented programming - influence program comprehension. Existing research has focused primarily on either understanding how code using modern paradigms evolves compared to the traditional way of realizing variability, namely conditional compilation, or on the aspects influencing the comprehension of conditional compilation only. We used two different programs implemented in Java and each of these variability representations. As Java does not support conditional compilation natively, we relied on the mimicking (i.e., preprocessing annotations in comments) that has been used in the literature. Our results show no significant statistical differences regarding the evaluated measures (correctness, understanding, or response time) in the tasks. Our heterogeneous sample allowed us to produce evidence about the influence of using CC and FOP variability representations on the aspects involved in the comprehension of feature-oriented software, while addressing bug-finding tasks.
机译:多年来提出了几种变异性陈述。已知存在可变性存在的软件维护。其中一个原因是维护任务需要大量认知努力进行计划理解。事实上,代表源代码中的可变性的不同方式可能以不同的方式影响理解过程。尽管存在差异,但几乎没有有关这些可变性陈述的证据 - 例如有条件编制指令或以特征为导向的编程 - 影响计划理解。现有的研究主要集中在了解如何使用现代范式的代码如何发展,与传统的实现可变性的方式,即条件编译或仅影响理解条件编译的方面。我们使用了在Java中实现的两个不同的程序和这些可变性表示中的每一个。由于Java不支持本身支持条件编译,我们依赖于文献中使用的模仿(即,预处理注释)。我们的结果表明,在任务中的评估措施(正确性,理解或响应时间)没有明显的统计差异。我们的异构样本使我们能够提供关于使用CC和FOP变异性表达对参与理解所面向功能的软件的方面的影响的证据,同时解决了错误寻找任务。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号