DocumentCode
750032
Title
Measuring the Psychological Complexity of Software Maintenance Tasks with the Halstead and McCabe Metrics
Author
Curtis, Bill ; Sheppard, Sylvia B. ; Milliman, Phil ; Borst, M.A. ; Love, Tom
Author_Institution
Information Systems Programs, Space Division, General Electric Company
Issue
2
fYear
1979
fDate
3/1/1979 12:00:00 AM
Firstpage
96
Lastpage
104
Abstract
Three software complexity measures (Halstead´s E, McCabe´s u(G), and the length as measured by number of statements) were compared to programmer performance on two software maintenance tasks. In an experiment on understanding, length and u(G) correlated with the percent of statements correctly recalled. In an experiment on modification, most significant correlations were obtained with metrics computed on modified rather than unmodified code. All three metrics correlated with both the accuracy of the modification and the time to completion. Relationships in both experiments occurred primarily in unstructured rather than structured code, and in code with no comments. The metrics were also most predictive of performance for less experienced programmers. Thus, these metrics appear to assess psychological complexity primarily where programming practices do not provide assistance in understanding the code.
Keywords
Commenting; Halstead´s E; McCabe´s u(G); complexity metrics; documentation; human factors in software engineering; mnemonic variable names; modem programming practices modifica-tions; software science; structured programming; Companies; Documentation; Human factors; Length measurement; Programming profession; Psychology; Resource management; Software maintenance; Software measurement; Software performance; Commenting; Halstead´s E; McCabe´s u(G); complexity metrics; documentation; human factors in software engineering; mnemonic variable names; modem programming practices modifica-tions; software science; structured programming;
fLanguage
English
Journal_Title
Software Engineering, IEEE Transactions on
Publisher
ieee
ISSN
0098-5589
Type
jour
DOI
10.1109/TSE.1979.234165
Filename
1702603
Link To Document