Skip to Main content Skip to Navigation
Conference papers

A Quality-oriented Approach to Recommend Move Method Refactorings

Christian Marlon Souza Couto 1 Henrique Rocha 2 Ricardo Terra 1
2 RMOD - Analyses and Languages Constructs for Object-Oriented Application Evolution
Inria Lille - Nord Europe, CRIStAL - Centre de Recherche en Informatique, Signal et Automatique de Lille - UMR 9189
Abstract : 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.
Document type :
Conference papers
Complete list of metadata

https://hal.inria.fr/hal-01944493
Contributor : Lse Lse <>
Submitted on : Wednesday, December 5, 2018 - 2:56:45 PM
Last modification on : Friday, December 11, 2020 - 6:44:06 PM
Long-term archiving on: : Wednesday, March 6, 2019 - 12:43:42 PM

Identifiers

Collections

Citation

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⟩

Share

Metrics

Record views

96

Files downloads

178