ACM Home Page
Please provide us with feedback. Feedback
On the use of the cyclomatic number to measure program complexity
Full text PdfPdf (491 KB)
Source ACM SIGPLAN Notices archive
Volume 13 ,  Issue 12  (December 1978) table of contents
Pages: 29 - 40  
Year of Publication: 1978
ISSN:0362-1340
Authors
James L. Elshoff  General Motors Research Laboratories, Warren, Michigan
Michael Marcotty  General Motors Research Laboratories, Warren, Michigan
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 7,   Downloads (12 Months): 58,   Citation Count: 7
Additional Information:

abstract   references   cited by   collaborative colleagues  

Tools and Actions: Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/954587.954590
What is a DOI?

ABSTRACT

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.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
McCabe, T. J., "A complexity measure," IEEE Transactions on Software Engineering, Vol. SE-2, No. 4, Dec. 1976, pp. 308--320.
 
2
 
3
Barth, C. W., "Notes on the CASE statement," Software-Practice and Experience, Vol. 4, No. 3, July 1974, pp. 289--298.
4
 
5
 
6
Mills, H. D., "Mathematical foundations for structured programming," Document FSC72--6012, IBM Federal Systems Division, Gaithersburg, Maryland, Feb. 1972.
 
7
Ashcroft, E., and Manna, Z., "The translation of 'GOTO' programs to 'WHILE' programs," Proceedings of the 1971 IFIP Congress, Ljubljana, Yugoslavia, Aug. 1971, pp. 250--255.
8
9
10

Collaborative Colleagues:
James L. Elshoff: colleagues
Michael Marcotty: colleagues