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

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.

Authors

Institutions

Publication Details

Published
2024-12-17
DOI
https://doi.org/10.1109/icicyta64807.2024.10912871
Citations
2
Primary Topic
Recycling and Waste Management Techniques
Type
article
Field-Weighted Citation Impact
0.59
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Siti Rochimah, Tiara Rahmania Hadiningrum
2 citations
Recycling and Waste Management Techniques
0.59
article

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

Siti Rochimah, Tiara Rahmania Hadiningrum
article en
2 citations

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.

Sepuluh Nopember Institute of Technology (ID)
Openalex Percentile: Top 28%
Recycling and Waste Management Techniques
0.59
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Evaluation of a Long-Method Refactoring Technic Using Reusability Assessment Metrics Based On ISO/IEC 25023 in Php Program Code — Siti Rochimah, Tiara Rahmania Hadiningrum · (2024) | TGRS Research Map | TGRS