AutoSpearman: Automatically Mitigating Correlated Metrics for Interpreting Defect Models
Not on the map. Why?
Abstract (arXiv)
The interpretation of defect models heavily relies on software metrics that are used to construct them. However, such software metrics are often correlated to defect models. Prior work often uses feature selection techniques to remove correlated metrics in order to improve the performance of defect models. Yet, the interpretation of defect models may be misleading if feature selection techniques produce subsets of inconsistent and correlated metrics. In this paper, we investigate the consistency and correlation of the subsets of metrics that are produced by nine commonly-used feature selection techniques. Through a case study of 13 publicly-available defect datasets, we find that feature selection techniques produce inconsistent subsets of metrics and do not mitigate correlated metrics, suggesting that feature selection techniques should not be used and correlation analyses must be applied when the goal is model interpretation. Since correlation analyses often involve manual selection of metrics by a domain expert, we introduce AutoSpearman, an automated metric selection approach based on correlation analyses. Our evaluation indicates that AutoSpearman yields the highest consistency of subsets of metrics among training samples and mitigates correlated metrics, while impacting model performance by 1-2%pts. Thus, to automatically mitigate correlated metrics when interpreting defect models, we recommend future studies use AutoSpearman in lieu of commonly-used feature selection techniques.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 26 Jun 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 0; 2024: 1; 2025: 0; 2026: 1.
4 papers.
- 2022The impact of feature importance methods on the interpretation of defect classifierscited by 12
- 2024Towards Reliable Evaluation of Neural Program Repair with Natural Robustness Testingcited by 5
- 2021SQAPlanner: Generating Data-Informed Software Quality Improvement Planscited by 4
- 2026Will It Survive? Deciphering the Fate of AI-Generated Code in Open Sourcecited by 3
- 2026Will It Survive? Deciphering the Fate of AI-Generated Code in Open Source23 Jan 2026
- 2024Towards Reliable Evaluation of Neural Program Repair with Natural Robustness Testing19 Feb 2024
- 2022The impact of feature importance methods on the interpretation of defect classifiers4 Feb 2022
- 2021SQAPlanner: Generating Data-Informed Software Quality Improvement Plans19 Feb 2021