Refactoring the E-Diklat module of Gerakan Pramuka Indonesia's official app with GetX and an MVCS architecture — measured with SonarQube, Dart Code Metrics and industry practitioner reviews.
This study improves the maintainability of the AyoPramuka mobile app's E-Diklat module by implementing GetX state management with an MVCS architecture. The initial SonarQube analysis found more than 5,900 maintainability issues with significant technical debt. The methodology combines static analysis with SonarQube, code metric evaluation with Dart Code Metrics, and reviews by five industry practitioners. GetX and systematic refactoring significantly reduced maintainability issues, technical debt, code complexity and nesting depth, raising the module's maintainability rating. Practitioners also reported clear improvements in clean code and ease of maintenance, with moderate agreement between reviewers (Cohen's Kappa 0.56).
AyoPramuka serves Scout members across Indonesia — social feed, messaging, activities and e-learning (E-Diklat). Constant pressure to ship features fast often came at the cost of code structure.
Scope: the E-Diklat module only, and only the Maintainability factor of McCall's Software Quality Model.
SonarQube scan of the E-Diklat module to map open issues, technical debt and the starting ratings.
Migrating to GetX with Model, View, Controller and Service layers; repositories and folders split per sub-feature.
1 sampling iteration on 8 code snippets and 3 full-module iterations, including when the new Kelola E-Diklat module was added.
SonarQube, Dart Code Metrics (LoC, cyclomatic complexity, nesting) and reviews by 5 industry practitioners with Cohen's Kappa.
Initial state compared with the final iteration, measured with SonarQube.
The spike in Iteration 2 came from adding the new Kelola E-Diklat module, then was brought back down through refactoring.




GetX proved effective at improving mobile app maintainability. SonarQube, code metrics and practitioner reviews worked as mutually reinforcing indicators — supporting a more stable, maintainable app for non-formal education.
I bring the same approach — clean architecture, measurable quality — to every mobile and web project.
Get in touch →