TFIDF-FL: Localizing Faults Using Term Frequency-Inverse Document Frequency and Deep Learning.

Zhuo Zhang,Yan Lei,Jianjun Xu,Xiaoguang Mao,Xi Chang
DOI: https://doi.org/10.1587/transinf.2018edl8237
2019-01-01
IEICE Transactions on Information and Systems
Abstract:Existing fault localization based on neural networks utilize the information of whether a statement is executed or not executed to identify suspicious statements potentially responsible for a failure. However, the information just shows the binary execution states of a statement, and cannot show how important a statement is in executions. Consequently, it may degrade fault localization effectiveness. To address this issue, this paper proposes TFIDF-FL by using term frequency-inverse document frequency to identify a high or low degree of the influence of a statement in an execution. Our empirical results on 8 real-world programs show that TFIDF-FL significantly improves fault localization effectiveness.
What problem does this paper attempt to address?