twostraws/Sitrep
54.8
Adequate · 1 October 2026
1k
lines of production code
Swift
primary language
2
measurements over time
What this system is
Sitrep is a command-line tool for analyzing Swift codebases, specifically designed to calculate and report line-of-code metrics for SwiftUI and UIKit components. It provides scan results in both text and JSON formats, configurable via a YAML file to exclude specific paths. The system relies on modern Swift parsing libraries to deliver these code quality insights.
Behavioural changes
2 commits (0 fixes) modifying Working
A change to existing behaviour in Working — 2 commits, 2 files.
Working · medium confidence · unverified
Sitrep now supports JSON output and SwiftUI/UIKit line-of-code metrics
The Sitrep command-line tool now accepts a \--format\ argument to output scan results as JSON in addition to the existing text format. The underlying analysis engine has been updated to calculate and report specific line-of-code counts for SwiftUI and UIKit, and the tool now reads configuration from a \.sitrep.yml\ file to support excluded paths. These changes are implemented in the \Sitrep\ and \SitrepCore\ modules, which also migrate from the deprecated \SwiftSyntax\ parser to \SwiftParser\ and update the \FileVisitor\ to use the modern \SyntaxVisitor\ API.
Sources · high confidence
Test coverage
Cleanup of obsolete XCTest scaffolding and test file formatting; Updated test suite for new report formats and UI inheritance counting.
Dependencies
Upgrade to Swift 5.8 and modernize dependencies
The project now requires Swift 5.8 and macOS 10.15 or later. Key dependencies have been upgraded: SwiftSyntax to version 602.0.0, Yams to 6.2.0, and Swift Argument Parser to 1.7.0. The package structure has been updated to expose a SitrepCore library product and explicitly link ArgumentParser to the Sitrep executable target.
(dependencies) · 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 58 → 55 (-3.0)
- Rubric changed (rubric-2026.09.11 → rubric-2026.09.18) — scores are not directly comparable.
Lenses
- Code Health 100 → 100 (+0.0)
- Architecture 100 → 95 (-4.5)
- Maturity 55 → 57 (+1.2)
- Readiness 33 → 30 (-3.6)
- Security 100 → 100 (+0.0)
Resolved (5)
- Dependency hygiene PARTLY measured — SwiftPM pinning read, dependency currency NOT established
- Documentation: no contributor guidance (README.md)
- Documentation: no installation or build instructions (README.md)
- Documentation: no usage examples (README.md)
- Off-boarding risk: anonymized user #1
New (5)
- Coverage not measured — Swift suite
- Off the main sequence: SitrepCore
- Off-boarding risk: anonymized user #1
- Outdated: swift-argument-parser
- Outdated: yams
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
twostraws/Sitrep 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 1 October 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit ae446f9142c5be08a88b8452f015ed1e5284bca4 — the exact code this score is about.
- Scored under rubric-2026.09.18 — the same rubric and the same method as every other entry in this index.
- Measured by watchdog.canine.dev using codehealth-analyzer preprod-e569280dd5e2.