This paper describes a graph-theoretic complexity measure and illustrates how it can be used to manage and control program complexity. The paper first explains how the graph-theory concepts apply and gives an intuitive explanation of the graph concepts in programming terms. The control graphs of several actual Fortran programs are then presented to illustrate the correlation between intuitive complexity and the graph-theoretic complexity. Several properties of the graph-theoretic complexity are then proved which show, for example, that complexity is independent of physical size (adding or subtracting functional statements leaves complexity unchanged) and complexity depends only on the decision structure of a program.
%0 Journal Article
%1 mccabe76
%A McCabe, Thomas J.
%D 1976
%J IEEE Transactions on Software Engineering
%K cyclomatic graph.theory programming
%N 4
%P 308--320
%R 10.1109/TSE.1976.233837
%T A Complexity Measure
%V SE-2
%X This paper describes a graph-theoretic complexity measure and illustrates how it can be used to manage and control program complexity. The paper first explains how the graph-theory concepts apply and gives an intuitive explanation of the graph concepts in programming terms. The control graphs of several actual Fortran programs are then presented to illustrate the correlation between intuitive complexity and the graph-theoretic complexity. Several properties of the graph-theoretic complexity are then proved which show, for example, that complexity is independent of physical size (adding or subtracting functional statements leaves complexity unchanged) and complexity depends only on the decision structure of a program.
@article{mccabe76,
abstract = {This paper describes a graph-theoretic complexity measure and illustrates how it can be used to manage and control program complexity. The paper first explains how the graph-theory concepts apply and gives an intuitive explanation of the graph concepts in programming terms. The control graphs of several actual Fortran programs are then presented to illustrate the correlation between intuitive complexity and the graph-theoretic complexity. Several properties of the graph-theoretic complexity are then proved which show, for example, that complexity is independent of physical size (adding or subtracting functional statements leaves complexity unchanged) and complexity depends only on the decision structure of a program.},
added-at = {2016-03-02T06:51:08.000+0100},
author = {McCabe, Thomas J.},
biburl = {https://www.bibsonomy.org/bibtex/29f466b5a055af914420bd495b495633d/ytyoun},
doi = {10.1109/TSE.1976.233837},
interhash = {d9620825178379d404bc75680dd08901},
intrahash = {9f466b5a055af914420bd495b495633d},
issn = {0098-5589},
journal = {IEEE Transactions on Software Engineering},
keywords = {cyclomatic graph.theory programming},
month = dec,
number = 4,
pages = {308--320},
timestamp = {2016-03-02T11:46:47.000+0100},
title = {A Complexity Measure},
volume = {SE-2},
year = 1976
}