Effectively Combining Risk Evaluation Metrics for Precise Fault Localization
Open Access
- 22 October 2022
- journal article
- research article
- Published by MDPI AG in Mathematics
- Vol. 10 (21) , 3924
Abstract
Spectrum-based fault localization (SBFL) is an automated fault localization technique that uses risk evaluation metrics to compute the suspiciousness scores from program spectra. Thus, risk evaluation metrics determine the technique’s performance. However, the existing experimental studies still show no optimal metric for different program structures and error types. It is possible to further optimize SBFL’s performance by combining different metrics. Therefore, this paper effectively explores the combination of risk evaluation metrics for precise fault localization. Based on extensive experiments using 92 faults from SIR and 357 faults from Defects4J repositories, we highlight what and which risk evaluation metrics to combine to maximize the efficiency and accuracy of fault localization. The experimental results show that combining risk evaluation metrics with high negative correlation values can improve fault localization effectiveness. Similarly, even though the combination of positively correlated effective risk evaluation metrics can outperform most negatively correlated non-effective ones, it still cannot improve the fault localization effectiveness. Furthermore, low-correlated risk evaluation metrics should also be considered for fault localization. The study concluded that getting highly negatively correlated risk evaluation metrics is almost impossible. The combination of such risk evaluation metrics would improve fault localization accuracy.Keywords
Funding Information
- Natural Science Foundation of Zhejiang Province (LY22F020019)
- Zhejiang science and technology plan project (2022C01045)
- Natural Science Foundation of China (62132014, 61101111)
This publication has 47 references indexed in Scilit:
- Fault Localization Analysis Based on Deep Neural NetworkMathematical Problems in Engineering, 2016
- Defects4J: a database of existing faults to enable controlled testing studies for Java programs2014
- Provably Optimal and Human-Competitive Results in SBSE for Spectrum Based Fault Localisation2013
- Evolving Human Competitive Spectra-Based Fault Localisation Techniques2012
- A model for spectra-based software diagnosisACM Transactions on Software Engineering and Methodology, 2011
- A practical evaluation of spectrum-based fault localizationJournal of Systems and Software, 2009
- Scalable statistical bug isolationACM SIGPLAN Notices, 2005
- Dynamically discovering likely program invariants to support program evolutionIEEE Transactions on Software Engineering, 2001
- Dominance statistics: Ordinal analyses to answer ordinal questions.Psychological Bulletin, 1993
- Zoogeographical Studies on the Soleoid Fishes Found in Japan and its Neighhouring Regions-IINIPPON SUISAN GAKKAISHI, 1957