The impact of coverage on bug density in a large industrial software project

Measuring quality of test suites is one of the major challenges of software testing. Code coverage identifies tested and untested parts of code and is frequently used to approximate test suite quality. Multiple previous studies have investigated the relationship between coverage ratio and test suite...

Full description

Saved in:
Bibliographic Details
Main Authors: BACH, Thomas, ANDRZEJAK, Artur, PANNEMANS, Ralf, LO, David
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2017
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/3913
https://ink.library.smu.edu.sg/context/sis_research/article/4915/viewcontent/The_impact_of_coverage_on_bug_density_in_a_large_industrial_softw.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-4915
record_format dspace
spelling sg-smu-ink.sis_research-49152018-11-09T08:38:00Z The impact of coverage on bug density in a large industrial software project BACH, Thomas ANDRZEJAK, Artur PANNEMANS, Ralf LO, David Measuring quality of test suites is one of the major challenges of software testing. Code coverage identifies tested and untested parts of code and is frequently used to approximate test suite quality. Multiple previous studies have investigated the relationship between coverage ratio and test suite quality, without a clear consent in the results. In this work we study whether covered code contains a smaller number of future bugs than uncovered code (assuming appropriate scaling). If this correlation holds and bug density is lower in covered code, coverage can be regarded as a meaningful metric to estimate the adequacy of testing. To this end we analyse 16000 internal bug reports and bug-fixes of SAP HANA, a large industrial software project. We found that the above-mentioned relationship indeed holds, and is statistically significant. Contrary to most previous works our study uses real bugs and real bug-fixes. Furthermore, our data is derived from a complex and large industrial project. 2017-11-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/3913 info:doi/10.1109/ESEM.2017.44 https://ink.library.smu.edu.sg/context/sis_research/article/4915/viewcontent/The_impact_of_coverage_on_bug_density_in_a_large_industrial_softw.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University software quality coverage bug density large real world project industry project empirical research Programming Languages and Compilers Software Engineering
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic software quality
coverage
bug density
large real world project
industry project
empirical research
Programming Languages and Compilers
Software Engineering
spellingShingle software quality
coverage
bug density
large real world project
industry project
empirical research
Programming Languages and Compilers
Software Engineering
BACH, Thomas
ANDRZEJAK, Artur
PANNEMANS, Ralf
LO, David
The impact of coverage on bug density in a large industrial software project
description Measuring quality of test suites is one of the major challenges of software testing. Code coverage identifies tested and untested parts of code and is frequently used to approximate test suite quality. Multiple previous studies have investigated the relationship between coverage ratio and test suite quality, without a clear consent in the results. In this work we study whether covered code contains a smaller number of future bugs than uncovered code (assuming appropriate scaling). If this correlation holds and bug density is lower in covered code, coverage can be regarded as a meaningful metric to estimate the adequacy of testing. To this end we analyse 16000 internal bug reports and bug-fixes of SAP HANA, a large industrial software project. We found that the above-mentioned relationship indeed holds, and is statistically significant. Contrary to most previous works our study uses real bugs and real bug-fixes. Furthermore, our data is derived from a complex and large industrial project.
format text
author BACH, Thomas
ANDRZEJAK, Artur
PANNEMANS, Ralf
LO, David
author_facet BACH, Thomas
ANDRZEJAK, Artur
PANNEMANS, Ralf
LO, David
author_sort BACH, Thomas
title The impact of coverage on bug density in a large industrial software project
title_short The impact of coverage on bug density in a large industrial software project
title_full The impact of coverage on bug density in a large industrial software project
title_fullStr The impact of coverage on bug density in a large industrial software project
title_full_unstemmed The impact of coverage on bug density in a large industrial software project
title_sort impact of coverage on bug density in a large industrial software project
publisher Institutional Knowledge at Singapore Management University
publishDate 2017
url https://ink.library.smu.edu.sg/sis_research/3913
https://ink.library.smu.edu.sg/context/sis_research/article/4915/viewcontent/The_impact_of_coverage_on_bug_density_in_a_large_industrial_softw.pdf
_version_ 1770573934438121472