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

被引:0
作者
Alcemir Rodrigues Santos
Ivan do Carmo Machado
Eduardo Santana de Almeida
Janet Siegmund
Sven Apel
机构
[1] Federal University of Bahia,
[2] University of Passau,undefined
来源
Empirical Software Engineering | 2019年 / 24卷
关键词
Quasi-experiments; Replication; Feature-oriented software development; FeatureHouse; Conditional compilation; Graduate students;
D O I
暂无
中图分类号
学科分类号
摘要
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.
引用
收藏
页码:1226 / 1258
页数:32
相关论文
共 40 条
[21]  
Gaia FN(undefined)undefined undefined undefined undefined-undefined
[22]  
Ferreira GCS(undefined)undefined undefined undefined undefined-undefined
[23]  
Figueiredo E(undefined)undefined undefined undefined undefined-undefined
[24]  
Maia MA(undefined)undefined undefined undefined undefined-undefined
[25]  
Maalej W(undefined)undefined undefined undefined undefined-undefined
[26]  
Tiarks R(undefined)undefined undefined undefined undefined-undefined
[27]  
Roehm T(undefined)undefined undefined undefined undefined-undefined
[28]  
Koschke R(undefined)undefined undefined undefined undefined-undefined
[29]  
Rensis L(undefined)undefined undefined undefined undefined-undefined
[30]  
Shull FJ(undefined)undefined undefined undefined undefined-undefined