Skip to main navigation Skip to search Skip to main content

Evaluation of a Long-Method Refactoring Technic Using Reusability Assessment Metrics Based On ISO/IEC 25023 in Php Program Code

  • Informatics Department
  • Institut Teknologi Sepuluh Nopember

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

3 Citations (Scopus)

Abstract

This study explores the application of various refactoring techniques in PHP programs to improve code reuse, guided by the ISO/IEC 25023 standard for software quality. The main focus is on refactoring long methods, which are often plagued by complex logic and multiple responsibilities. This study uses several techniques such as Extract Method, Move Method, Replace Temp with Query, Introduce Parameter Object, and Replace Method with Method Object to improve the internal structure of the code. The results show a marked improvement in code modularity and separation of concerns. In particular, the MRE-1G metric, which measures reuse, showed a 3.6% improvement (from 0.877 to 0.894), while the MRE-2S metric saw a 14.6% improvement (from 0.123 to 0.141). Moreover, the creation of new classes during the refactoring process was crucial in achieving these higher reuse rates, which emphasizes the importance of modular design in software development. The findings show that refactoring, particularly through the introduction of new classes, leads to better code reuse and highlights the importance of maintaining well-structured code in software development practices. This study provides valuable insights into how refactoring can improve software quality and reuse, as well as offering practical guidance for developers looking to improve the maintainability of their PHP codebase.

Original languageEnglish
Title of host publication2024 International Conference on Intelligent Cybernetics Technology and Applications, ICICyTA 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages389-394
Number of pages6
ISBN (Electronic)9798331506490
DOIs
Publication statusPublished - 2024
Event4th International Conference on Intelligent Cybernetics Technology and Applications, ICICyTA 2024 - Hybrid, Bali, Indonesia
Duration: 17 Dec 2024 → 19 Dec 2024

Publication series

Name2024 International Conference on Intelligent Cybernetics Technology and Applications, ICICyTA 2024

Conference

Conference4th International Conference on Intelligent Cybernetics Technology and Applications, ICICyTA 2024
Country/TerritoryIndonesia
CityHybrid, Bali
Period17/12/24 → 19/12/24

Keywords

  • iso/iec 25023
  • long method
  • php program
  • refactoring
  • reusability

Fingerprint

Dive into the research topics of 'Evaluation of a Long-Method Refactoring Technic Using Reusability Assessment Metrics Based On ISO/IEC 25023 in Php Program Code'. Together they form a unique fingerprint.

Cite this