Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
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
Identifiers
URN: urn:nbn:se:liu:diva-119748ISRN: LIU-IDA/LITH-EX-G--15/012--SEOAI: oai:DiVA.org:liu-119748DiVA: 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)130 downloads
File information
File name FULLTEXT01.pdfFile size 534 kBChecksum SHA-512
27ee9e0b623ed9a2752b6dab85287403fc5d860021354db6de780db29b2b4b51a82849a9a7088c7e90e614f1df2d414ca8ed8c776fb6de21b3caf19ac01f3c89
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: 130 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

urn-nbn

Altmetric score

urn-nbn
Total: 748 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf