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

面向可配置代码的交互感知配置优先级

Feature-Interaction Aware Configuration Prioritization for Configurable Code

Son Nguyen, Hoan Nguyen, Ngoc Tran, Hieu Tran, Tien N. Nguyen

摘要:

在一个可配置的软件系统中,功能之间的意外交互会导致大多数错误。详尽地分析所有指数数量的可能配置是成本过高的。因此,已经提出了各种采样技术来系统地缩小要分析的合法配置的指数数量。由于分析所有选定的配置可能需要大量的工作,基于故障的配置优先级,有助于更早地检测故障,可以在质量保证方面产生实际的好处。在本文中,我们提出了CoPro,一种新的配方功能交互错误通过共同的程序实体启用/禁用的功能。利用这一点,我们开发了一个有效的功能交互感知配置优先级技术的可配置系统的配置排名根据其潜在的错误总数。我们进行了几项实验来评估CoPro在公共基准测试中检测配置相关错误的能力。我们发现,当我们在高级采样算法上添加它们时,CoPro的性能优于最先进的配置优先级技术。在78%的情况下,CoPro将错误配置排在结果列表的前3位。有趣的是,CoPro能够检测到17个尚未发现的功能交互错误。

英文摘要:

Unexpected interactions among features induce most bugs in a configurable software system. Exhaustively analyzing all the exponential number of possible configurations is prohibitively costly. Thus, various sampling techniques have been proposed to systematically narrow down the exponential number of legal configurations to be analyzed. Since analyzing all selected configurations can require a huge amount of effort, fault-based configuration prioritization, that helps detect faults earlier, can yield practical benefits in quality assurance. In this paper, we propose CoPro, a novel formulation of feature-interaction bugs via common program entities enabled/disabled by the features. Leveraging from that, we develop an efficient feature-interaction aware configuration prioritization technique for a configurable system by ranking the configurations according to their total number of potential bugs. We conducted several experiments to evaluate CoPro on the ability to detect configuration-related bugs in a public benchmark. We found that CoPro outperforms the state-of-the-art configuration prioritization techniques when we add them on advanced sampling algorithms. In 78% of the cases, CoPro ranks the buggy configurations at the top 3 positions in the resulting list. Interestingly, CoPro is able to detect 17 not-yet-discovered feature-interaction bugs.

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

↑