A Comprehensive Study of Pseudo-tested Methods

07/13/2018
by   Oscar Luis Vera-Pérez, et al.
0

Pseudo-tested methods are defined as follows: they are covered by the test suite, yet no test case fails when the method body is removed, i.e., when all the effects of this method are suppressed. This intriguing concept was coined in 2016, by Niedermayr and colleagues, who showed that such methods are systematically present, even in well-tested projects with high statement coverage. This work presents a novel analysis of pseudo-tested methods. First, we run a replication of Niedermayr's study, enhancing its external validity thanks to the use of new tools and new study subjects. Second, we perform a systematic characterization of these methods, both quantitatively and qualitatively with an extensive manual analysis. The first part of the study confirms Niedermayr's results: pseudo-tested methods exist in all our subjects. Our in-depth characterization of pseudo-tested methods leads to two key insights: pseudo-tested methods are significantly less tested than the other methods; yet, for most of them, the developers would not pay the testing price to fix this situation. This calls for future work on targeted test generation to specify those pseudo-tested methods without spending developer time.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/15/2021

Extreme mutation testing in practice: An industrial case study

Mutation testing is used to evaluate the effectiveness of test suites. I...
research
01/23/2023

Eight-stage pseudo-symplectic Runge-Kutta methods of order (4, 8)

Using simplifying assumptions that are related to the time reversal symm...
research
04/12/2023

Pseudo-Kleene algebras determined by rough sets

We study the pseudo-Kleene algebras of the Dedekind-MacNeille completion...
research
11/07/2018

Descartes: A PITest Engine to Detect Pseudo-Tested Methods - Tool Demonstration

Descartes is a tool that implements extreme mutation operators and aims ...
research
10/10/2020

Deep Neural Network Test Coverage: How Far Are We?

DNN testing is one of the most effective methods to guarantee the qualit...
research
12/10/2020

Demystifying Pseudo-LiDAR for Monocular 3D Object Detection

Pseudo-LiDAR-based methods for monocular 3D object detection have genera...
research
01/01/2021

More than just an auxiliary loss: Anti-spoofing Backbone Training via Adversarial Pseudo-depth Generation

In this paper, a new method of training pipeline is discussed to achieve...

Please sign up or login with your details

Forgot password? Click here to reset