Title
Conditional-Based Refactorings and Fault-Proneness: An Empirical Study
Abstract
Recent empirical work has shown that some of the most frequently applied Java-based refactorings relate to the manipulation of code conditionals and flags. The logic of such code is often complex and difficult to test regressively. One open research issue thus relates to the fault-proneness profiles of classes where these refactorings have been applied, vis-a-vis refactorings on other classes. In this paper, we explore six releases of three Eclipse projects and the faults in the refactored classes of those releases. We explore four specific conditional-based refactorings and the supposition that: classes where these four refactorings have been applied will tend to have relatively higher fault incidences because of the inherent complexity of the embedded logic given by the constructs they operate on. Results showed that one of the four refactorings in particular had been applied to classes with higher fault profiles - the 'Replace Nested Conditional with Guard Clauses' refactoring. Some evidence that the 'Remove Control Flag' refactoring had also been applied to relatively highly fault-prone classes was found. Relative to other types of refactoring, the result thus suggests that these two effectively signpost fault-prone classes.
Year
DOI
Venue
2013
10.1109/ICSTW.2013.81
Software Testing, Verification and Validation Workshops
Keywords
DocType
ISSN
empirical study,signpost fault-prone class,higher fault profile,code conditional,vis-a-vis refactorings,java-based refactorings,higher fault incidence,conditional-based refactorings,eclipse project,specific conditional-based refactorings,embedded logic,fault-prone class,software maintenance,object oriented,java,refactoring,faults,market research,correlation,software fault tolerance,testing
Conference
2159-4848
ISBN
Citations 
PageRank 
978-1-4799-1324-4
3
0.42
References 
Authors
9
7
Name
Order
Citations
PageRank
Steve Counsell11732117.90
M. Gatrell290.93
R. Hierons330.42
A. Murgia4302.27
R. Tonelli523718.42
M. Marchesi616991.06
G. Concas730.42