变异分析是一种广泛用来评估软件测试技术性能的方法.已有的变异分析技术通常将变异算子平均地应用于原始程序.由于现实程序中的故障分布往往具有群束的特征,采用平均分布的变异分析方法不能客观地评估软件测试技术的性能.前期研究工作中提出了非均匀分布的变异分析方法,采用实例研究验证了不同的故障分布对测试技术性能评估的影响.为了增强非均匀分布的变异分析方法的实用性,开发了支持非均匀分布的变异生成系统MujavaX,该系统是对广泛实践的Mujava工具的扩展与改进.采用一个实例系统验证了开发的MujavaX的正确性与可行性,实验结果表明该系统能够生成指定分布的非均匀变体集合.
Mutation analysis is widely employed to evaluate the effectiveness of various software testing techniques.Existing mutation analysis techniques commonly insert faults into original programs uniformly,while actual faults tend to be clustered,which has been observed in empirical studies.This mismatch may result in the inappropriate simulation of faults,and thus may not deliver the reliable evaluation results.To overcome this limitation,we proposed a distribution-aware mutation analysis technique in our previous work,and it has been validated that the mutation distribution has impact on the effectiveness result of software testing techniques under evaluation.In this paper,we implement a mutation system called MujavaX to support distribution-aware mutation analysis.Such a system is an extension and improvement on Mujava which has been widely employed to mutation testing for Java programs.A case study is conducted to validate the correctness and feasibility of MujavaX,and experimental results show that MujavaX is able to generate a set of mutants for Java programs with respect to the given distribution model specified by testers.