Back to Search Start Over

A Similarity-Based Approach to Identify and Manipulate Coincidental Correct Test Cases for Fault Localization.

Authors :
ESTESNAEI, MOHAMMAD MAHDI
ARABAN, SAEED
HARATI, AHAD
Source :
Journal of Information Science & Engineering; Nov2024, Vol. 40 Issue 6, p1297-1320, 24p
Publication Year :
2024

Abstract

Spectrum-based fault localization (SBFL) is one of the most popular fault localization techniques that uses coverage information and test results to calculate a suspicious score for every program statement. The effectiveness of SBFL suffers from the occurrences of coincidental correctness, which occurs when a fault is executed but no failure is detected. Identifying coincidental correct (CC) test cases can be modeled as a classification problem. Except in exceptional cases, proven identification of CC tests is not possible, so instead of using 0/1 results, we propose a similarity-based approach to identify CC test cases. A strategy is suggested to manipulate CC test cases for SBFL. In the first step, a low-cost computational method is proposed to identify CC test cases based on the similarity of the passed executions to the failed ones. Then, we proposed new similarity measures based on the original ones (such as Jaccard similarity and Euclidean distance) and presented a method to identify proven CC. Finally, a weighted CC test case manipulation strategy is proposed to mitigate the negative impact of CC test cases in SBFL. We evaluated the proposed method by conducting extensive experiments on 443 faulty versions of 13 popular subject programs, containing artificial and real faults. The results show that the proposed method can improve the accuracy of SBFL techniques with a very low computational cost. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
10162364
Volume :
40
Issue :
6
Database :
Supplemental Index
Journal :
Journal of Information Science & Engineering
Publication Type :
Academic Journal
Accession number :
180760994
Full Text :
https://doi.org/10.6688/JISE.202411_40(6).0009