Mining and comparing software testing metrics and evaluating the use of different test quality metric tools

Ekdahl, Mattias
Engström, Simon
Göteborgs universitet/Institutionen för data- och informationsteknikswe
University of Gothenburg/Department of Computer Science and Engineeringeng
2022-09-28T10:01:37Z
2022-09-28T10:01:37Z
2022-09-28
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
https://hdl.handle.net/2077/73704
engen
Technology
test quality metricsen
mutation testingen
mining software repositoriesen
code coverageen
test diversityen
Mining and comparing software testing metrics and evaluating the use of different test quality metric toolsen
Mining and comparing software testing metrics and evaluating the use of different test quality metric toolsen
text
Student essay
M2

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
CSE 22-21 Ekdahl Engström.pdf
Size:
730.64 KB
Format:
Adobe Portable Document Format
Description:

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
876 B
Format:
Item-specific license agreed upon to submission
Description: