arXiv:2610.12890cs.SEOct 2026

Manuscript Offprint

arXiv:2610.12890

Evaluation of Software Quality Through Refactoring Commit-Impact Analysis

Md Safayat Hossen, Sheikh Moonwara Anjum Monisha, Shadid Intisar Quasem

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Md Safayat Hossen, Sheikh Moonwara Anjum Monisha, Shadid Intisar Quasem

Department of Computer Science and Engineering, Islamic University of Technology, Bangladesh

safayathossen@iut-dhaka.edu, moonwaraanjum@iut-dhaka.edu, shadidintisar@iut-dhaka.edu

Abstract—The aim of this study is to conduct an empirical analysis of the correlation between code modifications and software quality. This will be achieved by examining the effects of changes made before and after each refactoring commit, using software metrics such as size, complexity, code smells, vulnerability, and bug detection. The objective is to conduct static code analysis on open-source software from GitHub repositories using various repository mining and static code analysis tools. Our approach involves formulating research-based questions and utilizing the specified tools to obtain results that will enable us to resolve the case study. The obtained results have been summarised and further analyzed using tables and graphs to achieve the objective.

Index Terms—refactoring commit, software metrics, GitHub repositories

I. INTRODUCTION

Software development is an ongoing process. To increase the system's overall efficiency and effectiveness, multiple functionalities must be integrated and maintenance processes must be continuously improved. Usually Software tends to get bigger and more complex as it develops. Evolutionary processes may deviate from the accepted coding standards. When building a module, it can be difficult to keep up with coding rules and standards. Refactoring can be applied to them at a later time, though.

Refactoring a codebase is a software development practice that generally results in improved software quality. Refactoring, as defined by Fowler [10], is the process of altering the source code of a software project in order to improve its internal structure. Improving measurable internal quality attributes such as cohesion, coupling, complexity, inheritance, and size is a feasible method for enhancing the structural quality of code [11].

Numerous version control systems such as Git and CVS have aided the collaborative software development process. These systems have proven to be convenient by enabling the tracking of each change, also known as a commit. The historical record facilitates code sharing among developers and enables them to monitor modifications made to software systems during both the development and maintenance phases. Furthermore, it serves as a valuable data source for comprehending the software development process [12]. Commits in software development provide a record of the modifications made to the codebase, including the identity of the individual who made the changes and the timestamp of the modifications. There is a plethora of information available on the evolution of software.

An analysis of the impact of commits that have been made. Refactoring is a standard software development practice that involves evaluating the software's quality before and after each refactoring commit. The aforementioned approach holds promise in providing substantial insights into the growth of software and the impact of specific alterations on its overall quality. This article explores the impact of individual refactoring contributions on the source code, the correlation between source code modifications and software quality metrics, and the effectiveness of a specific metric as a software quality indicator. Our focus will be directed towards the Refactoring Commit Impact Analysis. The effects of changes made before and after each refactoring commit are examined by utilizing software metrics such as size, complexity, code smells, vulnerability, and bug detection. This is achieved by conducting static code analysis on open-source software from GitHub repositories using various repository mining and static code analysis tools. To represent our research, we have formulated four research questions.