Skip to main navigation Skip to search Skip to main content

Toward Improving Software Functionality through Refactoring Operations: An Experimental Study

  • Abdullah Almogahed*
  • , Manal Othman
  • , Mustafa Moosa Qasim
  • , Said Badreddine
  • , Zuhair Ahmed
  • , Mazni Omar
  • , Abdulwadood Alawadhi
  • , Munya Matraf
  • , Ghizlane Khababa
  • , Safwan Mahmood Al-Selwi
  • , Samera Obaid Barraood
  • , Omar Al-Jamili
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

Refactoring is widely used to improve internal software quality; however, its impact on external functionality remains insufficiently explored. This study investigates how different refactoring operations influence software functionality through a controlled experimental analysis. A set of ten commonly used refactoring operations was applied to the jEdit system. Software functionality was quantitatively evaluated using a composite metric derived from cohesion, polymorphism, interface size, design size, and inheritance hierarchy. The selected ten refactoring operations were performed 453 times across ten independent experiments in jEdit. The results reveal that refactoring operations do not have uniform effects on functionality. Operations that enhance encapsulation and modular distribution significantly improve functionality, with Encapsulate Field achieving the highest increase. In contrast, operations that reduce abstraction, such as Inline Method and Inline Class, negatively impact functionality. Additionally, some operations show no measurable effect, indicating limitations in metric sensitivity. These findings demonstrate that refactoring should not be assumed to universally improve software functionality. Instead, its impact depends on the nature and context of the operations being applied. The study provides empirical evidence and practical guidance for selecting refactoring operations that effectively enhance functional quality while avoiding potential degradation.

Original languageEnglish
Title of host publication2026 6th International Conference on Emerging Smart Technologies and Applications, eSmarTA 2026
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798319519238
DOIs
StatePublished - 2026
Externally publishedYes
Event6th International Conference on Emerging Smart Technologies and Applications, eSmarTA 2026 - Dhamar, Yemen
Duration: 4 Aug 2026 → 5 Aug 2026

Publication series

Name2026 6th International Conference on Emerging Smart Technologies and Applications, eSmarTA 2026

Conference

Conference6th International Conference on Emerging Smart Technologies and Applications, eSmarTA 2026
Country/TerritoryYemen
CityDhamar
Period4/08/26 → 5/08/26

Bibliographical note

Publisher Copyright:
© 2026 IEEE.

Keywords

  • code refactoring analysis
  • empirical software engineering
  • refactoring operations
  • software functionality
  • software quality metrics

ASJC Scopus subject areas

  • Artificial Intelligence
  • Computer Science Applications
  • Safety, Risk, Reliability and Quality
  • Modeling and Simulation

Fingerprint

Dive into the research topics of 'Toward Improving Software Functionality through Refactoring Operations: An Experimental Study'. Together they form a unique fingerprint.

Cite this