| On the use of the cyclomatic number to measure program complexity |
| Full text |
Pdf
(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
|
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 7, Downloads (12 Months): 58, Citation Count: 7
|
|
|
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
|
|
CITED BY 7
|
|
|
|
|
|
|
|
|
|
|
Gerrit E. DeYoung , Garry R. Kampen , James M. Topolski, Analyzer-generated and human-judged predictors of computer program readability, Proceedings of the 1982 conference on Human factors in computing systems, p.223-228, March 15-17, 1982, Gaithersburg, Maryland, United States
|
|
|
|
|
|
|
|
|
|
|