Skip to content
CAI
Software that uses CAICheck a score

pppscn/SmsForwarder

42.0

Weak · 10 November 2026

42.5k

lines of production code

Kotlin

primary language

8

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

How this codebase got here

Score

  • CAI 39 → 42 (+2.5)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 67 → 67 (-0.2)
  • Architecture 88 → 96 (+8.5)
  • Maturity 48 → 54 (+5.9)
  • Readiness 19 → 19 (+0.0)
  • Security 56 → 56 (+0.0)
  • Performance 78 → 100 (+21.7)

Resolved (15)

  • Change-coupling hub: Constants.kt → SettingsFragment.kt, TasksEditFragment.kt, HttpServerUtils.kt, SettingUtils.kt (app/src/main/kotlin/cn/ppps/forwarder/utils/Constants.kt)
  • CloneFragment.pullData (cognitive 17) (app/src/main/kotlin/cn/ppps/forwarder/fragment/client/CloneFragment.kt)
  • Duplicated block (18 lines × 3) (app/src/main/kotlin/cn/ppps/forwarder/fragment/RulesEditFragment.kt)
  • Duplicated block (5 lines × 2) (app/src/main/kotlin/cn/ppps/forwarder/fragment/condition/LeaveAddressFragment.kt)
  • Duplicated block (7 lines × 4) (app/src/main/kotlin/cn/ppps/forwarder/fragment/senders/DingtalkInnerRobotFragment.kt)
  • Duplicated block (8 lines × 2) (app/src/main/kotlin/cn/ppps/forwarder/fragment/RulesEditFragment.kt)
  • Hotspot: app/src/main/kotlin/cn/ppps/forwarder/utils/sender/BarkUtils.kt (app/src/main/kotlin/cn/ppps/forwarder/utils/sender/BarkUtils.kt)
  • Hotspot: app/src/main/kotlin/cn/ppps/forwarder/utils/sender/DingtalkGroupRobotUtils.kt (app/src/main/kotlin/cn/ppps/forwarder/utils/sender/DingtalkGroupRobotUtils.kt)
  • Hotspot: app/src/main/kotlin/cn/ppps/forwarder/utils/sender/EmailUtils.kt (app/src/main/kotlin/cn/ppps/forwarder/utils/sender/EmailUtils.kt)
  • Hotspot: app/src/main/kotlin/cn/ppps/forwarder/utils/sender/WebhookUtils.kt (app/src/main/kotlin/cn/ppps/forwarder/utils/sender/WebhookUtils.kt)
  • Members sharing a duplicated core (12 members, 50+ identical tokens) (app/src/main/kotlin/cn/ppps/forwarder/fragment/ClientFragment.kt)
  • Near-duplicate member family (4 members, 14 shared lines) (app/src/main/kotlin/cn/ppps/forwarder/fragment/senders/DingtalkInnerRobotFragment.kt)
  • Near-duplicate member pair (70 shared lines) (app/src/main/kotlin/cn/ppps/forwarder/fragment/RulesEditFragment.kt)
  • No tests found
  • Projects may be oversized for their cohesion

New (16)

  • Change-coupling hub: Constants.kt → ClientFragment.kt, SettingsFragment.kt, TasksEditFragment.kt, HttpServerUtils.kt, SettingUtils.kt (app/src/main/kotlin/cn/ppps/forwarder/utils/Constants.kt)
  • ClassTooLong: ServerFragment (app/src/main/kotlin/cn/ppps/forwarder/fragment/ServerFragment.kt)
  • CloneFragment.doPullData (cognitive 16) (app/src/main/kotlin/cn/ppps/forwarder/fragment/client/CloneFragment.kt)
  • CloneFragment.verifyServerSafetyMeasures (cognitive 18) (app/src/main/kotlin/cn/ppps/forwarder/fragment/client/CloneFragment.kt)
  • CloneFragment.verifyServerSafetyMeasures (cyclomatic 17) (app/src/main/kotlin/cn/ppps/forwarder/fragment/client/CloneFragment.kt)
  • Documentation: no build, run or usage example (README.md)
  • Duplicated block (11 lines × 4) (app/src/main/kotlin/cn/ppps/forwarder/fragment/ClientFragment.kt)
  • Duplicated block (13 lines × 11) (app/src/main/kotlin/cn/ppps/forwarder/fragment/client/BatteryQueryFragment.kt)
  • Duplicated block (14–15 lines × 11) (app/src/main/kotlin/cn/ppps/forwarder/fragment/client/BatteryQueryFragment.kt)
  • Duplicated block (22 lines × 5) (app/src/main/kotlin/cn/ppps/forwarder/fragment/client/BatteryQueryFragment.kt)
  • Duplicated block (29 lines × 10) (app/src/main/kotlin/cn/ppps/forwarder/fragment/client/BatteryQueryFragment.kt)
  • Duplicated block (5 lines × 4) (app/src/main/kotlin/cn/ppps/forwarder/fragment/client/CloneFragment.kt)
  • Members sharing a duplicated core (13 members, 50+ identical tokens) (app/src/main/kotlin/cn/ppps/forwarder/fragment/ClientFragment.kt)
  • Members sharing a duplicated core (4 members, 50+ identical tokens) (app/src/main/kotlin/cn/ppps/forwarder/fragment/senders/DingtalkInnerRobotFragment.kt)
  • Near-duplicate member pair (72 shared lines) (app/src/main/kotlin/cn/ppps/forwarder/fragment/RulesEditFragment.kt)
  • ServerFragment.initListeners (cognitive 22) (app/src/main/kotlin/cn/ppps/forwarder/fragment/ServerFragment.kt)

Changes since last survey

  • 4 commits — 2 feature/other, 2 fixes

By area

  • app/src — 3 commits
  • .github/workflows — 1 commit

Notable commits

  • fix: Fix APK output path (#779)
  • fix: fix(location): 按位置精度显式指定 provider,避免 getBestProvider 与用户设置不符 (#778)
  • change: 优化: 服务端默认 fail-closed,修复 [CVE redacted]
  • change: 修复:Android 16/17 上中文长短信转发失败(报错 getGroupIdLevel1)(#773) (#775)

Written by cca.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 10 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 a142f9270624e96b15ecfae53035581354fb6434 — the exact code this score is about.
  • Scored under rubric-2026.11.2 — 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.9+preprod-cba156920af5.