NED University Journal of Research
ISSN 2304-716X
E-ISSN 2706-5758




IMPLEMENTATION OF CLEAN CODE AND DESIGN PATTERNS TO ENHANCE MAINTAINABILITY AND READABILITY IN SKIN DISEASE DETECTION APPLICATION

Author(s): Alif Finandhita1, M Rifki Kautsar2, Ravshanbek Rizomatovich Karimov3, Berdalieva Gulasal Abdukunduzovna4
1M.T. in Sotware Engineering, Department of Informatics Engineering, Universitas Komputer Indonesia, Indonesia, Ph. +6222-2506634, Email: alif.finandhita@email.unikom.ac.id

2Software Engineer, Department of Informatics Engineering, Universitas Komputer Indonesia, Indonesia, Ph. +6222-2506634, Email: rifkikautsar1@gmail.com

3PhD, Department of Pedadogy, Chirchik State Pedagogical University, Uzbekistan, Ph. +998949342700, Email: avshanbekkarimov1990@gmail.com

4PhD, Department of Pedagogy, Pedagogical Skills Center of Syrdarya Region, Uzbekistan, Ph. +998909700122, Email: gulasalberdalieva@gmail.com

https://doi.org/10.35453/NEDJR-INCITEST009-2025

Volume: XXII

No. Special Issue on INCITEST'25

Pages: 379-389

Date: December 2025

Abstract:
This research aims to improve the maintainability and readability of a skin disease detection application through the implementation of clean code and design patterns. SkinPal, an image analysis application, faces several issues in its backend API, particularly in the maintenance and development process. The research began with a domain case analysis, followed by an assessment of existing maintainability and readability problems. Afterwards, clean code principles were mapped and used as the basis for the refactoring process using design patterns. Lastly, the evaluation phase is used to measure the improvements. Several issues were identified in the backend code, including the merging of business logic with data access, unclear variable names, and code duplication. A total of 10 classes and 18 functions had low maintainability scores, and most of the functions were difficult to read. The refactoring process successfully improved the maintainability to a high level, from an average score of 39.61 to 99.62, confirming a major enhancement in code quality compared to previous studies. In terms of readability, only one of six developers encountered difficulties in understanding the refactored code. Overall, the implementation of clean code and design patterns successfully improved maintainability and readability in SkinPal's backend.

Keywords:
Maintainability, Readability, Refactoring, Clean Code, Design Pattern

Full Paper | Close Window      X |