A Fault Localization Method Based on Similarity Weighting with Unlabeled Test Cases

  • Xunli Yang
  • , Bin Liu*
  • , Dong An
  • , Wandong Xie
  • , Wei Wu
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

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.

Original languageEnglish
Title of host publicationProceedings - 2022 IEEE 22nd International Conference on Software Quality, Reliability and Security Companion, QRS-C 2022
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages368-374
Number of pages7
ISBN (Electronic)9798350319910
DOIs
StatePublished - 2022
Event22nd IEEE International Conference on Software Quality, Reliability and Security Companion, QRS-C 2022 - Virtual, Online, China
Duration: 5 Dec 20229 Dec 2022

Publication series

NameProceedings - 2022 IEEE 22nd International Conference on Software Quality, Reliability and Security Companion, QRS-C 2022

Conference

Conference22nd IEEE International Conference on Software Quality, Reliability and Security Companion, QRS-C 2022
Country/TerritoryChina
CityVirtual, Online
Period5/12/229/12/22

Keywords

  • Fault localization
  • Filter
  • Similarity weighting
  • Test oracle
  • Unlabeled test cases

Fingerprint

Dive into the research topics of 'A Fault Localization Method Based on Similarity Weighting with Unlabeled Test Cases'. Together they form a unique fingerprint.

Cite this