01.06.2024
MIRROR
: multi-objective refactoring recommendation via correlation analysis
Erschienen in: Automated Software Engineering | Ausgabe 1/2024
EinloggenAktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.
Wählen Sie Textabschnitte aus um mit Künstlicher Intelligenz passenden Patente zu finden. powered by
Markieren Sie Textabschnitte, um KI-gestützt weitere passende Inhalte zu finden. powered by
Abstract
MIRROR
, to recommend refactoring by employing a multi-objective optimization across three objectives: (i) improving quality, (ii) removing code smell, and (iii) maximizing the similarity to refactoring history. Unlike previous works, MIRROR
provides a way to further optimize attributes in each objective. To be more specific, given an objective, MIRROR
investigates the possible correlations among attributes and selects those attributes with low correlations as the representation of this objective. MIRROR
is evaluated on 6 real-world projects by answering 6 research questions. The experimental results demonstrate that MIRROR
recommends an average of 43 solutions for each project. Furthermore, we compare MIRROR
against existing tools JMove
and QMove
, and show that the F1 of MIRROR
is 5.63% and 3.75% higher than that of JMove
and QMove
, demonstrating the effectiveness of MIRROR
.