DEBUGGING EFFORT ESTIMATION USING SOFTWARE METRICS

被引:19
作者
GORLA, N
BENANDER, AC
BENANDER, BA
机构
[1] Department of Computer Science, Cleveland State University, Cleveland
关键词
Cobol; Debugging; Regression analysis; Software metrics; Statistical analysis; Style analyzers;
D O I
10.1109/32.44385
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Measurements of 23 style characteristics, and the program metrics LOC, V(g), VARS, and PARS were collected from student Cobol programs by a program analyzer. These measurements, together with debugging time (syntax and logic) data, were analyzed using several statistical procedures of SAS, including linear, quadratic, and multiple regressions. Some of the characteristics shown to significantly correlate with debug time are GOTO usage, structuring of the IF-ELSE construct, level 88 item usage, paragraph invocation pattern, and data name length. Among the observed characteristic measures which are associated with lowest debug times are: 17 percent blank lines in the Data Division, 12 percent blank lines in the Procedure Division, and 13 character long data items. A debugging effort estimator, DEST, was developed to estimate debug times. This estimator, a quadratic function of nine characteristics, has a coefficient of multiple determination (R2) of 0.7551 with the total debug time (significance level 0.0001). None of the software metrics LOC, V(g), VARS, and PARS has r2 values greater than 0.3 when regressed with total debug time. The variables of DEST, when regressed with debug times from various subsets of the programs stratified by LOC, V(.g), and student GPA, had high R2 values. © 1990 IEEE
引用
收藏
页码:223 / 231
页数:9
相关论文
共 12 条
[1]   EMPIRICAL-ANALYSIS OF COBOL PROGRAMS [J].
ALJARRAH, MM ;
TORSUN, IS .
SOFTWARE-PRACTICE & EXPERIENCE, 1979, 9 (05) :341-359
[2]   A STYLE ANALYSIS OF C-PROGRAMS [J].
BERRY, RE ;
MEEKINGS, BAE .
COMMUNICATIONS OF THE ACM, 1985, 28 (01) :80-88
[3]   SOFTWARE METRICS - AN OVERVIEW OF RECENT RESULTS [J].
COTE, V ;
BOURQUE, P ;
OLIGNY, S ;
RIVARD, N .
JOURNAL OF SYSTEMS AND SOFTWARE, 1988, 8 (02) :121-131
[4]  
DUNSMORE HE, 1984, OCT P S EMP F INF SO
[5]  
DYKSTRA EW, 1968, COMMUN ACM, V11, P147
[6]   A NOTE ON THE BERRY-MEEKINGS STYLE METRIC [J].
HARRISON, W ;
COOK, CR .
COMMUNICATIONS OF THE ACM, 1986, 29 (02) :123-125
[7]  
KERNIGHAN BS, 1974, ACM COMPUT SURV, V6, P303
[8]  
MEEKINGS BAE, 1983, SIGPLAN NOTICES, V18, P45, DOI 10.1145/988227.988232
[9]   PROGRAM INDENTATION AND COMPREHENSIBILITY [J].
MIARA, RJ ;
MUSSELMAN, JA ;
NAVARRO, JA ;
SHNEIDERMAN, B .
COMMUNICATIONS OF THE ACM, 1983, 26 (11) :861-867
[10]  
MYERS GJ, 1978, COMPOSITE STRUCTURED