arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1908.08375cs.SE
收藏

通过可变性和Source Code的集成表示理解条件编译

Understanding Conditional Compilation Through Integrated Representation of Variability and Source Code

David Baum, Christina Sixtus, Lisa Vogelsberg, Ulrich Eisenecker

摘要:

C预处理器(CPP)是一个标准的工具,用于将可变性引入源程序,并且经常隐式或显式地应用于实现软件产品线(SPL)。尽管CPP具有实际意义,但它有许多缺点。因此,很难理解使用CPP实现的可变性。为了促进这一任务,我们提供了一个创新的分析工具,它弥合了特征模型之间的差距,作为更抽象的表示的变化和具体的实施与CPP的手段。它允许交互式地探索源程序的实体相对于由条件编译实现的可变性。因此,它简化了跟踪和理解启用或禁用功能标志的效果。

英文摘要:

The C preprocessor (CPP) is a standard tool for introducing variability into source programs and is often applied either implicitly or explicitly for implementing a Software Product Line (SPL). Despite its practical relevance, CPP has many drawbacks. Because of that it is very difficult to understand the variability implemented using CPP. To facilitate this task we provide an innovative analytics tool which bridges the gap between feature models as more abstract representations of variability and its concrete implementation with the means of CPP. It allows to interactively explore the entities of a source program with respect to the variability realized by conditional compilation. Thus, it simplifies tracing and understanding the effect of enabling or disabling feature flags.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑