ACM SIGPLAN Notices · 1978 · 21 citations · 6 references
ComputingComputer ScienceProgramming LanguagesSoftware EngineeringTheory Of ComputationComplexity TheoryComputational ComplexityControl-flow AnalysisData-flow AnalysisSoftware MetricsStructural ComplexityCode Complexity AnalysisComplexityComplexity AnalysisComplexity MeasurementCyclomatic ComplexityProgram Complexity
The October 1977 issue of SIGPLAN Notices carries an article that compares functionally equivalent programs that differ in their internal structure. The basis for comparing the programs is a measure called cyclomatic complexity whose value is the cyclomatic number of the graph that corresponds to the flow of control of the program. One program is of particular interest since all of the well-structured versions of the program that are discussed have a higher cyclomatic complexity than the unstructured version. In this paper another well-structured version of the program is presented for which the cyclomatic complexity is reduced to that of the original unstructured version. In the process, some of the shortcomings of the cyclomatic number as a complexity measure are revealed.
6
Thomas J. McCabe · IEEE Transactions on Software Engineering · 1976 · 5.8K citations
Mathematical Foundations for Structured Programming
Harlan D. Mills · 1972 · 115 citations
A genealogy of control structures
Henry Ledgard, Michael Marcotty · Communications of the ACM · 1975 · 102 citations · Full text