Glenaya, Glenaya (2025) Pengukuran Kualitas Modularity Dan Reusability Pada Refactoring Kode Program Berorientasi Objek. Other thesis, Institut Teknologi Sepuluh Nopember.
![]() |
Text
5025211202-Undergraduate_Thesis.pdf - Accepted Version Restricted to Repository staff only Download (6MB) | Request a copy |
Abstract
Kualitas perangkat lunak yang baik sangat penting untuk menjamin keberlanjutan proses pengembangan sistem, khususnya dalam hal kemudahan pemeliharaan dan pengembangan di masa mendatang. Dua sub-karakteristik utama yang mempengaruhi kualitas maintainability adalah modularity dan reusability. Penelitian ini bertujuan untuk mengukur dampak penerapan teknik refaktorisasi terhadap kualitas modularity dan reusability pada kode program berorientasi objek. Proses refaktorisasi dilakukan berdasarkan hasil identifikasi code smell menggunakan alat bantu seperti SonarQube, dengan fokus pada penghilangan bagian-bagian kode yang berpotensi menurunkan kualitas perangkat lunak. Pengukuran kualitas modularity dilakukan menggunakan metrik Coupling of Components Conformance (MMo-1-G) dan Cyclomatic Complexity (MMo-2-S), sedangkan reusability diukur menggunakan Reusability of Assets(MRe-1-G), sesuai dengan standar ISO/IEC 25023. Dataset yang digunakan terdiri dari tiga proyek perangkat lunak Java berskala menengah hingga besar, yaitu Flight Booking System for Airlines, JPetStore-6, dan BlueMap. Pada proyek Flight Booking System for Airlines, terjadi peningkatan sebesar 0,014 pada MMo-1-G dan 0,005 pada MRe-1-G, sementara n pada MMo-2-S tetap yaitu sebesar 1. Pada JPetStore-6, peningkatan juga terjadi pada MMo-1-G sebesar 0,014 dan MRe-1-G sebesar 0,014, dan nilai MMo-2-S yang tetap sebesar 1. Sementara pada BlueMap menunjukkan penurunan pada MMo-1-G sebesar 0,006 dan (MRe-1-G) sebesar 0,002, sedangkan nilai MMo-2-S mengalami sedikit peningkatan sebesar 0,002. Hasil penelitian menunjukkan bahwa refaktorisasi secara umum mampu meningkatkan nilai modularity dan reusability pada sebagian besar dataset, walaupun pada beberapa kasus efeknya cenderung kecil.
============================================================================================================================================
A good software quality is essential to ensure the sustainability of system development processes, particularly in terms of ease of maintenance and future enhancement. Two key sub-characteristics that influence maintainability are modularity and reusability. This study aims to measure the impact of refactoring techniques on the modularity and reusability quality of object-oriented program code. The refactoring process was carried out based on the identification of code smells using tools such as SonarQube, focusing on the elimination of code segments that potentially degrade software quality. The quality of modularity was measured using the Coupling of Components Conformance (MMo-1-G) and Cyclomatic Complexity (MMo-2-S) metrics, while reusability was measured using the Reusability of Assets (MRe-1-G) metric, in accordance with ISO/IEC 25023 standards. The dataset used consists of three medium- to large-scale Java software projects: Flight Booking System for Airlines, JPetStore-6, and BlueMap. In the Flight Booking System for Airlines project, an increase of 0.014 in MMo-1-G and 0.005 in MRe-1-G was observed, while the MMo-2-S value remained unchanged at 1. For JPetStore-6, an increase in MMo-1-G and MRe-1-G was observed, both by 0.014, with MMo-2-S also remaining at 1. Meanwhile, BlueMap showed a decrease of 0.006 in MMo-1-G and 0.002 in MRe-1-G, while MMo-2-S experienced a slight increase of 0.002. The results indicate that refactoring generally improves modularity and reusability values across most datasets, although the effects tend to be relatively small in certain cases.
Item Type: | Thesis (Other) |
---|---|
Uncontrolled Keywords: | Code Smell, ISO/IEC 25023, Maintainability, Modularity, Reusability, Code Smell, ISO/IEC 25023, Maintainability, Modularity, Reusability. |
Subjects: | T Technology > T Technology (General) > T58.6 Management information systems |
Divisions: | Faculty of Intelligent Electrical and Informatics Technology (ELECTICS) > Informatics Engineering > 55201-(S1) Undergraduate Thesis |
Depositing User: | Glenaya Glenaya |
Date Deposited: | 31 Jul 2025 06:14 |
Last Modified: | 31 Jul 2025 06:14 |
URI: | http://repository.its.ac.id/id/eprint/125039 |
Actions (login required)
![]() |
View Item |