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

使用变异测试进行基于调用图的影响预测的大规模研究

A Large-Scale Study of Call Graph-based Impact Prediction using Mutation Testing

Vincenzo Musco, Martin Monperrus, Philippe Preux

AI总结:

本文提出一种基于变异测试的影响传播评估技术,通过创建17,000个变异体分析四种调用图,发现最基本调用图在影响预测的精确率与召回率间权衡最佳。

摘要:

在软件工程中,影响分析涉及预测受源代码更改潜在影响的软件元素(例如模块、类、方法)。影响分析是优化测试工作所必需的。在本文中,我们提出了一种预测影响传播的评估技术。基于10个开源Java项目和5个经典变异算子,我们创建了17,000个变异体,并研究它们引入的错误如何传播。该评估技术使我们能够基于四种类型的调用图分析影响预测。我们的结果表明,图的复杂性提高了影响预测的完整性。然而,出乎我们意料的是,最基本的调用图在影响预测的精确率和召回率之间给出了最佳的权衡。

英文摘要:

In software engineering, impact analysis involves predicting the software elements (e.g., modules, classes, methods) potentially impacted by a change in the source code. Impact analysis is required to optimize the testing effort. In this paper, we propose an evaluation technique to predict impact propagation. Based on 10 open-source Java projects and 5 classical mutation operators, we create 17,000 mutants and study how the error they introduce propagates. This evaluation technique enables us to analyze impact prediction based on four types of call graph. Our results show that graph sophistication increases the completeness of impact prediction. However, and surprisingly to us, the most basic call graph gives the best trade-off between precision and recall for impact prediction.

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

↑