...
首页> 外文期刊>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本机不支持条件编译,因此我们依赖于文献中使用的模仿(即注释中的预处理注释)。我们的结果表明,有关任务中评估的度量标准(正确性,理解力或响应时间)没有显着的统计差异。我们的异构样本使我们能够在解决bug查找任务的同时,提供有关使用CC和FOP可变性表示对理解面向功能的软件所涉及的方面的影响的证据。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号