Are Some Refactorings Attached to Fault-Prone Classes and Others to Fault-Free Classes?

TONELLI, ROBERTO;MARCHESI, MICHELE;
2014-01-01

Abstract

A topical and relevant issue in the area of refactoring is the nature and characteristics of classes to which refactorings are applied. In particular, if we scrutinise the total set of refactorings applied to the classes of a system over different releases, which refactorings are applied to fault-prone classes and which to fault-free classes? In this paper, we explore that facet of refactoring. Refactorings applied between six releases of three Eclipse packages are used as a basis of the study and the Ref-Finder tool used to extract up to sixty-five different refactorings. Interestingly, results showed that refactorings applied to highly fault-prone classes differed significantly from those applied to fault-free classes, in particular related to the ‘rename method’ refactoring; a corresponding trend for the ‘move method’ and ‘move field’ refactoring was found in ‘fault-free’ classes over the period while the add and remove parameter refactorings tended to remain constant. The research offers an insight into refactoring behaviour in light of faults (or no faults).
2014
Inglese
Agile Methods. Large-Scale Development, Refactoring, Testing, and Estimation
978-3-319-14358-3
Springer International Publishing Switzerland
199
136
147
12
http://link.springer.com/chapter/10.1007/978-3-319-14358-3_12
XP2014
26/05/2014
Roma
internazionale
Refactoring; Faults; Renaming
4 Contributo in Atti di Convegno (Proceeding)::4.1 Contributo in Atti di convegno
Counsell, S; Swift, S; Murgia, A; Tonelli, Roberto; Marchesi, Michele; Concas, G.
273
6
4.1 Contributo in Atti di convegno
none
info:eu-repo/semantics/conferencePaper
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Questionario e social

Condividi su:
Impostazioni cookie