一句话:综合考察多种测试相关因素后,实证发现其对发布后缺陷的预测作用有限,生产与代码度量更为关键。
该研究关注测试相关因素(如代码覆盖率)能否预测软件发布后缺陷。既有工作虽发现测试因素与代码质量相关,但多单独分析,未综合考察。作者开展实证研究,将多种测试相关因素与生产过程及产品代码度量同时纳入模型,分析它们对发布后缺陷的影响。结果表明,发布后缺陷与生产类的过程度量和代码度量强相关,而测试相关因素的综合预测能力有限。这提示仅依赖测试覆盖等指标不足以评估发布后质量,需结合生产过程与代码结构信息。
Testing is a very important activity whose purpose is to ensure software quality. Recent studies have studied the effects of test-related factors (e.g., code coverage) on software code quality, showing that they have good predictive power on post-release defects. Despite these studies demonstrated the existence of a relation between test-related factors and software code quality, they considered different factors separately. That led us to conduct an additional empirical study in which we considered these factors all together. The key findings of the study show that, while post-release defects are strongly related to process and code metrics of the production classes, test-related factors have a limited prediction impact.
DOI 原文 ·
@inproceedings{paperbot5032,
title = {Test-related factors and post-release defects: an empirical study},
author = {Fabiano Pecorelli},
booktitle = {FSE},
year = {2019},
doi = {10.1145/3338906.3342500}
}