Back to search

Monterey, California. Naval Postgraduate School

Cyclomatic complexity as a utility for predicting software faults

Abstract

dc:description.abstract

The cyclomatic complexity metric provides a means of quantifying intra-modular software complexity, and its utility has been suggested in the software development and testing process. In this thesis, an empirical analysis was undertaken to examine the relationship between the cyclomatic complexity and the incidence of faults in a series of eight relatively large (from 1200 to 2400 LOC) complex programs. Each of these programs was developed form a single program specification and subsequently subjected to rigorous unit level testing. A comparison was also made between the relationship of cyclomatic complexity to faults and the relationship of Lines of Codes (LOC) to faults. The results of this study support a relationship between the cyclomatic complexity and the incidence of faults. Further, a relationship between LOC and faults is demonstrated. It could not be shown that there exists a stronger relationship between cyclomatic complexity and faults than LOC and faults.

Degree

thesis:*
Name thesis:degree_name
M.S. in Information Systems
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Information Systems
Department dc:contributor.department
Department of Administrative Sciences
Grantor dc:publisher
Monterey, California. Naval Postgraduate School
Year dc:date.issued
1983

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Shuman, Edwin Arthur, IV
Advisor dc:contributor.advisor
  • Shimeall, Timothy J.
Committee member dc:contributor.committeemember
  • Haga, William J.

Rights

dc:rights
Statement dc:rights
  • This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.
  • Approved for public release; distribution is unlimited.

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10945/30720

Chain of custody

source
Harvested from
Naval Postgraduate School
Base URL
calhoun.nps.edu/server/oai/request
Last updated
2026-11-21
Source record
OAI-PMH GetRecord
related terms
citation

Shuman, Edwin Arthur, IV. Cyclomatic complexity as a utility for predicting software faults. Masters thesis, Monterey, California. Naval Postgraduate School, 1983. https://hdl.handle.net/10945/30720