TY - GEN
T1 - A Fault Localization Method Based on Similarity Weighting with Unlabeled Test Cases
AU - Yang, Xunli
AU - Liu, Bin
AU - An, Dong
AU - Xie, Wandong
AU - Wu, Wei
N1 - Publisher Copyright:
© 2022 IEEE.
PY - 2022
Y1 - 2022
N2 - In software fault localization problems, existing fault localization algorithms usually rely heavily on the perfection of test oracle. But in practice, there are a large number of test cases that lack accurate execution results. In order to utilize on unlabeled test cases, many test prediction and use case filter methods have been proposed. However, these methods ignore the similarity between test cases, which has been proven effective in fault localization studies using labeled test cases. Therefore, this paper proposes a fault localization method based on similarity weighting with unlabeled test cases. It uses the similarity of unlabeled test cases filtered by information entropy and labeled failed test cases as weights, and weights the suspicion calculation coefficients to enhance the importance of use cases similar to the failed cases. The experimental results show that similarity weighting effectively improves fault localization efficiency on all three program sets and all three localization algorithms. It can be seen that similarity of use case information also has an important role in the use of unlabeled test cases.
AB - In software fault localization problems, existing fault localization algorithms usually rely heavily on the perfection of test oracle. But in practice, there are a large number of test cases that lack accurate execution results. In order to utilize on unlabeled test cases, many test prediction and use case filter methods have been proposed. However, these methods ignore the similarity between test cases, which has been proven effective in fault localization studies using labeled test cases. Therefore, this paper proposes a fault localization method based on similarity weighting with unlabeled test cases. It uses the similarity of unlabeled test cases filtered by information entropy and labeled failed test cases as weights, and weights the suspicion calculation coefficients to enhance the importance of use cases similar to the failed cases. The experimental results show that similarity weighting effectively improves fault localization efficiency on all three program sets and all three localization algorithms. It can be seen that similarity of use case information also has an important role in the use of unlabeled test cases.
KW - Fault localization
KW - Filter
KW - Similarity weighting
KW - Test oracle
KW - Unlabeled test cases
UR - https://www.scopus.com/pages/publications/85152624363
U2 - 10.1109/QRS-C57518.2022.00061
DO - 10.1109/QRS-C57518.2022.00061
M3 - 会议稿件
AN - SCOPUS:85152624363
T3 - Proceedings - 2022 IEEE 22nd International Conference on Software Quality, Reliability and Security Companion, QRS-C 2022
SP - 368
EP - 374
BT - Proceedings - 2022 IEEE 22nd International Conference on Software Quality, Reliability and Security Companion, QRS-C 2022
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 22nd IEEE International Conference on Software Quality, Reliability and Security Companion, QRS-C 2022
Y2 - 5 December 2022 through 9 December 2022
ER -