A critique of cyclomatic complexity as a software metric
- 1 January 1988
- journal article
- Published by Institution of Engineering and Technology (IET) in Software Engineering Journal
- Vol. 3 (2) , 30-36
- https://doi.org/10.1049/sej.1988.0003
Abstract
McCabe's cyclomatic complexity metric is widely cited as a useful predictor of various software attributes such as reliability and development effort. This critique demonstrates that it is based upon poor theoretical foundations and an inadequate model of software development. The argument that the metric provides the developer with a useful engineering approximation is not borne out by the empirical evidence. Furthermore, it would appear that for a large class of software it is no more than a proxy for, and in many cases is outperformed by, lines of code.Keywords
This publication has 8 references indexed in Scilit:
- Software complexity metric sensitivity to program structuring rulesJournal of Systems and Software, 1983
- A measure of logical complexity of programsComputer Languages, 1982
- Applying software complexity metrics to program maintenanceComputer, 1982
- A critical examination of software scienceJournal of Systems and Software, 1981
- A study of several metrics for programming effortJournal of Systems and Software, 1981
- On the relationships among three software metricsACM SIGMETRICS Performance Evaluation Review, 1981
- Cyclomatic numbers do not measure complexity of unstructured programsInformation Processing Letters, 1979
- Are current approaches sufficient for measuring software quality?ACM SIGSOFT Software Engineering Notes, 1978