Skip to content
CAI
Software that uses CAICheck a score

swiftlang/swift

49.7

Weak · 29 July 2026

572.8k

lines of production code

2

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

How this codebase got here

Score

  • CAI 47 → 50 (+2.4)
  • Rubric changed (rubric-2026.08.17 → rubric-2026.08.18) — scores are not directly comparable.

Lenses

  • Code Health 100 → 100 (-0.0)
  • Architecture 100 → 100 (+0.1)
  • Maturity 69 → 86 (+16.9)
  • Readiness 26 → 26 (+0.0)
  • Security 50 → 50 (+0.0)

Resolved (123)

  • Change coupling: ContinuousClock.swift ↔ ExecutorImpl.swift (stdlib/public/Concurrency/ContinuousClock.swift)
  • Change coupling: ExecutorImpl.swift ↔ SuspendingClock.swift (stdlib/public/Concurrency/ExecutorImpl.swift)
  • Change coupling: OutputRawSpan.swift ↔ OutputSpan.swift (stdlib/public/core/Span/OutputRawSpan.swift)
  • Change coupling: RigidArray+Insertions.swift ↔ RigidArray+Replacements.swift (stdlib/public/core/RigidArray/RigidArray+Insertions.swift)
  • Change coupling: driver_arguments.py ↔ build_script_invocation.py (utils/build_swift/build_swift/driver_arguments.py)
  • Change coupling: git_command.py ↔ parallel_runner.py (utils/update_checkout/update_checkout/git_command.py)
  • Dependency hygiene not measured — no supported dependency manifest was read
  • Duplicated block (10 lines × 2) (utils/cmpcodesize/cmpcodesize/compare.py)
  • Duplicated block (10–12 lines × 2) (utils/swift_build_support/swift_build_support/helpers/wasmstdlibhelpers.py)
  • Duplicated block (11 lines × 2) (utils/bug_reducer/bug_reducer/opt_bug_reducer.py)
  • Duplicated block (11–12 lines × 2) (utils/bug_reducer/bug_reducer/func_bug_reducer.py)
  • Duplicated block (11–14 lines × 2) (utils/cmpcodesize/cmpcodesize/compare.py)
  • Duplicated block (11–15 lines × 2) (utils/swift_build_support/swift_build_support/helpers/wasmswiftsdkhelpers.py)
  • Duplicated block (11–17 lines × 7) (utils/build_swift/build_swift/driver_arguments.py)
  • Duplicated block (12 lines × 2) (utils/swift_build_support/swift_build_support/products/emscriptenswiftsdk.py)
  • Duplicated block (12–15 lines × 2) (utils/swift_build_support/swift_build_support/products/llvm.py)
  • Duplicated block (13 lines × 2) (utils/swift_build_support/swift_build_support/products/emscriptenhostllvm.py)
  • Duplicated block (13–17 lines × 2) (utils/build_swift/build_swift/driver_arguments.py)
  • Duplicated block (14 lines × 2) (utils/build_swift/build_swift/driver_arguments.py)
  • Duplicated block (14 lines × 2) (utils/update_verify_tests/core.py)
  • …and 103 more

New (18)

  • Dependency hygiene not measured — dependency manifest found but not parsed for hygiene
  • Dimension evaluation failed
  • Off-boarding risk: anonymized user #3
  • Off-boarding risk: anonymized user #7
  • Off-boarding risk: anonymized user #15
  • Off-boarding risk: anonymized user #10
  • Off-boarding risk: anonymized user #6
  • Off-boarding risk: anonymized user #1
  • Off-boarding risk: anonymized user #14
  • Off-boarding risk: anonymized user #11
  • Off-boarding risk: anonymized user #2
  • Off-boarding risk: anonymized user #9
  • Off-boarding risk: anonymized user #12
  • Off-boarding risk: anonymized user #13
  • Off-boarding risk: anonymized user #4
  • Off-boarding risk: anonymized user #8
  • Off-boarding risk: anonymized user #5
  • Scanner failed to run — not a clean result

Architecture

  • Unchanged — 0 containers · 2 contexts · 0 edges

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

Survey your own repository

swiftlang/swift 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 29 July 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit e088641e28412266bb255dea9fee651864dd03ca — the exact code this score is about.
  • Scored under rubric-2026.08.18 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer latest.