Using simulation for assessing the real impact of test-coverage on defect-coverage

被引:15
作者
Briand, LC
Pfahl, D
机构
[1] Carleton Univ, Dept Syst & Comp Engn, Ottawa, ON K1S 5B6, Canada
[2] Fraunhofer Inst Expt Software Engn, D-67661 Kaiserslautern, Germany
关键词
defect-coverage; Monte Carlo simulation; software test; test-coverage; test intensity;
D O I
10.1109/24.855537
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The use of test-coverage measures (e.g., block-coverage to control the software test process has become an increasingly common practice. This is justified by the assumption that higher test-coverage helps achieve higher defect-coverage and therefore improves software quality. In practice, data often show that defect-coverage and test-coverage grow over time, as additional testing is performed. However, it is unclear whether this phenomenon of concurrent growth can be attributed to a causal dependency, or if it is coincidental, simply due to the cumulative nature of both measures. Answering such a question is important as it determines whether a given test-coverage measure should be monitored for quality control and used to drive testing. Although it is no general answer to this problem, a procedure is proposed to investigate whether any test-coverage criterion has a genuine additional impact on defect-coverage when compared to the impact of just running additional test cases. This procedure applies in typical testing conditions where the software is tested once, according to a given strategy, coverage measures are collected as well as defect data. This procedure is tested on published data, and the results are compared with the original findings. The study outcomes do not support the assumption of a causal dependency between test-coverage and defect-coverage, a result for which several plausible explanations are provided.
引用
收藏
页码:60 / 70
页数:11
相关论文
共 30 条
[1]   COMPARING THE EFFECTIVENESS OF SOFTWARE TESTING STRATEGIES [J].
BASILI, VR ;
SELBY, RW .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1987, 13 (12) :1278-1296
[2]  
Beizer B., 2003, Software Testing Techniques
[3]   How many paths are needed for branch testing? [J].
Bertolino, A ;
Marre, M .
JOURNAL OF SYSTEMS AND SOFTWARE, 1996, 35 (02) :95-106
[4]  
DelFrate F, 1995, SIXTH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, P124, DOI 10.1109/ISSRE.1995.497650
[5]   A STUDY OF THE EFFECTIVENESS OF CONTROL AND DATA-FLOW TESTING STRATEGIES [J].
FOREMAN, LM ;
ZWEBEN, SH .
JOURNAL OF SYSTEMS AND SOFTWARE, 1993, 21 (03) :215-228
[6]   All-uses vs mutation testing: An experimental comparison of effectiveness [J].
Frankl, PG ;
Weiss, SN ;
Hu, C .
JOURNAL OF SYSTEMS AND SOFTWARE, 1997, 38 (03) :235-253
[7]   AN EXPERIMENTAL COMPARISON OF THE EFFECTIVENESS OF BRANCH TESTING AND DATA-FLOW TESTING [J].
FRANKL, PG ;
WEISS, SN .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1993, 19 (08) :774-787
[8]   AN APPLICABLE FAMILY OF DATA FLOW TESTING CRITERIA [J].
FRANKL, PG ;
WEYUKER, EJ .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1988, 14 (10) :1483-1498
[9]   PROVABLE IMPROVEMENTS ON BRANCH TESTING [J].
FRANKL, PG ;
WEYUKER, EJ .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1993, 19 (10) :962-975
[10]  
HAMILTON LC, 1998, STAT STAT 5