A FACTOR-ANALYSIS OF SOFTWARE COMPLEXITY-MEASURES

被引:9
作者
MATATOLEDO, RA
GUSTAFSON, DA
机构
[1] JAMES MADISON UNIV,DEPT MATH & COMP SCI,HARRISONBURG,VA 22807
[2] KANSAS STATE UNIV AGR & APPL SCI,DEPT COMP & INFORMAT SCI,MANHATTAN,KS 66506
关键词
D O I
10.1016/0164-1212(92)90115-Z
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Factor analysis has been used to analyse software measures and is useful to identify the important factors that influence variability in measures. Some previous results indicate that many measures are actually measuring the same thing. This article reports on a series of experiments analyzing relationships among some of the commonly used software complexity measures. Identifying relationships is important in selecting the most significant measure(s) to collect. A set of PASCAL programs was analyzed for number of decisions, number of procedures, maximum level of nesting, number of I/O statements, the Halstead count, and number of lines of code. Factor analysis showed several interesting conclusions. First, the program should be normalized to avoid high correlation between program size and everything else. Second, dividing by lines of code appears to be the best normalization. Third, an inverse relationship exists between the normalized number of decisions and both the normalized unique operand counts and the number of decisions. Finally, small programs (< 100 lines) were intrinsically different from large programs (> 100 lines).
引用
收藏
页码:267 / 273
页数:7
相关论文
共 25 条
[1]   A PHILOSOPHY FOR SOFTWARE MEASUREMENT [J].
BAKER, AL ;
BIEMAN, JM ;
FENTON, N ;
GUSTAFSON, DA ;
MELTON, A ;
WHITTY, R .
JOURNAL OF SYSTEMS AND SOFTWARE, 1990, 12 (03) :277-281
[2]   SOFTWARE TECHNOLOGY PAYOFF - SOME STATISTICAL EVIDENCE [J].
BROOKS, WD .
JOURNAL OF SYSTEMS AND SOFTWARE, 1981, 2 (01) :3-9
[3]  
Chapin Ned, 1979, 1979 International Workshop on Managing Requirements Knowledge (MARK), P995, DOI 10.1109/MARK.1979.8817207
[4]  
Conte S.D., 1986, SOFTWARE ENG METRICS
[5]   FACTOR-ANALYSIS OF SOURCE CODE METRICS [J].
COUPAL, D ;
ROBILLARD, PN .
JOURNAL OF SYSTEMS AND SOFTWARE, 1990, 12 (03) :263-269
[6]   AN ANALYSIS OF STATIC METRICS AND FAULTS IN C-SOFTWARE [J].
CRAWFORD, SG ;
MCINTOSH, AA ;
PREGIBON, D .
JOURNAL OF SYSTEMS AND SOFTWARE, 1985, 5 (01) :37-48
[7]   MEASURING THE PSYCHOLOGICAL COMPLEXITY OF SOFTWARE MAINTENANCE TASKS WITH THE HALSTEAD AND MCCABE METRICS [J].
CURTIS, B ;
SHEPPARD, SB ;
MILLIMAN, P ;
BORST, MA ;
LOVE, T .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1979, 5 (02) :96-104
[8]  
DIJKSTRA EW, 1972, APIC STUDIES DATA PR, V8
[9]  
FENTON N, 1991, SOFTWARE METRICS
[10]  
FEURER A, 1979, 4TH INT C SOFT ENG M, P351