A Quality-oriented Approach to Recommend Move Method Refactorings - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year :

A Quality-oriented Approach to Recommend Move Method Refactorings


Refactoring is an important activity to improve software internal structure. Even though there are many refactoring approaches, very few consider their impact on the software quality. In this paper, we propose a software refactoring approach based on quality attributes. We rely on the measurements of the Quality Model for Object Oriented Design (QMOOD) to recommend Move Method refactorings that improve software quality. In a nutshell, given a software system S, our approach recommends a sequence of refactorings R1,R2,...,Rn that result in system versions S1, S2,..., Sn, where quality (Si+1) > quality (Si). We empirically calibrated our approach, using four systems, to find the best criteria to measure the quality improvement. We performed three types of evaluation to verify the usefulness of our implemented tool, named QMove. First, we applied our approach on 13 open-source systems achieving an average recall of 84.2%. Second, we compared QMove with two state-of-art refactoring tools (JMove and JDeodorant) on the 13 previously evaluated systems, and QMove showed better recall, precision, and f-score values than the others. Third, we evaluated QMove, JMove, and JDeodorant in a real scenario with two proprietary systems on the eyes of their software architects. As result, the experts positively evaluated a greater number of QMove recommendations.
Fichier principal
Vignette du fichier
2018_sbqs.pdf (1.07 Mo) Télécharger le fichier

Dates and versions

hal-01944493 , version 1 (05-12-2018)



Christian Marlon Souza Couto, Henrique Rocha, Ricardo Terra. A Quality-oriented Approach to Recommend Move Method Refactorings. Proceedings of the 17th Brazilian Symposium on Software Quality, Oct 2018, Curitiba, Brazil. ⟨10.1145/3275245.3275247⟩. ⟨hal-01944493⟩
52 View
134 Download



Gmail Facebook Twitter LinkedIn More