Detection of Coincidentally Correct Test Cases through Random Forests

06/14/2020
by   Shuvalaxmi Dass, et al.
0

The performance of coverage-based fault localization greatly depends on the quality of test cases being executed. These test cases execute some lines of the given program and determine whether the underlying tests are passed or failed. In particular, some test cases may be well-behaved (i.e., passed) while executing faulty statements. These test cases, also known as coincidentally correct test cases, may negatively influence the performance of the spectra-based fault localization and thus be less helpful as a tool for the purpose of automated debugging. In other words, the involvement of these coincidentally correct test cases may introduce noises to the fault localization computation and thus cause in divergence of effectively localizing the location of possible bugs in the given code. In this paper, we propose a hybrid approach of ensemble learning combined with a supervised learning algorithm namely, Random Forests (RF) for the purpose of correctly identifying test cases that are mislabeled to be the passing test cases. A cost-effective analysis of flipping the test status or trimming (i.e., eliminating from the computation) the coincidental correct test cases is also reported.

READ FULL TEXT

page 4

page 6

page 7

research
03/25/2018

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

Although empirical studies have confirmed the effectiveness of spectrum-...
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
06/28/2023

FuzzyFlow: Leveraging Dataflow To Find and Squash Program Optimization Bugs

The current hardware landscape and application scale is driving performa...
research
04/23/2023

Finding Failure-Inducing Test Cases with ChatGPT

Automatically detecting software failures is an important task and a lon...
research
11/21/2020

Dynamic Data Consistency Tests Using a CRUD Matrix as an Underlying Model

In testing of software and Internet of Things (IoT) systems, one of nece...
research
07/28/2021

Models of Computational Profiles to Study the Likelihood of DNN Metamorphic Test Cases

Neural network test cases are meant to exercise different reasoning path...
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...

Please sign up or login with your details

Forgot password? Click here to reset