DocumentCode
176209
Title
On the Impact of Refactoring Operations on Code Quality Metrics
Author
Chaparro, Oscar ; Bavota, Gabriele ; Marcus, Andrian ; Di Penta, Massimiliano
Author_Institution
Univ. of Texas at Dallas, Richardson, TX, USA
fYear
2014
fDate
Sept. 29 2014-Oct. 3 2014
Firstpage
456
Lastpage
460
Abstract
Refactorings are behavior-preserving source code transformations. While tool support exists for (semi) automatically identifying refactoring solutions, applying or not a recommended refactoring is usually up to the software developers, who have to assess the impact that the transformation will have on their system. Evaluating the pros (e.g., the bad smell removal) and cons (e.g., side effects of the change) of a refactoring is far from trivial. We present RIPE (Refactoring Impact Prediction), a technique that estimates the impact of refactoring operations on source code quality metrics. RIPE supports 12 refactoring operations and 11 metrics and it can be used together with any refactoring recommendation tool. RIPE was used to estimate the impact on 8,103 metric values, for 504 refactorings from 15 open source systems. 38% of the estimates are correct, whereas the median deviation of the estimates from the actual values is 5% (with a 31% average).
Keywords
public domain software; software metrics; software quality; source code (software); RIPE supports; behavior-preserving source code transformations; open source systems; refactoring impact prediction; refactoring operations; refactoring recommendation tool; refactoring solutions; software developers; source code quality metrics; Accuracy; Complexity theory; Couplings; Equations; Gettering; Measurement; Software; Code Quality; Refactoring Impact;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance and Evolution (ICSME), 2014 IEEE International Conference on
Conference_Location
Victoria, BC
ISSN
1063-6773
Type
conf
DOI
10.1109/ICSME.2014.73
Filename
6976117
Link To Document