Fault Localization Using TrustRank Algorithm
Source abstract
Abstract
Spectrum-based fault localization (SBFL), a widely recognized technique in automated fault localization, has limited effectiveness due to its disregard for the internal information of the program under test suites. To overcome this limitation, a novel TrustRank-based fault localization (TRFL) technique is introduced. TRFL enhances traditional SBFL by incorporating internal data dependencies of the program under the test suite, thereby providing a more comprehensive analysis. It constructs a node-weighted program execution network and employs the TrustRank algorithm to analyze network centrality and re-rank program entities based on their suspiciousness. Furthermore, a bidirectional TrustRank algorithm (Bi-TRFL) is extended that takes into account the influence relationship between network nodes for more accurate fault localization. When applied to large-scale datasets with real faults, such as Defects4J, TRFL, and Bi-TRFL, it significantly outperforms traditional SBFL methods in fault localization. They demonstrate up to 40% and 13% improvement in Top-1 and Top-5 rankings, respectively, proving their robustness and efficiency with minimal sensitivity to related parameters.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Software System Performance and Reliability · Software Testing and Debugging Techniques · Software Engineering Research
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
College of Aerospace Engineering, Nanjing University of Aeronautics and Astronautics, Nanjing 210016, China
School of Software, Nanchang Hangkong University, Nanchang 330063, China
Software Testing and Evaluation Center, Nanchang Hangkong University, Nanchang 330063, China
Funding
The National Natural Science Foundation of China · the Youth Fund of the National Natural Science Foundation of China
References (37)
Show source-provided references
1. The Economic Impacts of Inadequate Infrastructure for Software Testing
2. Pearson, S., Campos, J., Just, R., Fraser, G., Abreu, R., Ernst, M.D., Pang, D., and Keller, B. (2017, January 20–28). Evaluating and improving fault localization. Proceedings of the 2017 IEEE/ACM 39th International Conference on Software Engineering (ICSE), IEEE 2017, Buenos Aires, Argentina.10.1109/ICSE.2017.62 ↗
3. PAFL: Probabilistic Automaton-based Fault Localization for Recurrent [4] Neural Networks10.1016/j.infsof.2022.107117 ↗
4. An empirical study of fault localization families and their combinations10.1109/TSE.2019.2892102 ↗
5. Jones, J.A., Harrold, M.J., and Stasko, J. (2002, January 19–25). Visualization of test information to assist fault localization. Proceedings of the 24th International Conference on Software Engineering, Orlando, FL, USA.10.1145/581396.581397 ↗
6. A theoretical analysis of the risk evaluation formulas for spectrum-based fault localization10.1145/2522920.2522924 ↗
7. Xie, X., Kuo, F.C., Chen, T.Y., Yoo, S., and Harman, M. (2013, January 24–26). Provably optimal and human-competitive results in sbse for spectrum based fault localization. Proceedings of the International Symposium on Search Based Software Engineering, St. Petersburg, Russia.10.1007/978-3-642-39742-4_17 ↗
8. Metallaxis-FL: Mutation-based fault localization10.1002/stvr.1509 ↗
9. Hmer: A hybrid mutation execution reduction approach for mutation-based fault localization10.1016/j.jss.2020.110661 ↗
10. Reis, S., Abreu, R., and d’Amorim, M. (2019, January 10–16). Demystifying the Combination of Dynamic Slicing and Spectrum-based Fault Localization. Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI-19), Macao.10.24963/ijcai.2019/661 ↗
11. The improved dynamic slicing for spectrum-based fault localization10.7717/peerj-cs.1071 ↗
12. Le, T.D.B., Lo, D., Le Goues, C., and Grunske, L. (2016, January 18–20). A learning-to-rank based fault localization approach using likely invariants. Proceedings of the 25th International Symposium on Software Testing and Analysis, Saarbrucken, Germany.10.1145/2931037.2931049 ↗
13. Widyasari, R., Prana, G.A.A., Haryono, S.A., Tian, Y., Zachiary, H.N., and Lo, D. (2022, January 16–17). XAI4FL: Enhancing spectrum-based fault localization with explainable artificial intelligence. Proceedings of the 30th IEEE/ACM International Conference on Program Comprehension, Pittsburgh, PA, USA.10.1145/3524610.3527902 ↗
14. Lemos Ribeiro, H., Amario de Souza, H., de Andrioli Araujo, R.P., Lordello Chaim, M., and Kon, F. (2019, January 19–20). Evaluating data-flow coverage in spectrum-based fault localization. Proceedings of the 2019 ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM), IEEE, Porto de Galinhas, Brazil.10.1109/ESEM.2019.8870182 ↗
15. A survey of challenges in spectrum-based software fault localization10.1109/ACCESS.2022.3144079 ↗
16. Laghari, G., and Demeyer, S. (2018, January 9–13). On the Use of Sequence Mining within Spectrum Based Fault Localisation. Proceedings of the Acm/Sigapp Symposium on Applied Computing, ACM, Pau, France.10.1145/3167132.3167337 ↗
17. Renieres, M., and Reiss, S.P. (2003, January 6–10). Fault localization with nearest neighbor queries. Proceedings of the 18th IEEE International Conference on Automated Software Engineering, Montreal, QC, Canada.
18. Laghari, G., Murgia, A., and Demeyer, S. (2016, January 3–6). Fine-tuning spectrum based fault localisation with frequent method item sets. Proceedings of the 31st IEEE/ACM International Conference on Automated Software Engineering, Singapore.10.1145/2970276.2970308 ↗
19. Jazayeri, M., and Schauer, H. (1997). Software Engineering—ESEC/FSE’97. ESEC SIGSOFT FSE 1997, Springer. Lecture Notes in Computer Science.10.1007/3-540-63531-9 ↗
20. Chen, M.Y., Kiciman, E., Fratkin, E., Fox, A., and Brewer, E. (2002, January 23–26). Pinpoint: Problem determination in large, dynamic internet services. Proceedings of the International Conference on Dependable Systems and Networks, IEEE, Washington, DC, USA.
21. A practical evaluation of spectrum-based fault localization10.1016/j.jss.2009.06.035 ↗
22. A model for spectra-based software diagnosis10.1145/2000791.2000795 ↗
23. The DStar method for effective software fault localization10.1109/TR.2013.2285319 ↗
24. No pot of gold at the end of program spectrum rainbow: Greatest risk evaluation formula does not exist
25. Xie, H., Lei, Y., Yan, M., Yu, Y., Xia, X., and Mao, X. (2022, January 22–24). A universal data augmentation approach for fault localization. Proceedings of the 44th International Conference on Software Engineering, Pittsburgh, PA, USA.10.1145/3510003.3510136 ↗
26. An empirical study of boosting spectrum-based fault localization via pagerank10.1109/TSE.2019.2911283 ↗
27. Matas, N. (2017). Comparing Network Centrality Measures as Tools for Identifying Key Concepts in Complex Networks: A Case of Wikipedia. J. Digit. Inf. Manag., 15.10.6025/jdim/2017/15/4/203-213 ↗
28. Calling network: A new method for modeling software runtime behaviors10.1145/2693208.2693223 ↗
29. Simultaneous localization of software faults based on complex network theory10.1109/ACCESS.2018.2829541 ↗
30. Fault localization using function call frequencies10.1016/j.jss.2022.111429 ↗
31. Fault centrality: Boosting spectrum-based fault localization via local influence calculation10.1007/s10489-021-02822-4 ↗
32. Gyöngyi, Z., Garcia-Molina, H., and Pedersen, J. (September, January 31). Combating web spam with trustrank. Proceedings of the Thirtieth International Conference on Very Large Data Bases, Toronto, BC, Canada.
33. Journal Evaluation Method Based on the Integration of Peer-Review Consensus and Bibliometric Indicators
34. Li, Y., and Zhang, S. (2020, January 28–31). A community discovery and TrustRank based approach for spammer ranking. Proceedings of the 2020 International Conference on Culture-oriented Science & Technology (ICCST), IEEE, Beijing, China.10.1109/ICCST50977.2020.00060 ↗
35. Just, R., Jalali, D., and Ernst, M.D. (2014, January 21–25). Defects4J: A database of existing faults to enable controlled testing studies for Java programs. Proceedings of the 2014 International Symposium on Software Testing and Analysis, San Jose, CA, USA.10.1145/2610384.2628055 ↗
36. Pearson, S., Campos, J., Just, R., Fraser, G., Abreu, R., Ernst, M.D., Pang, D., and Keller, B. (2016). Evaluating & Improving Fault Localization Techniques, University of Washington Department of Computer Science and Engineering. Tech. Rep. UW-CSE-16-08-03.
37. Kochhar, P.S., Xia, X., Lo, D., and Li, S. (2016, January 18–20). Practitioners’ expectations on automated fault localization. Proceedings of the 25th International Symposium on Software Testing and Analysis, Saarbrücken, Germany.10.1145/2931037.2931051 ↗