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 条
[11]  
FRANKL PG, 1985, DEC P SOFTT SAN FRAN, V2
[12]  
Goodenough J. B., 1975, IEEE Transactions on Software Engineering, VSE-1, P156, DOI 10.1109/TSE.1975.6312836
[13]  
Hayes I. J, 1987, SPECIFICATION CASE S
[14]  
Howden W. E., 1976, IEEE Transactions on Software Engineering, VSE-2, P208, DOI 10.1109/TSE.1976.233816
[15]  
Jones C. B., 1986, SYSTEMATIC SOFTWARE
[16]  
Kernighan B.W., 1981, SOFTWARE TOOLS PASCA
[17]   A DATA FLOW ORIENTED PROGRAM TESTING STRATEGY [J].
LASKI, JW ;
KOREL, B .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1983, 9 (03) :347-354
[18]  
McCabe T. J., 1976, IEEE Transactions on Software Engineering, VSE-2, P308, DOI 10.1109/TSE.1976.233837
[19]  
Myers G.J., 2011, ART SOFTWARE TESTING
[20]   ON REQUIRED ELEMENT TESTING [J].
NTAFOS, SC .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1984, 10 (06) :795-803