3lvis/Networking
68.8
Adequate · 15 November 2026
3.2k
lines of production code
Swift
primary language
5
measurements over time
What this system is
This system is a modernized Swift networking library that provides a type-safe, async/await-based HTTP client with support for iOS 18 and later. It features a composable interceptor chain for handling authentication, retries, and validation, alongside a configurable caching system for in-memory and on-disk storage. The project has been fully migrated to Swift Package Manager with comprehensive test coverage and automated linting infrastructure.
Features
Added automated Swift linting with oida
Introduced a new linting workflow using the oida tool to enforce code style and formatting for Swift files. The \bin/lint\ script manages the oida binary (pinned by version and checksum for security), supports modes for checking, fixing, and CI validation, and integrates with \bin/staged-swift-files\ to identify relevant files while excluding build artifacts and generated sources.
bin · high confidence
Local pre-commit linting and doc-link validation
Developers can now run linting and formatting checks locally before committing by enabling the pre-commit hook via the new setup script. This hook executes the repository's linting tool on staged files, ensuring that the code passing local checks matches what CI validates. Additionally, a new script checks for broken relative links within markdown documentation files, failing the check if any dead links are detected.
.githooks, scripts · high confidence
Behavioural changes
Cleanup for v8 release: new tooling, documentation, and CI configuration
This change prepares the repository for the v8 release by introducing a new linting and formatting infrastructure (oida and .swift-format), establishing developer guidelines (AGENTS.md, VOICE.md, LEARNINGS.md), and updating the CI pipeline to use Swift 6.4 and Xcode 27. It also removes legacy build and dependency support files (.travis.yml, CocoaPods references) and updates the .gitignore to exclude new build artifacts.
(repo-wide) · high confidence
Migrate test configuration to Swift Package Manager
The project has migrated its test infrastructure from a legacy Xcode project structure to native Swift Package Manager (SPM) support. This change introduces a new \Networking.xctestplan\ file to define test configurations and moves workspace and scheme files into the \.swiftpm\ directory. The updated \Networking.xcscheme\ now targets the \NetworkingTests\ test bundle directly, enables parallel test execution, and upgrades the scheme version to 1.7 (Xcode 14.3), replacing the previous \Tests.xcodeproj\-based setup.
.swiftpm · high confidence
Networking library rewritten with async/await, typed responses, and request interceptors
The networking layer has been completely rewritten to use Swift's async/await concurrency model, replacing the previous callback-based API. Requests now return a \Result\<T, NetworkingError\>\ envelope, providing consistent error handling and access to response metadata like status codes and headers alongside the payload. The library introduces a composable interceptor chain (\HTTPInterceptor\) that enables built-in features such as automatic authentication refresh, exponential backoff retry logic, and response validation. Additionally, a new caching system (\CacheStore\) supports both in-memory and on-disk storage with configurable TTLs and sharding, while the API now supports typed requests, form encoding, and multipart uploads.
Sources · high confidence
Removal of Networking module files
The Networking.h and Networking.m files in the Source directory have been deleted. This removes the existing networking implementation from the codebase, likely as part of a refactoring or migration process given the commit history mentions switching between NSURLSession and NSURLConnection.
Source · high confidence
Test coverage
Added comprehensive test coverage for the Networking library; Removal of legacy Objective-C test bundle; Removal of legacy Xcode project file for tests.
Dependencies
Migration to Swift Package Manager with Swift 6 and iOS 18 support
The project has switched from CocoaPods to Swift Package Manager (SPM) as its primary distribution mechanism. The new Package.swift defines the library for Swift 6 language mode and sets minimum deployment targets to iOS 18, macOS 15, tvOS 18, and watchOS 11. The legacy Networking.podspec has been removed, and the source structure has been updated to use a 'Sources' directory for the main target and a 'Tests' directory for the test target.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 70 → 69 (-1.6)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 98 → 86 (-11.2)
- Architecture 96 → 95 (-0.5)
- Maturity 67 → 67 (+0.0)
- Readiness 57 → 56 (-0.9)
- Security 92 → 92 (+0.0)
- Performance 100 → 100 (+0.0)
Resolved (2)
- Duplicated block (7 lines × 4) (Sources/Networking/NetworkingError.swift)
- Hotspot: Sources/Networking/Networking+New.swift (Sources/Networking/Networking+New.swift)
New (9)
- Duplicated block (7 lines × 4) (Sources/Networking/NetworkingError.swift)
- Edited copies of one member (3 members, 11+ corresponding lines) (Sources/Networking/Networking+HTTPRequests.swift)
- Edited copies of one member (5 members, 16+ corresponding lines) (Sources/Networking/Networking+HTTPRequests.swift)
- Edited copies of one member (5 members, 16+ corresponding lines) (Sources/Networking/Networking+HTTPRequests.swift)
- Edited copies of one member (5 members, 17+ corresponding lines) (Sources/Networking/Networking+HTTPRequests.swift)
- Edited copy of a member (13 corresponding lines) (Sources/Networking/Networking+HTTPRequests.swift)
- Edited copy of a member (21 corresponding lines) (Sources/Networking/Networking+HTTPRequests.swift)
- Edited copy of a member (23 corresponding lines) (Sources/Networking/CacheStore.swift)
- Edited copy of a member (97 corresponding lines) (Sources/Networking/Networking+Private.swift)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
3lvis/Networking 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 15 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 ec2f04d61a86422d61c155865ad9806b7c4f1758 — the exact code this score is about.
- Scored under rubric-2026.11.4 — 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.65+preprod-3c33c1882dc1.