arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1903.12247cs.SE
收藏

iGen:可配置软件的动态交互推理

iGen: Dynamic Interaction Inference for Configurable Software

ThanhVu Nguyen, Ugur Koc, Javran Cheng, Jeffrey S. Foster, Adam A. Porter

摘要:

为了开发、分析和发展当今高度可配置的软件系统,开发人员需要深入了解系统的配置选项,例如,如何设置选项以到达特定位置、使用什么配置进行测试等。如今,获取这些详细信息需要人工努力,这是困难的、昂贵的且容易出错的。在本文中,我们提出了iGen,一种新的,轻量级的动态分析技术,自动发现一个程序的\emph{interactions} -表达逻辑公式,让开发人员丰富和详细的信息,如何系统的配置选项设置映射到特定的代码覆盖率。iGen采用迭代算法,在一小组配置下运行系统,捕获覆盖数据;处理覆盖数据以推断潜在的交互;然后生成新的配置以进一步改进下一次迭代中的交互。我们评估了iGen的29个程序跨越五种语言,这项研究的广度将无法实现使用以前的交互推理工具。我们的研究结果表明,iGen发现精确的相互作用的基础上的一个非常小的一部分的可能的配置。此外,iGen的结果证实了几个早期的假设典型的相互作用分布和结构。

英文摘要:

To develop, analyze, and evolve today's highly configurable software systems, developers need deep knowledge of a system's configuration options, e.g., how options need to be set to reach certain locations, what configurations to use for testing, etc. Today, acquiring this detailed information requires manual effort that is difficult, expensive, and error prone. In this paper, we propose iGen, a novel, lightweight dynamic analysis technique that automatically discovers a program's \emph{interactions}---expressive logical formulae that give developers rich and detailed information about how a system's configuration option settings map to particular code coverage. iGen employs an iterative algorithm that runs a system under a small set of configurations, capturing coverage data; processes the coverage data to infer potential interactions; and then generates new configurations to further refine interactions in the next iteration. We evaluated iGen on 29 programs spanning five languages; the breadth of this study would be unachievable using prior interaction inference tools. Our results show that iGen finds precise interactions based on a very small fraction of the number of possible configurations. Moreover, iGen's results confirm several earlier hypotheses about typical interaction distributions and structures.

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

↑