Harnessing deep learning algorithms to predict software refactoring.

Autor: Alenezi, Mamdouh, Akour, Mohammed, Al Qasem, Osama
Předmět:
Zdroj: Telkomnika; Dec2020, Vol. 18 Issue 6, p2977-2982, 6p
Abstrakt: During software maintenance, software systems need to be modified by adding or modifying source code. These changes are required to fix errors or adopt new requirements raised by stakeholders or market place. Identifying the targeted piece of code for refactoring purposes is considered a real challenge for software developers. The whole process of refactoring mainly relies on software developers’ skills and intuition. In this paper, a deep learning algorithm is used to develop a refactoring prediction model for highlighting the classes that require refactoring. More specifically, the gated recurrent unit algorithm is used with proposed pre-processing steps for refactoring prediction at the class level. The effectiveness of the proposed model is evaluated using a very common dataset of 7 open source java projects. The experiments are conducted before and after balancing the dataset to investigate the influence of data sampling on the performance of the prediction model. The experimental analysis reveals a promising result in the field of code refactoring prediction. [ABSTRACT FROM AUTHOR]
Databáze: Complementary Index