Studying the effects of code inspection and structural testing on software quality

被引:15
作者
Laitenberger, O [1 ]
机构
[1] Fraunhofer Inst Expt Software Engn, D-67661 Kaiserslautern, Germany
来源
NINTH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS | 1998年
关键词
D O I
10.1109/ISSRE.1998.730887
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper contributes a controlled experiment to characterize the effects of code inspection and structural testing on software quality Twenty subjects performed sequentially code inspection and structural testing using different coverage values as test criteria on a C-code module. The results of this experiment show that inspection significantly outperforms the defect detection effectiveness of structural testing. Furthermore, the experimental results indicate little evidence to support the hypothesis that structural testing detects different defects, that is, defects of a particular class, that were missed by inspection and vice versa. These findings suggest that inspection and structural testing do not complement each other well. Since 39 percent (on average) of the defects were not detected at all, it might be more valuable to apply inspection together with other testing techniques, such as boundary value analysis, to achieve a better defect coverage. We are aware that a single experiment has many limitations and, often, does not provide conclusive evidence. Hence. we consider this experiment a starting point and encourage other researchers to investigate the optimal mix of defect detection techniques.
引用
收藏
页码:237 / 246
页数:10
相关论文
共 27 条
[1]  
[Anonymous], 1982, CONTROLLING SOFTWARE
[2]  
[Anonymous], 1994, CRAFT SOFTWARE TESTI
[3]  
Aron A, 1994, STAT PSYCHOL
[4]   MANAGING CODE INSPECTION INFORMATION [J].
BARNARD, J ;
PRICE, A .
IEEE SOFTWARE, 1994, 11 (02) :59-69
[5]   COMPARING THE EFFECTIVENESS OF SOFTWARE TESTING STRATEGIES [J].
BASILI, VR ;
SELBY, RW .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1987, 13 (12) :1278-1296
[6]  
Beizer B., 2003, Software Testing Techniques
[7]   ORTHOGONAL DEFECT CLASSIFICATION - A CONCEPT FOR IN-PROCESS MEASUREMENTS [J].
CHILLAREGE, R ;
BHANDARI, IS ;
CHAAR, JK ;
HALLIDAY, MJ ;
MOEBUS, DS ;
RAY, BK ;
WONG, MY .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1992, 18 (11) :943-956
[8]   A POWER PRIMER [J].
COHEN, J .
PSYCHOLOGICAL BULLETIN, 1992, 112 (01) :155-159
[9]   ADVANCES IN SOFTWARE INSPECTIONS [J].
FAGAN, ME .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1986, 12 (07) :744-751
[10]   DESIGN AND CODE INSPECTIONS TO REDUCE ERRORS IN PROGRAM-DEVELOPMENT [J].
FAGAN, ME .
IBM SYSTEMS JOURNAL, 1976, 15 (03) :182-211