Skip to main navigation menu Skip to main content Skip to site footer

Articles

Vol. 11 No. 4 (2026): Kohesi: Jurnal Sains dan Teknologi, ISSN 3025-1311

REFACTORING UNTUK MENINGKATKAN KUALITAS MAINTAINABILITY PERANGKAT LUNAK PADA SISTEM INFORMASI KEUANGAN

Submitted
September 6, 2026
Published
2026-09-06

Abstract

This study aimed to apply refactoring to improve software quality and maintainability in the Financial Information System (SIK). The research focused on identifying code smells that could affect code readability, maintenance, and software development. The research method consisted of identifying code smells, applying appropriate refactoring techniques, conducting Black-Box Testing, and measuring software metrics before and after refactoring. The results identified six types of code smells, namely Long Method, Duplicate Code, Lack of Validation, Hardcoded Logic, Data Clumps, and Incomplete Abstraction. The refactoring techniques applied included Extract Method, Introduce Parameter Validation, Group Data in Variable, Introduce Missing Methods or Properties, and Query Abstraction. Black-Box Testing was conducted on 22 test cases, with all cases producing results as expected, resulting in a 100% success rate. The Maintainability Index increased after refactoring, indicating improved code maintainability. Therefore, refactoring was effective in improving the structure, readability, and maintainability of the SIK.

References

  1. Agnihotri, M., & Chug, A. (2020). A systematic literature survey of software metrics, code smells and refactoring techniques. Journal of Information Processing Systems, 16(4), 915–934. https://doi.org/10.3745/JIPS.04.0184
  2. Almogahed, A., & Omar, M. (2021). Refactoring techniques for improving software quality: Practitioners’ perspectives. Journal of Information and Communication Technology, 20(4), 511–539. https://doi.org/10.32890/jict2021.20.4.3
  3. Andriani, R., Sabrina, P. N., & Ashaury, H. (2025). Metode refactoring untuk meningkatkan kualitas maintainability pada sistem informasi puskesmas. Jurnal Tekno Kompak, 19(1), 227–239. https://doi.org/10.33365/jtk.v19i1.4686 (E-Jurnal Teknokrat)
  4. Baumgartner, N., Adleh, F., & Pulvermüller, E. (2023). Live code smell detection of data clumps in an integrated development environment. In International Conference on Evaluation of Novel Approaches to Software Engineering (ENASE) (pp. 64–76). Science and Technology Publications. https://doi.org/10.5220/0011727500003464
  5. Charalampidou, S., Ampatzoglou, A., Chatzigeorgiou, A., Gkortzis, A., & Avgeriou, P. (2017). Identifying Extract Method refactoring opportunities based on functional relevance. IEEE Transactions on Software Engineering, 43 (10), 954 –974. https://doi.org/10.1109/TSE.2016.2645572
  6. Dirjen, S. K., et al. (2017). Metode McCall’s untuk pengujian kualitas sistem informasi administrasi tugas akhir (SIATA). [Nama jurnal tidak tercantum pada data sumber], 1(3), 488–495.
  7. Fredianto, H. (2021). Optimalisasi perangkat lunak menggunakan metode refactoring. Jurnal Syntax Admiration, 2(10), 1885–1902. https://doi.org/10.46799/jsa.v2i10.326
  8. Kusuma, E. (2024). Deteksi code smell dengan pendekatan machine learning: Analisis bibliometrik. bit-Tech, 7(2), 366–376. https://doi.org/10.32877/bt.v7i2.1822
  9. Sa’adah, U., Permatasari, D. I., Hardiansyah, F. F., Yunanto, A. A., Hasim, J. A. N., Wulandari, I., Pahlevi, M. R., & Shihab, D. Q. (2022). Tool refactoring otomatis untuk menangani lazy class code smell dengan pendekatan software metrics. Jurnal Teknologi Informasi dan Ilmu Komputer, 9 (4), 743–750. https://doi.org/10.25126/jtiik.202294646 (ResearchGate)
  10. Sasaki, Y., Hotta, K., Higo, Y., & Kusumoto, S. (2011). Is duplicate code good or bad? An empirical study with multiple investigation methods and multiple detection tools. In Proceedings of the 22nd International Symposium on Software Reliability Engineering (ISSRE 2011). (Google Sites)
  11. Shahidi, M., Ashtiani, M., & Zakeri-Nasrabadi, M. (2022). An automated extract method refactoring approach to correct the long method code smell. Journal of Systems and Software, 187, 111221. https://doi.org/10.1016/j.jss.2022.111221
  12. Syaifullah, A. M., Rosyid, H., Aisyiyah, P., & Devi, R. (2022). Pengukuran kualitas sistem informasi perangkat lunak pada website E-Procurement PT. Wakabe Indonesia dengan metode McCall. ILKOMNIKA: Journal of Computer Science and Applied Informatics, 4(3), 274–283. https://doi.org/10.28926/ilkomnika.v4i3.523

Similar Articles

1-10 of 130

You may also start an advanced similarity search for this article.