AN EMPIRICAL-EVALUATION (AND SPECIFICATION) OF THE ALL-DU-PATHS TESTING CRITERION

被引:11
作者
BIEMAN, JM
SCHULTZ, JL
机构
[1] COLORADO STATE UNIV, DEPT COMP SCI, FT COLLINS, CO 80523 USA
[2] IOWA STATE UNIV SCI & TECHNOL, DEPT STAT, AMES, IA 50011 USA
来源
SOFTWARE ENGINEERING JOURNAL | 1992年 / 7卷 / 01期
关键词
D O I
10.1049/sej.1992.0005
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The all-du-paths structural testing criterion is one of the most discriminating of the data-flow testing criteria. Unfortunately, in the worst case, the criterion requires an intractable number of test cases. In a case study of an industrial software system, we find that the worst-case scenario is rare. Eighty percent of the subroutines require ten or fewer test cases. Only one subroutine out of 143 requires an intractable number of tests. However, the number of required test cases becomes tractable when using the all-uses criterion. This paper includes a formal specification of both the all-du-paths criterion and the software tools used to estimate a minimal number of test cases necessary to meet the criterion.
引用
收藏
页码:43 / 51
页数:9
相关论文
共 28 条
[1]  
BAKER A, 1987, 11TH P IEEE COMP SOC, P131
[2]  
BAKER AL, 1986, 19TH P HAW INT C S A, V2, P158
[3]  
BIEMAN J, 1989, DEC P SOFTW TEST AN, P179
[4]  
BIEMAN J, 1991, CS91105 COL STAT U C
[5]   A STANDARD REPRESENTATION OF IMPERATIVE LANGUAGE PROGRAMS FOR DATA-COLLECTION AND SOFTWARE MEASURES SPECIFICATION [J].
BIEMAN, JM ;
BAKER, AL ;
CLITES, PN ;
GUSTAFSON, DA ;
MELTON, AC .
JOURNAL OF SYSTEMS AND SOFTWARE, 1988, 8 (01) :13-37
[6]   A FORMAL EVALUATION OF DATA FLOW PATH SELECTION CRITERIA [J].
CLARKE, LA ;
PODGURSKI, A ;
RICHARDSON, DJ ;
ZEIL, SJ .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1989, 15 (11) :1318-1332
[7]  
CLARKE LA, 1985, 8TH P INT C SOFTW EN, P244
[8]  
DOH K, 1986, 8615 IOW STAT U DEP
[9]   AN APPLICABLE FAMILY OF DATA FLOW TESTING CRITERIA [J].
FRANKL, PG ;
WEYUKER, EJ .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1988, 14 (10) :1483-1498
[10]  
FRANKL PG, 1985, APR P IEEE C SOFTW T, P72