Dwi Rif’an Kurniawan, NIM.: 22106050073 (2026) RANCANG BANGUN ALAT ELIMINASI DEAD CODE DAN UNUSED DEPENDENSI SEMI-OTOMATIS UNTUK PROYEK JAVASCRIPT / TYPESCRIPT. Skripsi thesis, UIN SUNAN KALIJAGA YOGYAKARTA.
|
Text (RANCANG BANGUN ALAT ELIMINASI DEAD CODE DAN UNUSED DEPENDENSI SEMI-OTOMATIS UNTUK PROYEK JAVASCRIPT / TYPESCRIPT)
22106050073_BAB-I_IV-atau-V_DAFTAR-PUSTAKA.pdf - Published Version Download (6MB) | Preview |
|
|
Text (RANCANG BANGUN ALAT ELIMINASI DEAD CODE DAN UNUSED DEPENDENSI SEMI-OTOMATIS UNTUK PROYEK JAVASCRIPT / TYPESCRIPT)
22106050073_BAB-II_sampai_SEBELUM-BAB-TERAKHIR.pdf - Published Version Restricted to Registered users only Download (15MB) | Request a copy |
Abstract
The development of JavaScript and TypeScript projects can leave behind dead code and unused dependencies, increasing maintenance complexity and the risk of errors. This study aims to develop a Command Line Interface (CLI)-based tool for semi-automatically detecting and eliminating unused code and dependencies. The system applies Abstract Syntax Tree (AST)-based static analysis to map code declarations and references, along with a dependency graph to trace relationships between files. The elimination process includes candidate selection, user confirmation, backup, and recovery mechanisms. The system was developed iteratively using the Extreme Programming method. Evaluation was conducted on four open-source repositories using naturally occurring anomalies and controlled injected specimens, with the results compared against ground truth established through manual inspection. From 106 test cases, the system produced 100 True Positives, 1 False Positive, and 5 False Negatives, achieving a precision of 99.01%, recall of 95.24%, and F1-score of 97.09%. All post-remediation validation procedures were completed without failures or crashes. These results demonstrate that the AST-based approach performs well, although user review remains necessary for dynamic patterns and behavior that depend on runtime context.
| Item Type: | Thesis (Skripsi) |
|---|---|
| Additional Information / Supervisor: | Dr. Agung Fatwanto, S.Si., M.Kom. |
| Uncontrolled Keywords: | Abstract Syntax Tree, dead code, unused dependency, analisis statis, Command Line Interface |
| Subjects: | 000 Ilmu Komputer, Ilmu Informasi, dan Karya Umum > 000 Karya Umum > 005.12 Software System Analysis and Design/Sistem Analisa dan Desain Perangkat Lunak |
| Divisions: | Fakultas Sains dan Teknologi > Informatika (S1) |
| Depositing User: | Muh Khabib |
| Date Deposited: | 06 Oct 2026 13:42 |
| Last Modified: | 06 Oct 2026 13:42 |
| URI: | http://digilib.uin-suka.ac.id/id/eprint/78737 |
Share this knowledge with your friends :
Actions (login required)
![]() |
View Item |
