Abstract
Today, as ever before, agile teams are under constant pressure to write code faster with more functionality in less time. However, developing quality software requires discipline, commitment to process, adherence to standards, and writing quality code.
One of the most effective ways to improve software quality is by writing and producing quality code. However, program code still suffers from code smells, inconsistencies, and lack of clarity. These issues, among others, often have detrimental impact on code quality, readability, testability as well as increased time complexity and computational complexity.
Refactoring became one of the most effective ways to address such issues and improve code quality. This can be carried out without delaying other development activities. It is usually done with minimal disruption to the software development process.
This project and the proposed framework address these issues and present an effective refactoring approach to enhance overall code readability, modifiability, and testability.
The proposed approach aims to improve code quality by introducing code refactoring to reduce redundancy, eliminate inconsistencies, and detect code smells. The framework also addresses code issues such as Unused Data Members, Unused Member Functions, Invalid Objects, and Invalid Dependencies using a refactoring index.
Above all, refactoring plays an important role in project success, time-to-market, and software longevity. The approach presented enables software engineers and testers to decrease technical debt and substantially improve source efficiency.