Skip to content
CAI
Software that uses CAICheck a score

Mygod/VPNHotspot

68.2

Adequate · 13 November 2026

30.7k

lines of production code

Kotlin

with Rust

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add NAT66 ICMP verification script

A new script, scripts/verify\_nat66\_icmp\_hop\_limit.sh, has been added to the project. This script performs host-side NAT66 ICMPv6 smoke tests, including gateway and public echo requests, hop-limit validation, and UDP/TCP/ICMP verification over a specified interface. It requires root privileges and various network utilities to run.

scripts · high confidence

Repository initialization and build system update

The repository was initialized with a new Apache License 2.0, a comprehensive AGENTS.md development guide, and an updated gradlew script that now uses the -jar flag to invoke the Gradle wrapper, alongside a .gitmodules file adding the aosp-hardware-interfaces submodule.

(repo-wide) · high confidence

Behavioural changes

Added Google services configuration and updated ProGuard rules

The mobile module now includes a google-services.json file for Firebase/Google services integration, enabling analytics and app invite features for the 'be.mygod.vpnhotspot' package. Additionally, ProGuard rules were updated to preserve line number information for debugging, disable code obfuscation, and force coroutine debug mode to improve stack trace readability in release builds.

mobile · high confidence

Added Gradle JVM toolchain configuration

A new file, gradle/gradle-daemon-jvm.properties, has been added to the project. This file configures the Java toolchain for the Gradle daemon, specifying JetBrains as the vendor and version 21 as the target Java version, along with download URLs for various operating systems and architectures.

gradle · high confidence

Pin AOSP hardware/interfaces to specific commit for VINTF stability

The repository now pins the external AOSP hardware/interfaces submodule to a specific frozen commit (0162af698935100a590b7359581ac8b1b80693e5) from the android17-release branch. This ensures that the generated client-side Binder proxies for the WiFi supplicant and common interfaces remain stable and compatible with the runtime path, preventing unexpected changes from upstream AOSP from breaking the integration.

external · medium confidence

Test coverage

Added tests for Room data conversion and database migration

Added new Android instrumented tests to verify the correctness of Room database converters and migration logic. The \ConvertersTest\ ensures that \AnnotatedString\ objects are correctly persisted and restored, including legacy \SpannableString\ formats. The \MigrationTest\ validates that the database schema correctly migrates from version 1 to version 2. Additionally, \VendorDataTest\ was added to verify the serialization and deserialization of vendor data, ensuring that order, duplicate OUIs, and escaped characters are preserved correctly.

mobile/src · high confidence

Dependencies

Migrate build system to Kotlin DSL and modernize dependencies

The project's build configuration has been migrated from Groovy to Kotlin DSL (build.gradle.kts, settings.gradle.kts), introducing a modernized dependency management system via gradle/libs.versions.toml. This includes updating the Android Gradle Plugin to version 9.3.1, upgrading Kotlin to 2.4.10, and refreshing the dependency graph with newer versions of libraries such as AndroidX, Compose, and Firebase. The legacy build.gradle and settings.gradle files have been removed in favor of the new structure.

(dependencies) · high confidence

Updated Gradle wrapper to version 9.6.1

The Gradle wrapper has been upgraded from version 4.1 to 9.6.1. This update includes a new SHA256 distribution checksum and network timeout configuration, which may require a longer download time or different network conditions when building the project.

gradle/wrapper · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 67 → 68 (+0.7)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.

Lenses

  • Code Health 70 → 70 (-0.0)
  • Architecture 90 → 90 (+0.0)
  • Maturity 59 → 60 (+1.1)
  • Readiness 69 → 69 (+0.0)
  • Security 89 → 83 (-5.9)
  • Event Sourcing 100 → 100 (+0.0)
  • Performance 84 → 100 (+16.0)

Resolved (11)

  • Documentation: written for insiders (docs/vpnhotspotd/errors.md)
  • Duplicated block (10–11 lines × 2) (mobile/src/main/java/be/mygod/vpnhotspot/ui/PreferenceComponents.kt)
  • Duplicated block (14 lines × 2) (mobile/src/main/java/be/mygod/vpnhotspot/ui/PreferenceComponents.kt)
  • Duplicated block (15 lines × 2) (mobile/src/main/java/be/mygod/vpnhotspot/ui/SoftApWifiSummary.kt)
  • Duplicated block (16–17 lines × 2) (mobile/src/main/java/be/mygod/vpnhotspot/ui/apconfiguration/TextApRow.kt)
  • Duplicated block (9 lines × 2) (mobile/src/main/java/be/mygod/vpnhotspot/ui/apconfiguration/PasswordApRow.kt)
  • Duplicated block (9 lines × 2) (mobile/src/main/rust/vpnhotspotd/src/netlink.rs)
  • Hotspot: mobile/src/main/java/be/mygod/vpnhotspot/StaticIpSetter.kt (mobile/src/main/java/be/mygod/vpnhotspot/StaticIpSetter.kt)
  • Hotspot: mobile/src/main/rust/vpnhotspotd/src/nat66/tcp.rs (mobile/src/main/rust/vpnhotspotd/src/nat66/tcp.rs)
  • No ADRs found
  • Off-boarding risk: anonymized user #1

New (29)

  • Documentation: no build, run or usage example (README.md)
  • Duplicated block (10–11 lines × 2) (mobile/src/main/java/be/mygod/vpnhotspot/ui/PreferenceComponents.kt)
  • Duplicated block (14 lines × 2) (mobile/src/main/java/be/mygod/vpnhotspot/ui/PreferenceComponents.kt)
  • Duplicated block (15 lines × 2) (mobile/src/main/java/be/mygod/vpnhotspot/ui/SoftApWifiSummary.kt)
  • Duplicated block (16 lines × 2) (mobile/src/main/rust/vpnhotspotd/src/nat66/udp.rs)
  • Duplicated block (16–17 lines × 2) (mobile/src/main/java/be/mygod/vpnhotspot/ui/apconfiguration/TextApRow.kt)
  • Duplicated block (9 lines × 2) (mobile/src/main/java/be/mygod/vpnhotspot/ui/apconfiguration/PasswordApRow.kt)
  • Duplicated block (9 lines × 2) (mobile/src/main/rust/vpnhotspotd/src/netlink.rs)
  • Edited copies of one member (3 members, 13+ corresponding lines) (mobile/src/main/rust/vpnhotspotd/src/nat66/icmp/state.rs)
  • Edited copies of one member (4 members, 21+ corresponding lines) (mobile/src/main/rust/vpnhotspotd/src/dns.rs)
  • Edited copy of a member (10 corresponding lines) (mobile/src/main/java/be/mygod/vpnhotspot/ui/SettingsScreen.kt)
  • Edited copy of a member (10 corresponding lines) (mobile/src/main/rust/vpnhotspotd/src/neighbour.rs)
  • Edited copy of a member (13 corresponding lines) (mobile/src/main/rust/vpnhotspotd/src/shared/dns_counter.rs)
  • Edited copy of a member (14 corresponding lines) (mobile/src/main/rust/vpnhotspotd/src/shared/protocol.rs)
  • Edited copy of a member (15 corresponding lines) (mobile/src/main/rust/vpnhotspotd/src/nat66/ra.rs)
  • Edited copy of a member (15 corresponding lines) (mobile/src/main/rust/vpnhotspotd/src/shared/dns_counter.rs)
  • Edited copy of a member (16 corresponding lines) (mobile/src/main/rust/vpnhotspotd/src/nat66/tproxy.rs)
  • Edited copy of a member (17 corresponding lines) (mobile/src/main/rust/vpnhotspotd/src/netlink.rs)
  • Edited copy of a member (18 corresponding lines) (mobile/src/main/java/be/mygod/vpnhotspot/manage/LocalOnlyHotspotTileService.kt)
  • Edited copy of a member (18 corresponding lines) (mobile/src/main/rust/vpnhotspotd/src/socket.rs)
  • …and 9 more

Architecture

  • Unchanged — 0 containers · 1 contexts · 0 edges

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

Mygod/VPNHotspot was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 13 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 6e3d4a4f9db4f72d0d4a422350b5234cddb52c48 — the exact code this score is about.
  • Scored under rubric-2026.11.3 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.63+preprod-4a8cc97a9484.