Hidden Truths in Dead Software Paths

4 years 3 months ago
Hidden Truths in Dead Software Paths
Approaches and techniques for statically finding a multitude of issues in source code have been developed in the past. A core property of these approaches is that they are usually targeted towards finding only a very specific kind of issue and that the effort to develop such an analysis is significant. This strictly limits the number of kinds of issues that can be detected. In this paper, we discuss a generic approach based on the detection of infeasible paths in code that can discover a wide range of code smells ranging from useless code that hinders comprehension to real bugs. Code issues are identified by calculating the difference between the control-flow graph that contains all technically possible edges and the corresponding graph recorded while performing a more precise using abstract interpretation. We have evaluated the approach using the Java Development Kit as well as the Qualitas Corpus (a curated collection of over 100 Java Applications) and were able to find tho...
Michael Eichberg, Ben Hermann, Mira Mezini, Leonid
Added 09 Apr 2016
Updated 09 Apr 2016
Type Journal
Year 2016
Where SE
Authors Michael Eichberg, Ben Hermann, Mira Mezini, Leonid Glanz
Comments (0)