Treffer: Implementation of Clean Code Based on Smells and Heuristics MDP SIGN Application ; Implementasi Clean Code Berdasarkan Smells and Heuristics Aplikasi MDP SIGN
Weitere Informationen
This research explores the analysis of the MDP SIGN application by applying clean code principles based on code smells and heuristics. The main focus of clean code, which emphasizes writing code that is easy to understand, is key for efficient maintenance and team collaboration. Code smells, as indicators of code structure issues, and heuristics as rules of thumb, became the basis for analyzing this application. The refactoring process was applied to MDP SIGN, a QR code-based digital signing application. The analysis identified potential improvements by finding code smells such as N1: Choose Descriptive Names, N4: Unambiguous Names, G5: Duplication, F4: Dead Function, and C5: Commented-Out Code. Through the implementation of clean code, the author managed to reduce 330 lines of code and improve efficiency. Validation involved the original developer, improving understanding of the code. This research contributes to the practical understanding of the application of clean code in application development. ; Penelitian ini mengeksplorasi analisis aplikasi MDP SIGN dengan menerapkan prinsip clean code berdasarkan code smells dan heuristics. Fokus utama clean code, yang mengedepankan penulisan kode yang mudah dipahami, menjadi kunci untuk pemeliharaan dan kolaborasi tim yang efisien. Code smells, sebagai indikator masalah struktur kode, dan heuristics sebagai aturan praktis, menjadi dasar dalam menganalisis aplikasi ini. Proses refactoring diterapkan pada MDP SIGN, sebuah aplikasi penandatanganan digital berbasis QR code. Hasil analisis mengidentifikasi potensi perbaikan dengan menemukan code smells seperti N1: Choose Descriptive Names, N4: Unambiguous Names, G5: Duplication, F4: Dead Function, dan C5: Commented-Out Code. Melalui implementasi clean code, penulis berhasil mengurangi 330 baris kode dan meningkatkan efisiensi. Validasi melibatkan pengembang asli, meningkatkan pemahaman terhadap kode. Penelitian ini memberikan kontribusi pada pemahaman praktis penerapan clean code dalam pengembangan aplikasi.