Data-Driven Extract Method Recommendations: A Study at ING

07/08/2021
by   David van der Leij, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/20/2021

SELM: Software Engineering of Machine Learning Models

One of the pillars of any machine learning model is its concepts. Using ...
research
06/27/2022

Incivility Detection in Open Source Code Review and Issue Discussions

Given the democratic nature of open source development, code review and ...
research
01/29/2019

A Machine-learning Based Ensemble Method For Anti-patterns Detection

Anti-patterns are poor solutions to recurring design problems. Several e...
research
07/17/2023

CohortFinder: an open-source tool for data-driven partitioning of biomedical image cohorts to yield robust machine learning models

Batch effects (BEs) refer to systematic technical differences in data co...
research
12/22/2021

End to End Software Engineering Research

End to end learning is machine learning starting in raw data and predict...
research
10/15/2022

Classification of Web Phishing Kits for early detection by platform providers

Phishing kits are tools that dark side experts provide to the community ...

Please sign up or login with your details

Forgot password? Click here to reset