Change search
ReferencesLink to record
Permanent link

Direct link
The correlation between code coverage, cyclomatic complexity and fault frequency
Linköping University, Department of Computer and Information Science. Linköping University, Faculty of Science & Engineering.
2015 (English)Independent thesis Basic level (degree of Bachelor), 10,5 credits / 16 HE creditsStudent thesis
Abstract [en]

The quality of software gets more and more important as software is introduced to systems that are important to the infrastructure of modern society. This thesis studies one such code base developed at Ericsson AB, that is a vital piece of software for our infrastructure. With an increased need for quality in software, it is important that we have quantifiable metrics that can be used to steer the development of software in a direction that leads to fewer faults. We look at the software metrics cyclomatic complexity and variations of code coverageand analyse how these metrics correlate to faults in the code. We find that code coverage has a weak negative correlation at best, but can have a weak positive correlation at worst (such that faults increase as coverage increases). The cyclomatic complexity metric has not been found to have any correlation at all to software faults.

Place, publisher, year, edition, pages
2015. , 30 p.
National Category
Computer Science
URN: urn:nbn:se:liu:diva-119748ISRN: LIU-IDA/LITH-EX-G--15/012--SEOAI: diva2:826710
External cooperation
Ericsson AB
Subject / course
Computer Engineering
Available from: 2015-06-29 Created: 2015-06-25 Last updated: 2015-06-29Bibliographically approved

Open Access in DiVA

fulltext(534 kB)92 downloads
File information
File name FULLTEXT01.pdfFile size 534 kBChecksum SHA-512
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Persson, Simon
By organisation
Department of Computer and Information ScienceFaculty of Science & Engineering
Computer Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 92 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 450 hits
ReferencesLink to record
Permanent link

Direct link