Kernel-based Detection of Coincidentally Correct Test Cases to Improve Fault Localization Effectiveness

03/25/2018
by   Farid Feyzi, et al.
0

Although empirical studies have confirmed the effectiveness of spectrum-based fault localization (SBFL) techniques, their performance may be degraded due to presence of some undesired circumstances such as the existence of coincidental correctness (CC) where one or more passing test cases exercise a faulty statement and thus causing some confusion to decide whether the underlying exercised statement is faulty or not. This article aims at improving SBFL effectiveness by mitigating the effect of CC test cases. In this regard, a new method is proposed that uses a support vector machine (SVM) with a customized kernel function. To build the kernel function, we applied a new sequence-matching algorithm that measures the similarities between passing and failing executions. We conducted some experiments to assess the proposed method. The results show that our method can effectively improve the performance of SBFL techniques.

READ FULL TEXT
research
06/14/2020

Detection of Coincidentally Correct Test Cases through Random Forests

The performance of coverage-based fault localization greatly depends on ...
research
04/18/2020

Improving The Effectiveness of Automatically Generated Test Suites Using Metamorphic Testing

Automated test generation has helped to reduce the cost of software test...
research
03/12/2023

Mitigating the Effect of Class Imbalance in Fault Localization Using Context-aware Generative Adversarial Network

Fault localization (FL) analyzes the execution information of a test sui...
research
04/14/2021

Human-in-the-Loop Fault Localisation Using Efficient Test Prioritisation of Generated Tests

Many existing fault localisation techniques become less effective or eve...
research
11/21/2022

Variable-Based Fault Localization via Enhanced Decision Tree

Fault localization, aiming at localizing the root cause of the bug under...
research
08/25/2021

Method Calls Frequency-Based Tie-Breaking Strategy For Software Fault Localization

In Spectrum-Based Fault Localization (SBFL), a suspiciousness score is a...
research
08/16/2022

Machine Learning-Based Test Smell Detection

Context: Test smells are symptoms of sub-optimal design choices adopted ...

Please sign up or login with your details

Forgot password? Click here to reset