Not logged in.

Contribution Details

Type Journal Article
Scope Discipline-based scholarship
Title Lightweight Assessment of Test-Case Effectiveness using Source-Code-Quality Indicators
Organization Unit
Authors
  • Giovanni Grano
  • Fabio Palomba
  • Harald Gall
Item Subtype Original Work
Refereed Yes
Status Published in final form
Language
  • English
Journal Title IEEE Transactions on Pattern Analysis and Machine Intelligence
Publisher Institute of Electrical and Electronics Engineers
Geographical Reach international
ISSN 0098-5589
Volume 47
Number 4
Page Range 758 - 774
Date 2021
Abstract Text Test cases are crucial to help developers preventing the introduction of software faults. Unfortunately, not all the tests are properly designed or can effectively capture faults in production code. Some measures have been defined to assess test-case effectiveness: the most relevant one is the mutation score, which highlights the quality of a test by generating the so-called mutants, ie variations of the production code that make it faulty and that the test is supposed to identify. However, previous studies revealed that mutation analysis is extremely costly and hard to use in practice. The approaches proposed by researchers so far have not been able to provide practical gains in terms of mutation testing efficiency. This leaves the problem of efficiently assessing test-case effectiveness as still open. In this paper, we investigate a novel, orthogonal, and lightweight methodology to assess test-case effectiveness: in particular, we study the feasibility to exploit production and test-code-quality indicators to estimate the mutation score of a test case. We firstly select a set of 67 factors and study their relation with test-case effectiveness. Then, we devise a mutation score estimation model exploiting such factors and investigate its performance as well as its most relevant features. The key results of the study reveal that our estimation model only based on static features has 86% of both F-Measure and AUC-ROC. This means that we can estimate the test-case effectiveness, using source-code-quality indicators, with high accuracy and without executing the tests. As a consequence, we can provide a practical approach that is beyond the typical limitations of current mutation testing techniques.
Free access at DOI
Related URLs
Digital Object Identifier 10.1109/TSE.2019.2903057
Other Identification Number merlin-id:17661
PDF File Download from ZORA
Export BibTeX
EP3 XML (ZORA)
Additional Information © 2019 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.