Skip to content
CAI
Software that uses CAICheck a score

spoqa/CleanSwift-CIS

57.0

Adequate · 21 September 2026

1.5k

lines of production code

Swift

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a mobile application framework, likely for iOS, that implements a Clean Architecture with distinct scene modules for handling user interactions. It provides specific capabilities for managing quotation requests and uploading receipt images, supported by a modular dependency structure using Swift Package Manager.

Features

Added AddRequests and UploadReceipt scenes to the Example app

The Example application now includes two new feature scenes: AddRequests and UploadReceipt. The AddRequests scene allows users to input request details and submit quotation requests, handling state management and network interactions via a dedicated controller, interactor, and store. The UploadReceipt scene enables users to attach and upload receipt images, managing camera/gallery permissions, image selection, and upload processes. Both scenes include corresponding unit tests to verify their behavior.

Example, Templates · high confidence

Dependencies

Added Swift Package Manager configuration for example scenes and templates

Introduced Package.swift manifests and a Package.resolved lockfile to support Swift Package Manager (SPM) for the Example project's scene modules (AddRequestsScene, UploadReceiptScene, NetworkService) and the Clean Swift CIS templates. This enables building and testing these components as independent Swift packages, with the UploadReceiptScene depending on the Toaster library and the AddRequestsScene module.

(dependencies) · medium 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 52 → 57 (+5.2)
  • Rubric changed (rubric-2026.08.19 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 100 → 98 (-1.6)
  • Architecture 100 → 93 (-7.4)
  • Maturity 48 → 57 (+9.0)
  • Readiness 24 → 36 (+11.7)
  • Security 100 → 95 (-5.0)

Resolved (11)

  • Coverage not included — suite not readable by the collector
  • Dependency hygiene not measured — no supported dependency manifest was read
  • Every template README is a single line '# ___VARIABLE_sceneName___Scene' with no description. (Templates/Clean Swift - CIS/Scene-Package.xctemplate/UIKit/___FILEBASENAME___Scene/README.md)
  • No exposed public API
  • Scanner failed to run — not a clean result
  • Test reliability not included
  • The README is a single CIS banner with only the '## Download Templates' bulleted list and no package description. (README.md)
  • complexity unreadable for .swift — churn × complexity hotspots could not be measured
  • early-stage repository — too few commits for a meaningful bus factor
  • early-stage repository — too little history to judge knowledge freshness
  • git history depth insufficient

New (11)

  • Coverage not measured — Swift suite
  • Dependency hygiene PARTLY measured — SwiftPM pinning read, dependency currency NOT established
  • Documentation: no installation or build instructions (README.md)
  • Documentation: no project overview (README.md)
  • Documentation: no usage examples (README.md)
  • Duplicated block (10 lines × 2) (Example/Example/Scene/AddRequestsScene/Sources/AddRequestsScene/View/Any/AddRequestsSwiftUIView.swift)
  • Duplicated block (10 lines × 2) (Example/Example/Scene/UploadReceiptScene/Sources/UploadReceiptScene/View/Any/UploadReceiptUIKitView.swift)
  • Duplicated block (14 lines × 2) (Example/Example/Scene/UploadReceiptScene/Sources/UploadReceiptScene/View/Any/UploadReceiptSwiftUIView.swift)
  • Duplicated block (5 lines × 2) (Example/Example/Scene/AddRequestsScene/Sources/AddRequestsScene/AddRequestsController.swift)
  • Floating branch dependency: toaster
  • Low cohesion: UploadReceiptWorker (LCOM4 6) (Example/Example/Scene/UploadReceiptScene/Sources/UploadReceiptScene/UploadReceiptWorker.swift)

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

Survey your own repository

spoqa/CleanSwift-CIS 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 21 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 d176ed175f354f77da81c058703f54a1d09d19e4 — 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-b84573e22831.