We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.SE

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Software Engineering

Title: Data-Driven Extract Method Recommendations: A Study at ING

Abstract: The sound identification of refactoring opportunities is still an open problem in software engineering. Recent studies have shown the effectiveness of machine learning models in recommending methods that should undergo different refactoring operations. In this work, we experiment with such approaches to identify methods that should undergo an Extract Method refactoring, in the context of ING, a large financial organization. More specifically, we (i) compare the code metrics distributions, which are used as features by the models, between open-source and ING systems, (ii) measure the accuracy of different machine learning models in recommending Extract Method refactorings, (iii) compare the recommendations given by the models with the opinions of ING experts. Our results show that the feature distributions of ING systems and open-source systems are somewhat different, that machine learning models can recommend Extract Method refactorings with high accuracy, and that experts tend to agree with most of the recommendations of the model.
Subjects: Software Engineering (cs.SE)
Cite as: arXiv:2107.05396 [cs.SE]
  (or arXiv:2107.05396v2 [cs.SE] for this version)

Submission history

From: Mauricio Aniche [view email]
[v1] Thu, 8 Jul 2021 20:17:06 GMT (980kb,D)
[v2] Thu, 22 Jul 2021 11:33:19 GMT (1226kb,D)

Link back to: arXiv, form interface, contact.