On the Classification of Refactoring Code Reviews

  • Josef Sieber
  • , Tim Schwirtlich
  • , John Melwin Richard
  • , John Paul Raj
  • , Yeshwant Santhanakrishnan Premanand
  • , Eman Abdullah Alomar
  • , Abd El Rahman Ahmed Elsaid
  • , Mohamed Wiem Mkaouer

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Code review has become standard practice in both business and open source projects with the objective of improving software quality, promoting knowledge exchange, and ensuring adherence to coding rules and guidelines. It involves developer discussions on potential refactoring operations before incorporating changes into the code base. Despite extensive investigations into the general challenges, best practices, and socio-technical elements of code review, there is limited understanding about the assessment of refactoring and what developers prioritize when examining refactored code. Therefore, our study aims to comprehend the primary factors developers consider when reviewing refactored code. To do so, we design a model that takes as input a given code review conversation, and classifies it into one refactoring category, e.g., quality, integration, testing, etc. Multiple machine learning approaches are used and evaluated, and the experimental results are examined qualitatively and quantitatively at various granularities. Refactoring-related code review category prediction is found to be possible with high consistency, achieving an average scores of 0.8 on accepted universal classification metrics, through the utilization of contemporary and traditional machine learning approaches. These findings suggest that refactoring code review categorization can be embedded in traditional workflows to increase efficiency and decrease the time to production in software development.

Original languageEnglish
Title of host publication2025 IEEE 4th International Conference on Computing and Machine Intelligence, ICMI 2025 - Proceedings
EditorsAhmed Abdelgawad, Akhtar Jamil, Alaa Ali Hameed
ISBN (Electronic)9798331509132
DOIs
StatePublished - 2025
Event4th IEEE International Conference on Computing and Machine Intelligence, ICMI 2025 - Michigan, United States
Duration: 5 Apr 20256 Apr 2025

Publication series

Name2025 IEEE 4th International Conference on Computing and Machine Intelligence, ICMI 2025 - Proceedings

Conference

Conference4th IEEE International Conference on Computing and Machine Intelligence, ICMI 2025
Country/TerritoryUnited States
CityMichigan
Period5/04/256/04/25

Keywords

  • code review
  • quality
  • refactoring

Fingerprint

Dive into the research topics of 'On the Classification of Refactoring Code Reviews'. Together they form a unique fingerprint.

Cite this