Skip to main navigation Skip to search Skip to main content

Large Class Refactoring in PHP Program to Improve Modularity Based on ISO/IEC 25023 Metrics

  • Bella Dwi Mardiana*
  • , Siti Rochimah
  • *Corresponding author for this work
  • Institut Teknologi Sepuluh Nopember

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

2 Citations (Scopus)

Abstract

Code that contains code smell is difficult for software developers to understand, modify, or maintain. This study focuses on improving software quality by minimizing the code smell, which can hinder maintenance and development. Code smell with a Large Class type was selected as the primary focus because such type of code is often difficult to understand and modify. To address this issue, refactoring techniques, such as the Extract Ciass, Extract Method, and Move Method are applied in a real case. This study assesses the effectiveness of code refactoring using modularity metrics based on the ISO/IEC 25023 standard. The study was conducted on PHP code containing code smell, which were then identified, analyzed, and refactored. Case studies involved real software applications, and code quality improvements were measured by comparing metrics before and after refactoring. Results showed significant improvements in code modularity. In the Laundry case study, modularity improved by 40.58% for the MMo-1-G metric and 3.97% for the MMo-2-S metric. In the School Management System, improvements of 8.76% for MMo-1-G and 0.11% for MMo-2-S were recorded. The results demonstrate that refactoring can effectively reduce code smell and improve software quality.

Original languageEnglish
Title of host publicationProceeding - IEEE 10th Information Technology International Seminar, ITIS 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages176-181
Number of pages6
ISBN (Electronic)9798331521295
DOIs
Publication statusPublished - 2024
Event10th IEEE Information Technology International Seminar, ITIS 2024 - Surabaya, Indonesia
Duration: 6 Nov 2024 → 8 Nov 2024

Publication series

NameProceeding - IEEE 10th Information Technology International Seminar, ITIS 2024

Conference

Conference10th IEEE Information Technology International Seminar, ITIS 2024
Country/TerritoryIndonesia
CitySurabaya
Period6/11/24 → 8/11/24

Keywords

  • ISO/IEC 25023
  • code quality
  • code smell
  • modularity
  • refactoring

Fingerprint

Dive into the research topics of 'Large Class Refactoring in PHP Program to Improve Modularity Based on ISO/IEC 25023 Metrics'. Together they form a unique fingerprint.

Cite this