Measuring the Psychological Complexity of Software Maintenance Tasks with the Halstead and McCabe Metrics
The DOI matches its Crossref record; 19 of the 19 references it cites were found in a registry or an index.
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.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
(1963) · Medical Entomology and Zoology · Cited by 15,085
McCabe, T. J. (1976) · IEEE Transactions on Software Engineering · doi:10.1109/tse.1976.233837 · Cited by 6,059
Experimental Design: Procedures for the Behavioral Sciences.
Addelman, S., & Kirk, R. E. (1969) · Journal of the American Statistical Association · doi:10.2307/2283497 · Cited by 5,159
Halstead, M. H. (1977) · CERN Document Server (European Organization for Nuclear Research) · Cited by 2,339
Dahl, O., Dijkstra, E., & Hoare, C. A. R. (1972) · UCLA - Biblioteca de Ciencias y Tecnologia Felix Morales Bueno · Cited by 932
Notes on Structured Programming
Dijkstra, E. W. (1970) · TU/e Research Portal · doi:10.26153/tsw/53177 · Cited by 824
An Introduction to Linear Regression and Correlation
Edwards, A. L. (1976) · Cited by 669
(1990) · Extending Explanation-Based Learning by Generalizing the Structure of Explanations · doi:10.1016/b978-0-273-08817-2.50013-3 · Cited by 438
A Review and Evaluation of Software Science
Fitzsimmons, A., & Love, T. (1978) · ACM Computing Surveys · doi:10.1145/356715.356717 · Cited by 183
Self-citationMeasuring computer program quality and comprehension
Shneiderman, B. (1977) · International Journal of Man-Machine Studies · doi:10.1016/s0020-7373(77)80014-x · Cited by 144
Natural laws controlling algorithm structure?
Halstead, M. H. (1972) · ACM SIGPLAN Notices · doi:10.1145/953363.953366 · Cited by 95
Some basic determinants of computer programming productivity
Chrysler, E. (1978) · Communications of the ACM · doi:10.1145/359511.359523 · Cited by 95
Rabin, M. O. (1977) · Communications of the ACM · doi:10.1145/359810.359816 · Cited by 69
Measuring commercial PL/I programs using Halstead's criteria
Elshoff, J. L. (1976) · ACM SIGPLAN Notices · doi:10.1145/956003.956006 · Cited by 54
A Software Physics Analysis of Akiyama's Debugging Data
Funami, Y., & Halstead, M. H. (1975) · Purdue e-Pubs (Purdue University System) · Cited by 43
An experiment comparing Fortran programming times with the software physics hypothesis
Gordon, R. D., & Halstead, M. H. (1976) · AFIPS National Computer Conference (NCC) · doi:10.1145/1499799.1499927 · Cited by 33
Predicting the Number of Bugs Expected in a Program Module
Ottenstein, L. M., Schneider, V. B., & Halstead, M. H. (1976) · Purdue e-Pubs (Purdue University System) · Cited by 27
An experimental determination of the "purity" of a trivial algorithm
Halstead, M. H. (1973) · ACM SIGMETRICS Performance Evaluation Review · doi:10.1145/1041606.1041608 · Cited by 25
A Program to Count Operators and Operands for ANSI—FORTRAN Modules
Ottenstein, K. J. (1976) · Purdue e-Pubs (Purdue University System) · Cited by 17
Cited by
Evaluating software complexity measures
Weyuker, E. J. (1988) · IEEE Transactions on Software Engineering · doi:10.1109/32.6178 · Cited by 847
Towards a theory of the comprehension of computer programs
Brooks, R. (1983) · International Journal of Man-Machine Studies · doi:10.1016/s0020-7373(83)80031-5 · Cited by 756
Property-based software engineering measurement
Briand, L. C., Morasca, S., & Basili, V. R. (1996) · IEEE Transactions on Software Engineering · doi:10.1109/32.481535 · Cited by 748
On the cognitive effects of learning computer programming
Pea, R. D., & Kurland, D. M. (1984) · New Ideas in Psychology · doi:10.1016/0732-118x(84)90018-7 · Cited by 544
Familiarity, complexity, and team performance in geographically distributed software development
Espinosa, J. A., Slaughter, S. A., Kraut, R. E., & Herbsleb, J. D. (2007) · Organization Science · doi:10.1287/orsc.1070.0297 · Cited by 420
“In software development, the size of the task is one characteristic that can make the task complex (Banker et al. 1998, Curtis et al. 1979, Kemerer 1995).”
Method
Metadata
- Authors
- Curtis, B., Sheppard, S. B., Milliman, P., Borst, M. A., & Love, T.
- Venue
- IEEE Transactions on Software Engineering
- Published
- 1979-03
- Volume
- SE-5
- Issue
- 2
- Pages
- 96-104
- ISSN
- 0098-5589 (ISSN-L)
- OpenAlex
- W2068965694
- Cited by
- 288
- References
- 19
- FWCI
- 48.33
- Type
- journal article
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.