dc.contributor.author | Ekdahl, Mattias | |
dc.contributor.author | Engström, Simon | |
dc.date.accessioned | 2022-09-28T10:01:37Z | |
dc.date.available | 2022-09-28T10:01:37Z | |
dc.date.issued | 2022-09-28 | |
dc.identifier.uri | https://hdl.handle.net/2077/73704 | |
dc.description.abstract | Software test metrics are often compared
with one another to find the most accurate predictor of test
quality, however little is written about the connections between
types of metrics. Moreover, open-source software is more commonly
used to extract these test metrics, but the issues researchers
face when attempting to use them is under-reported. [Objective]
This paper aims to investigate the correlation between coverage,
mutation and diversity-based test metrics, as well as to describe
the challenges involved in automating the use of test quality
metric extraction tools. [Method] We conducted an MSR study
on 22 open-source software repositories from Github which were
mined in order to extract test quality metrics. To do this we
developed a tool which combined several metric extraction tools
to provide code coverage, mutation coverage and average test
suite diversity values. [Results] The challenges we faced when
conducting this MSR study stemmed mostly from trying to
automate the test quality metric extraction process, such as
finding repositories that were compatible with all of our metric
extraction tools, Maven plugins interfering, costly execution time
and tools not working out of the box.We then applied Spearman’s
Rho to calculate the correlation between the metrics. [Conclusion]
Our results show that code coverage, mutation coverage and test
suite diversity all have a positive correlation with each other. We
also found that automating the extraction of test metrics limited
the availability of repositories due to stricter requirements. | en_US |
dc.language.iso | eng | en_US |
dc.subject | test quality metrics | en_US |
dc.subject | mutation testing | en_US |
dc.subject | mining software repositories | en_US |
dc.subject | code coverage | en_US |
dc.subject | test diversity | en_US |
dc.title | Mining and comparing software testing metrics and evaluating the use of different test quality metric tools | en_US |
dc.title.alternative | Mining and comparing software testing metrics and evaluating the use of different test quality metric tools | en_US |
dc.type | text | |
dc.setspec.uppsok | Technology | |
dc.type.uppsok | M2 | |
dc.contributor.department | Göteborgs universitet/Institutionen för data- och informationsteknik | swe |
dc.contributor.department | University of Gothenburg/Department of Computer Science and Engineering | eng |
dc.type.degree | Student essay | |