Skip to content
CAI
Software that uses CAICheck a score

pppscn/SmsForwarder

46.4

Weak · 22 September 2026

42.1k

lines of production code

Kotlin

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is an Android application built with Kotlin and Gradle, designed to manage tasks, rules, and FRPC configurations through a paginated, drag-to-reorder user interface. It supports multiple distribution channels and architectures, utilizing libraries like OkHttp and XUI for networking and UI components. The application includes features for code obfuscation, version updates via Umeng, and multi-channel packaging.

Features

Initial project scaffolding and build configuration

The app module has been initialized with essential build and configuration files. This includes a .gitignore to exclude build artifacts, a channel file defining supported app distribution channels (such as Google Play, Huawei, and Xiaomi), a lint.xml configuration to suppress specific icon warnings, and a comprehensive proguard-rules.pro file to manage code obfuscation and keep rules for third-party libraries like AndroidX, OkHttp, and Gson.

app · high confidence

Behavioural changes

12 commits (0 fixes) modifying app/libs

A change to existing behaviour in app/libs — 12 commits, 2 files.

app/libs · medium confidence · unverified

App restructured with new entry points and UI adapters

The application's entry point now routes to specific activities (TaskActivity, ClientActivity, or MainActivity) based on pure mode settings, and the UI layer has been rebuilt using new RecyclerView adapters (such as RulePagingAdapter, TaskPagingAdapter, and FrpcRecyclerAdapter) to display rules, tasks, and FRPC configurations with support for paging and drag-to-reorder.

app/src/main/kotlin · high confidence

Dependencies

Android app build system initialized with dependency and configuration scaffolding

The project's build infrastructure has been established, introducing a centralized version management system via \versions.gradle\ that defines the Android Gradle Plugin (7.2.2), Kotlin (1.7.21), and various third-party libraries including XUI, XUpdate, and OkHttp. The \app/build.gradle\ configures the application to target SDK 33 with a minimum SDK of 19, enables ViewBinding, and sets up ABI splits for armeabi-v7a, arm64-v8a, x86, and x86\_64 architectures. Additionally, the build process now supports optional APK optimization through the Booster plugin and multi-channel packaging via the Walle plugin, while \gradle.properties\ configures the build environment with specific JVM arguments and AndroidX settings.

(dependencies) · high confidence

Initialize Gradle wrapper with version 7.3.3

The project now includes a Gradle wrapper configuration that pins the build tool to version 7.3.3, ensuring consistent builds across environments by downloading the specified distribution automatically.

gradle · high confidence

Housekeeping

Initial repository setup and documentation

The repository has been initialized with core project files, including a .gitignore to exclude build artifacts and IDE settings, and a .nvmrc specifying Node.js version 22. Comprehensive documentation has been added, including a Chinese README.md, an English README\_en.md, and a PRIVACY statement clarifying that the app only sends version data to Umeng for statistics and update checks. Additionally, standard Gradle wrapper scripts (gradlew and gradlew.bat) are included to ensure consistent build environments.

(repo-wide) · high confidence

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

How this codebase got here

Score

  • CAI 39 → 46 (+7.2)
  • Rubric changed (rubric-2026.08.19 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 69 → 79 (+9.7)
  • Architecture 95 → 95 (-0.2)
  • Maturity 49 → 53 (+3.8)
  • Readiness 31 → 30 (-1.0)
  • Security 30 → 54 (+23.8)

Resolved (176)

  • Change coupling: BarkUtils.kt ↔ GotifyUtils.kt (app/src/main/kotlin/cn/ppps/forwarder/utils/sender/BarkUtils.kt)
  • Change coupling: CloneInfo.kt ↔ Constants.kt (app/src/main/kotlin/cn/ppps/forwarder/entity/CloneInfo.kt)
  • Change coupling: Constants.kt ↔ SettingUtils.kt (app/src/main/kotlin/cn/ppps/forwarder/utils/Constants.kt)
  • Change coupling: Constants.kt ↔ TaskUtils.kt (app/src/main/kotlin/cn/ppps/forwarder/utils/Constants.kt)
  • Change coupling: SettingsFragment.kt ↔ PhoneStateReceiver.kt (app/src/main/kotlin/cn/ppps/forwarder/fragment/SettingsFragment.kt)
  • Change coupling: TaskDao.kt ↔ TasksEditFragment.kt (app/src/main/kotlin/cn/ppps/forwarder/database/dao/TaskDao.kt)
  • Change coupling: TasksEditFragment.kt ↔ Constants.kt (app/src/main/kotlin/cn/ppps/forwarder/fragment/TasksEditFragment.kt)
  • Change coupling: TasksEditFragment.kt ↔ TaskUtils.kt (app/src/main/kotlin/cn/ppps/forwarder/fragment/TasksEditFragment.kt)
  • Change coupling: TelegramUtils.kt ↔ WeworkRobotUtils.kt (app/src/main/kotlin/cn/ppps/forwarder/utils/sender/TelegramUtils.kt)
  • Change coupling: WeworkAgentUtils.kt ↔ WeworkRobotUtils.kt (app/src/main/kotlin/cn/ppps/forwarder/utils/sender/WeworkAgentUtils.kt)
  • Dependency hygiene not measured — dependency manifest found but not parsed for hygiene
  • Duplicated block (10 lines × 16) (app/src/main/kotlin/cn/ppps/forwarder/fragment/ServerFragment.kt)
  • Duplicated block (10 lines × 16) (app/src/main/kotlin/cn/ppps/forwarder/fragment/senders/BarkFragment.kt)
  • Duplicated block (10 lines × 2) (app/src/main/kotlin/cn/ppps/forwarder/fragment/RulesEditFragment.kt)
  • Duplicated block (10 lines × 2) (app/src/main/kotlin/cn/ppps/forwarder/fragment/RulesEditFragment.kt)
  • Duplicated block (10 lines × 2) (app/src/main/kotlin/cn/ppps/forwarder/fragment/ServerFragment.kt)
  • Duplicated block (10 lines × 2) (app/src/main/kotlin/cn/ppps/forwarder/fragment/SettingsFragment.kt)
  • Duplicated block (10 lines × 2) (app/src/main/kotlin/cn/ppps/forwarder/fragment/action/AlarmFragment.kt)
  • Duplicated block (10 lines × 2) (app/src/main/kotlin/cn/ppps/forwarder/fragment/action/CleanerFragment.kt)
  • Duplicated block (10 lines × 2) (app/src/main/kotlin/cn/ppps/forwarder/fragment/action/SendSmsFragment.kt)
  • …and 156 more

New (307)

  • Change coupling: MsgInfo.kt ↔ LogsFragment.kt (app/src/main/kotlin/cn/ppps/forwarder/entity/MsgInfo.kt)
  • Change coupling: SettingsFragment.kt ↔ SmsReceiver.kt (app/src/main/kotlin/cn/ppps/forwarder/fragment/SettingsFragment.kt)
  • Change-coupling hub: Constants.kt → SettingsFragment.kt, TasksEditFragment.kt, HttpServerUtils.kt, SettingUtils.kt (app/src/main/kotlin/cn/ppps/forwarder/utils/Constants.kt)
  • ChargeFragment.checkSetting (cognitive 23) (app/src/main/kotlin/cn/ppps/forwarder/fragment/condition/ChargeFragment.kt)
  • ChargeFragment.checkSetting (cyclomatic 24) (app/src/main/kotlin/cn/ppps/forwarder/fragment/condition/ChargeFragment.kt)
  • ChargeSetting.<init> (cyclomatic 18) (app/src/main/kotlin/cn/ppps/forwarder/entity/condition/ChargeSetting.kt)
  • ClassTooLong: CronFragment (app/src/main/kotlin/cn/ppps/forwarder/fragment/condition/CronFragment.kt)
  • ClassTooLong: EmailFragment (app/src/main/kotlin/cn/ppps/forwarder/fragment/senders/EmailFragment.kt)
  • ClassTooLong: PhoneUtils (app/src/main/kotlin/cn/ppps/forwarder/utils/PhoneUtils.kt)
  • ClassTooLong: RulesEditFragment (app/src/main/kotlin/cn/ppps/forwarder/fragment/RulesEditFragment.kt)
  • ClassTooLong: SettingsFragment (app/src/main/kotlin/cn/ppps/forwarder/fragment/SettingsFragment.kt)
  • ClassTooLong: TasksEditFragment (app/src/main/kotlin/cn/ppps/forwarder/fragment/TasksEditFragment.kt)
  • Dependency hygiene PARTLY measured — Maven/Gradle declarations read, no dependency graph resolved
  • Documentation: no installation or build instructions (README.md)
  • Documentation: no usage examples (README.md)
  • Duplicated block (10 lines × 2) (app/src/main/kotlin/cn/ppps/forwarder/core/webview/AgentWebFragment.kt)
  • Duplicated block (10 lines × 2) (app/src/main/kotlin/cn/ppps/forwarder/fragment/RulesEditFragment.kt)
  • Duplicated block (10 lines × 2) (app/src/main/kotlin/cn/ppps/forwarder/fragment/SettingsFragment.kt)
  • Duplicated block (10 lines × 2) (app/src/main/kotlin/cn/ppps/forwarder/fragment/client/CallQueryFragment.kt)
  • Duplicated block (10 lines × 2) (app/src/main/kotlin/cn/ppps/forwarder/fragment/client/CallQueryFragment.kt)
  • …and 287 more

Changes since last survey

  • 1 commits — 1 feature/other, 0 fixes

By area

  • app/src — 1 commit

Notable commits

  • change: 修复:标签正则中包含"="字符(如(?=...)先行断言)时解析失败 (#770)

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

Survey your own repository

pppscn/SmsForwarder 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 22 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit a3d23026f0058420869163c1d5dfb463ce52fc15 — the exact code this score is about.
  • Scored under rubric-2026.09.15 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-821afab8930d.