软件测试的质量决定了软件系统是否能够按照需求可靠运行,在测试过程中运用不同的测试准则得到的测试效果也各不相同,而软件测试充分性是检验软件测试准则优劣的唯一标准。基于函数调用路径准则,将路径覆盖的分析粒度南语句扩展到函数级别,不仅使测试工作量成指数降低,同时保证了测试效果。通过建立一种研究测试准则的测试充分性的指标体系运用数据包络分析法(DEA)定量计算了基于函数调用路径准则与其它测试准则的相对充分性。实验结果表明,函数调用路径准则相较于其它覆盖准则具有较高的测试充分性。
Software testing quality determines whether the software system can run reliably according to the design requirements. Different testing criteria can he used to draw different test results, and the software testing adequacy is the only standard to test the software testing criterion. Based on the function call path criterion, the analysis granularity of path coverage is extended to the function level by the statement. It not only makes the path oriented test effort to reduce the index, but also ensures a better effect of the test. In this paper, we first establish a research test criterion of the test adequacy index system, Then the data envelopment analysis (DEA) method is used to quantitatively calculate the relative adequacy of the method based on the function call path criterion and other test criteria. The experimental results show that the function call path criterion has high test adequacy.