概要: Software testing plays an essential role in software quality assurance. It helps developers to reveal and remove bugs in software. Test coverage, such as statement and branch coverage, is widely known and used in software testing. Developers often use test coverage to measure the sufficiency of tests, to find untested statements, and to localize a faulty statement. In recent years, many researchers have proposed novel metrics for measuring test coverage of source code. However, because such novel coverage metrics are not organized, it is impossible to understand and compare the benefits and limitations of each metric. This paper organizes the characteristics of each coverage metric by surveying a body of 80 papers that propose coverage metrics. The survey results showed that the proposed metrics could be divided into two main groups: (1) metrics that improve or complement traditional coverage and (2) metrics that are effective in specific domains, such as concurrent programming. We also identified the characteristics of each metric, such as effective domains, information needed to measure coverage, and granularity of measurement. Furthermore, we provide a catalog of coverage metrics to help developers and researchers select the best metrics for their context.
タグ: coverage, literature, metrics, review, test
@mastersthesis{谷口真幸2023a,
author = {谷口 真幸},
title = {A Literature Review of Test Coverage Metrics},
school = {大阪大学},
year = {2023},
month = {feb}
}