TSE_2020.pdf (710.42 kB)
Download file

Better Prediction of Mutation Score

Download (710.42 kB)
posted on 2021-07-14, 14:30 authored by Yossi Gil, Dor Ma’ayanDor Ma’ayan

Mutation score is widely accepted to be a reliable measurement for the effectiveness of software tests. Recent studies, however, show that mutation analysis is extremely costly and hard to use in practice. We present a novel direct prediction model of mutation score using neural networks. Relying solely on static code features that do not require generation of mutants or execution of the tests, we predict mutation score with an accuracy better than a quintile. When we include statement coverage as a feature, our accuracy rises to about a decile. Using a similar approach, we also improve the state-of-the-art results for binary test effectiveness prediction and introduce an intuitive, easy-to-calculate set of features superior to previously studied sets. We also publish the largest dataset of test-class level mutation score and static code features data to date, for future research. Finally, we discuss how our approach could be integrated into real-world systems, IDEs, CI tools, and testing frameworks.


Email Address of Submitting Author

ORCID of Submitting Author


Submitting Author's Institution


Submitting Author's Country

  • Israel

Usage metrics