IRMA-International.org: Creator of Knowledge
Information Resources Management Association
Advancing the Concepts & Practices of Information Resources Management in Modern Organizations

Predicting Software Refactoring With a Reinforcement Learning Framework Using Deep Q Network

Predicting Software Refactoring With a Reinforcement Learning Framework Using Deep Q Network
View Sample PDF
Author(s): Archana Patnaik (Gandhi Institute of Engineering and Technology University, Gunupur, India), Sanjay Misra (Institute for Energy Technology, Halden, Norway), Neelamadhab Padhy (Gandhi Institute of Engineering and Technology University, Gunupur, India), Lov Kumar (National Institute of Technology, Kurukhetra, India)and Rasmita Panigrahi (Gandhi Institute of Engineering and Technology University, India)
Copyright: 2025
Volume: 17
Issue: 1
Pages: 28
Source title: International Journal of Software Science and Computational Intelligence (IJSSCI)
Editor(s)-in-Chief: Brij Gupta (Asia University, Taichung City, Taiwan)and Andrew W.H. Ip (University of Saskatchewan, Canada)
DOI: 10.4018/IJSSCI.393452

Purchase

View Predicting Software Refactoring With a Reinforcement Learning Framework Using Deep Q Network on the publisher's website for pricing and purchasing information.

Abstract

The primary objective of this work is to identify the scope of requirements for existing software projects by considering the source code metrics. In this work, the authors used Deep Q Network (DQN) for refactoring prediction, for which three open-source real-time projects, Antlr4, Junit, and Oryx, are taken into consideration. Different code metrics like Cyclomatic Complexity, Lines of Code, Coupling between Objects Lack of Cohesion are taken as input parameters. Based on the experimental analysis, five different types of refactoring predictions are performed, and the requirement of Extract Method and Move Class is higher as compared to other techniques. JUnit framework identifies a high scope of refactoring for which the performance evaluation metrics values are with an accuracy 97%, recall of .96, f-measure of 0.96, precison of 0.96. Q-Learning can be considered as one of the best techniques for identifying the need for code alteration by considering the probable values that resemble the Q-Value used for analysing the maintainability index.

Related Content

Tamanna Mishra, Sanjay Misra. © 2026. 23 pages.
Chengran Xie, Chenyang Hou, Yanhong Sun, Vijayan Sugumaran. © 2025. 31 pages.
Syed Muhammad Hassan Zaidi, Rizwan Iqbal, Ayman Alharbi, Habib Hussain Zuberi, Adnan Ahmed, Muhammad Usman Sheikh. © 2025. 19 pages.
Andrei Vladimirovich Pitkevich. © 2025. 24 pages.
Kaja Mohideen. © 2025. 29 pages.
Ananya Dutta, Aradhana Misra, Ridip Tukaria, Surajit Deka, Kandarpa Kumar Sarma. © 2025. 21 pages.
Archana Patnaik, Sanjay Misra, Neelamadhab Padhy, Lov Kumar, Rasmita Panigrahi. © 2025. 28 pages.
Body Bottom