首页 | 本学科首页   官方微博 | 高级检索  
     


Preprocessor-based variability in open-source and industrial software systems: An empirical study
Authors:Claus Hunsen  Bo Zhang  Janet Siegmund  Christian Kästner  Olaf Leßenich  Martin Becker  Sven Apel
Affiliation:1.University of Passau,Passau,Germany;2.University of Kaiserslautern,Kaiserslautern,Germany;3.Carnegie Mellon University,Pittsburgh, Pennsylvania,USA;4.Fraunhofer Institute of Experimental Software Engineering,Kaiserslautern,Germany
Abstract:Almost every sufficiently complex software system today is configurable. Conditional compilation is a simple variability-implementation mechanism that is widely used in open-source projects and industry. Especially, the C preprocessor (CPP) is very popular in practice, but it is also gaining (again) interest in academia. Although there have been several attempts to understand and improve CPP, there is a lack of understanding of how it is used in open-source and industrial systems and whether different usage patterns have emerged. The background is that much research on configurable systems and product lines concentrates on open-source systems, simply because they are available for study in the first place. This leads to the potentially problematic situation that it is unclear whether the results obtained from these studies are transferable to industrial systems. We aim at lowering this gap by comparing the use of CPP in open-source projects and industry—especially from the embedded-systems domain—based on a substantial set of subject systems and well-known variability metrics, including size, scattering, and tangling metrics. A key result of our empirical study is that, regarding almost all aspects we studied, the analyzed open-source systems and the considered embedded systems from industry are similar regarding most metrics, including systems that have been developed in industry and made open source at some point. So, our study indicates that, regarding CPP as variability-implementation mechanism, insights, methods, and tools developed based on studies of open-source systems are transferable to industrial systems—at least, with respect to the metrics we considered.
Keywords:
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号