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

测试用例作为实验中的测量工具

Test cases as a measurement instrument in experimentation

Oscar Dieste, Fernando Uyaguari, Sira Vegas, Natalia Juristo

摘要:

背景:测试套件经常用于量化相关的软件属性,如质量或生产力。问题:我们已经发现,相同的响应变量,使用不同的测试套件测量,产生不同的实验结果。目的:评估测试用例构建的差异在多大程度上影响测量准确性和实验结果。方法:两个行业的实验已经测量使用两种不同的测试套件,一个使用的ad-hoc方法和另一个使用等价分区。测量的准确性已经使用标准程序,如ISO 5725,Bland-Altman和类间相关系数进行了研究。结果如下:响应变量的值存在高达+-60%的差异,取决于所使用的测试套件(ad-hoc与等效性分区)。结论:数据集和分析代码的公开不足以确保SE实验的重现性。实验者应披露进行独立测量和再分析所需的所有实验材料。

英文摘要:

Background: Test suites are frequently used to quantify relevant software attributes, such as quality or productivity. Problem: We have detected that the same response variable, measured using different test suites, yields different experiment results. Aims: Assess to which extent differences in test case construction influence measurement accuracy and experimental outcomes. Method: Two industry experiments have been measured using two different test suites, one generated using an ad-hoc method and another using equivalence partitioning. The accuracy of the measures has been studied using standard procedures, such as ISO 5725, Bland-Altman and Interclass Correlation Coefficients. Results: There are differences in the values of the response variables up to +-60%, depending on the test suite (ad-hoc vs. equivalence partitioning) used. Conclusions: The disclosure of datasets and analysis code is insufficient to ensure the reproducibility of SE experiments. Experimenters should disclose all experimental materials needed to perform independent measurement and re-analysis.

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

↑