Cyclomatic complexity as a utility for predicting software faults
Approved for public release, distribution is unlimited === 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 e...
Main Author: | |
---|---|
Other Authors: | |
Language: | en_US |
Published: |
Monterey, California. Naval Postgraduate School
2013
|
Online Access: | http://hdl.handle.net/10945/30720 |
id |
ndltd-nps.edu-oai-calhoun.nps.edu-10945-30720 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-nps.edu-oai-calhoun.nps.edu-10945-307202015-01-26T15:55:39Z Cyclomatic complexity as a utility for predicting software faults Shuman, Edwin Arthur, IV Shimeall, Timothy J. Haga, William J. Naval Postgraduate School (U.S.) Department of Administrative Sciences Approved for public release, distribution is unlimited 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. 2013-04-11T22:15:10Z 2013-04-11T22:15:10Z 1990-03 Thesis http://hdl.handle.net/10945/30720 en_US This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. As such, it is in the public domain, and under the provisions of Title 17, United States Code, Section 105, it may not be copyrighted. Monterey, California. Naval Postgraduate School |
collection |
NDLTD |
language |
en_US |
sources |
NDLTD |
description |
Approved for public release, distribution is unlimited === 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. |
author2 |
Shimeall, Timothy J. |
author_facet |
Shimeall, Timothy J. Shuman, Edwin Arthur, IV |
author |
Shuman, Edwin Arthur, IV |
spellingShingle |
Shuman, Edwin Arthur, IV Cyclomatic complexity as a utility for predicting software faults |
author_sort |
Shuman, Edwin Arthur, IV |
title |
Cyclomatic complexity as a utility for predicting software faults |
title_short |
Cyclomatic complexity as a utility for predicting software faults |
title_full |
Cyclomatic complexity as a utility for predicting software faults |
title_fullStr |
Cyclomatic complexity as a utility for predicting software faults |
title_full_unstemmed |
Cyclomatic complexity as a utility for predicting software faults |
title_sort |
cyclomatic complexity as a utility for predicting software faults |
publisher |
Monterey, California. Naval Postgraduate School |
publishDate |
2013 |
url |
http://hdl.handle.net/10945/30720 |
work_keys_str_mv |
AT shumanedwinarthuriv cyclomaticcomplexityasautilityforpredictingsoftwarefaults |
_version_ |
1716728518998491136 |