UNI-MB - logo
UMNIK - logo
 
E-resources
Peer reviewed Open access
  • The Relation of Test-Relate...
    Pecorelli, Fabiano; Palomba, Fabio; De Lucia, Andrea

    Empirical software engineering, 03/2021, Volume: 26, Issue: 2
    Journal Article

    Testing represents a crucial activity to ensure software quality. Recent studies have shown that test-related factors (e.g., code coverage) can be reliable predictors of software code quality, as measured by post-release defects. While these studies provided initial compelling evidence on the relation between tests and post-release defects, they considered different test-related factors separately: as a consequence, there is still a lack of knowledge of whether these factors are still good predictors when considering all together. In this paper, we propose a comprehensive case study on how test-related factors relate to production code quality in Apache systems. We first investigated how the presence of tests relates to post-release defects; then, we analyzed the role played by the test-related factors previously shown as significantly related to post-release defects. The key findings of the study show that, when controlling for other metrics (e.g., size of the production class), test-related factors have a limited connection to post-release defects.