变异测试中可达性、感染与传播条件的形式化分析
Formal Analysis of Reachability, Infection and Propagation Conditions in Mutation Testing
AI总结:
本文提出一种基于Dijkstra最弱前置条件和rc函数的形式化方法,用于计算变异测试中的RIP条件,并通过四个程序案例验证其适用性。
摘要:
在变异测试中,寻找测试用例以杀死存活的变异体,需要计算可达性、感染与传播(RIP)条件以及完整的测试规约。本文提出了一种计算RIP条件的形式化方法。该方法使用Dijkstra最弱前置条件谓词转换器wp(_,_)来计算感染和传播条件,并定义rc(_)函数以计算每条语句所产生的可达性条件。文中考察了四个程序及其变异体,将其作为运行示例和案例研究,以展示该方法的适用性。
英文摘要:
Finding test cases to kill the alive mutants in Mutation testing needs to calculate the Reachability, Infection and Propagation(RIP) conditions and full test specification. In this paper, a formal approach to calculate RIP conditions is proposed. The Dijkestra's weakest precondition predicate transformer (wp(_,_)) is used to calculate infection and propagation conditions. The rc(_) function is defined to calculate the reachability conditions generated by each statement. Four programs and their mutants are examined as running examples and as case studies to show the applicability of the method.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。