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

突变减少评估:有什么,缺少什么?

Mutant reduction evaluation: what is there and what is missing?

Peng Zhang, Yang Wang, Xutong Liu, Yanhui Li, Yibao Yang, Ziyuan Wang, Xiaoyu Zhou, Lin Chen, Yuming Zhou

摘要:

背景已经提出了许多旨在减少突变体数量的突变减少策略。问题.度量一个变异约简策略保持测试用例集有效性的能力是非常重要的。然而,现有的评价指标无法衡量“保序能力”。Objective.我们的目标是提出评估指标来衡量突变减少策略的“保序能力”,这是很重要的,但在我们的社会缺失。法给定一个测试套件上的被测软件(SUT)与一组原始的突变体,我们利用测试套件生成一组测试套件,有一个偏序关系的故障检测潜力。在评估约简策略时,我们首先在生成的测试集之间构建两个偏序关系,一个与原始突变体,另一个与约简突变体。然后,我们衡量的程度,这两个偏序关系是一致的。两种偏序关系越一致,变异约简策略的保序性越强,约简策略越有效。此外,我们提出了努力意识的相对顺序保持(EROP)来衡量有多少增益的变异减少策略可以提供相比,随机减少策略。结果.实验结果表明,OP和EROP能够有效地衡量变异约简策略的“保序能力”。结果表明,与现有的评价指标相比,它们具有更好的区分各种变异减少策略的能力。结论我们建议研究人员使用OP和EROP来衡量突变减少策略的有效性。

英文摘要:

Background. Many mutation reduction strategies, which aim to reduce the number of mutants, have been proposed. Problem. It is important to measure the ability of a mutation reduction strategy to maintain test suite effectiveness evaluation. However, existing evaluation indicators are unable to measure the "order-preserving ability". Objective. We aim to propose evaluation indicators to measure the "order-preserving ability" of a mutation reduction strategy, which is important but missing in our community. Method. Given a test suite on a Software Under Test (SUT) with a set of original mutants, we leverage the test suite to generate a group of test suites that have a partial order relationship in fault detecting potential. When evaluating a reduction strategy, we first construct two partial order relationships among the generated test suites in terms of mutation score, one with the original mutants and another with the reduced mutants. Then, we measure the extent to which the two partial order relationships are consistent. The more consistent the two partial order relationships are, the stronger the Order Preservation (OP) of the mutation reduction strategy is, and the more effective the reduction strategy is. Furthermore, we propose Effort-aware Relative Order Preservation (EROP) to measure how much gain a mutation reduction strategy can provide compared with a random reduction strategy. Result. The experimental results show that OP and EROP are able to efficiently measure the "order-preserving ability" of a mutation reduction strategy. As a result, they have a better ability to distinguish various mutation reduction strategies compared with the existing evaluation indicators. Conclusion. We suggest, for the researchers, that OP and EROP should be used to measure the effectiveness of a mutant reduction strategy.

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

↑