Skip to content
CAI
Software that uses CAICheck a score

tayloraswift/swift-png

53.1

Adequate · 17 November 2026

15.3k

lines of production code

Swift

with Python

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

Behavioural changes

1 commit (0 fixes) modifying Tools

A change to existing behaviour in Tools — 1 commit, 11 files: “reorganize utils”.

Tools · medium confidence · unverified

10 commits (0 fixes) modifying Sources/PNG/Encoding

A change to existing behaviour in Sources/PNG/Encoding — 10 commits, 3 files: “scrub trailing whitespace”; “reformat code with dollup”; “format the code”; and 7 more (refs \#42).

Sources/PNG/Encoding · medium confidence · unverified

10 commits (0 fixes) modifying Sources/PNG/Lexing

A change to existing behaviour in Sources/PNG/Lexing — 10 commits, 4 files: “scrub trailing whitespace”; “migrate Image Metadata tutorial”; “trim unnecessary Swift. prefixes”; and 7 more (refs \#42).

Sources/PNG/Lexing · medium confidence · unverified

11 commits (0 fixes) modifying Sources/LZ77/Deflator

A change to existing behaviour in Sources/LZ77/Deflator — 11 commits, 16 files: “reformat code with dollup”; “format the code”; “prune unnecessarily public API, drop some low-value abstractions”; and 8 more (refs \#64).

Sources/LZ77/Deflator · medium confidence · unverified

14 commits (0 fixes) modifying Sources/PNG/ColorTargets

A change to existing behaviour in Sources/PNG/ColorTargets — 14 commits, 3 files: “start porting some of the doccomments from entrapta format to unidoc/docc format”; “mass-migrate entrapta vectorlinks to unidoc vectorlinks”; “reformat code with dollup”; and 11 more (refs \#42).

Sources/PNG/ColorTargets · medium confidence · unverified

14 commits (0 fixes) modifying Sources/PNG/Parsing

A change to existing behaviour in Sources/PNG/Parsing — 14 commits, 20 files: “scrub trailing whitespace”; “mass-migrate entrapta vectorlinks to unidoc vectorlinks”; “reformat code with dollup”; and 11 more (refs \#42).

Sources/PNG/Parsing · medium confidence · unverified

15 commits (1 fix) modifying Sources/PNG/docs.docc

A change to existing behaviour in Sources/PNG/docs.docc — 15 commits (1 fix), 80 files: “readable symbol links”; “add build flags reference to doc bundle”; “rename \_.docc to docs.docc”; and 12 more.

Sources/PNG/docs.docc · medium confidence · unverified

16 commits (0 fixes) modifying Snippets/PNG

A change to existing behaviour in Snippets/PNG — 16 commits, 8 files: “rename \_.docc to docs.docc”; “reformat code with dollup”; “migrate Image Metadata tutorial”; and 13 more.

Snippets/PNG · medium confidence · unverified

16 commits (0 fixes) modifying Sources/PNG/Decoding

A change to existing behaviour in Sources/PNG/Decoding — 16 commits, 5 files: “scrub trailing whitespace”; “start porting some of the doccomments from entrapta format to unidoc/docc format”; “mass-migrate entrapta vectorlinks to unidoc vectorlinks”; and 13 more (refs \#42).

Sources/PNG/Decoding · medium confidence · unverified

16 commits (3 fixes) modifying Sources/LZ77/Inflator

A change to existing behaviour in Sources/LZ77/Inflator — 16 commits (3 fixs), 14 files: “fix broken doc link”; “break up LZ77.DecompressionError into subtypes, and objectify the LZ77.MRC32 type”; “fix byte order bug in gzip header parser, add gzip compression example”; and 13 more (refs \#64).

Sources/LZ77/Inflator · medium confidence · unverified

2 commits (1 fix) modifying Scripts

A change to existing behaviour in Scripts — 2 commits (1 fix), 1 file: “update test runner script”; “this smells like a thread safety bug”. Also in this area: 1 commit (0 fixes) modifying Scripts.

Scripts · medium confidence · unverified

29 commits (1 fix) modifying Sources/PNG

A change to existing behaviour in Sources/PNG — 29 commits (1 fix), 11 files: “readable symbol links”; “break up LZ77.DecompressionError into subtypes, and objectify the LZ77.MRC32 type”; “move \_PNGError.swift file”; and 26 more (refs \#42, \#43).

Sources/PNG · medium confidence · unverified

3 commits (0 fixes) modifying Sources/PNG/Formats

A change to existing behaviour in Sources/PNG/Formats — 3 commits, 3 files: “trim unnecessary Swift. prefixes”; “format the code”; “update chunk type documentation”.

Sources/PNG/Formats · medium confidence · unverified

3 commits (0 fixes) modifying Sources/PNGInspection

A change to existing behaviour in Sources/PNGInspection — 3 commits, 3 files: “reformat code with dollup”; “format the code”; “lint last vestiges of the TerminalColors dependency, relocate affected code to the experimental PNGInspection module”.

Sources/PNGInspection · medium confidence · unverified

4 commits (0 fixes) modifying Snippets/LZ77

A change to existing behaviour in Snippets/LZ77 — 4 commits, 3 files: “add Snippet testing edge cases with system gzip utility”; “reformat code with dollup”; “format the code”; and 1 more.

Snippets/LZ77 · medium confidence · unverified

5 commits (0 fixes) modifying Sources

A change to existing behaviour in Sources — 5 commits, 23 files: “migrate PNGCompressionTests”; “migrate LZ77Tests to Swift Testing”; “update test runner script”; and 2 more. Also in this area: 1 commit (0 fixes) modifying Benchmarks, Snippets, Sources.

(repo-wide) · low confidence · unverified

5 commits (0 fixes) modifying Sources/LZ77/HuffmanCoding

A change to existing behaviour in Sources/LZ77/HuffmanCoding — 5 commits, 7 files: “format the code”; “prune unnecessarily public API, drop some low-value abstractions”; “factor LZ77 into a proper swift module”; and 2 more.

Sources/LZ77/HuffmanCoding · medium confidence · unverified

5 commits (0 fixes) modifying Sources/LZ77/Wrappers

A change to existing behaviour in Sources/LZ77/Wrappers — 5 commits, 4 files: “format the code”; “prune unnecessarily public API, drop some low-value abstractions”; “reduce public API in LZ77 module, get it closer to supporting Gzip”; and 2 more.

Sources/LZ77/Wrappers · medium confidence · unverified

5 commits (1 fix) modifying MaxPNG

A change to existing behaviour in MaxPNG — 5 commits (1 fix), 6 files: “new file??”; “fixed a bug where intentionally skipping IDAT blocks would fail”; “max png swift png loader”; and 2 more.

MaxPNG · medium confidence · unverified

5 commits (1 fix) modifying Sources/LZ77

A change to existing behaviour in Sources/LZ77 — 5 commits (1 fix), 5 files: “reformat code with dollup”; “format the code”; “disable intrinsics on android”; and 2 more.

Sources/LZ77 · medium confidence · unverified

6 commits (0 fixes) modifying Benchmarks

A change to existing behaviour in Benchmarks — 6 commits, 30 files: “reformat code with dollup”; “format the code”; “reorganize utils”; and 3 more (refs \#42).

Benchmarks · medium confidence · unverified

8 commits (1 fix) modifying Sources/LZ77/Gzip

A change to existing behaviour in Sources/LZ77/Gzip — 8 commits (1 fix), 8 files: “fix byte order bug in gzip header parser, add gzip compression example”; “format the code”; “prune unnecessarily public API, drop some low-value abstractions”; and 5 more.

Sources/LZ77/Gzip · medium confidence · unverified

Dependencies

76 commits updating dependencies (2 manifests)

A dependency / build maintenance change in (dependencies) — 76 commits (5 fixs), 2 files: “update h dependency, add formatter”; “(png4) test chunk decoding”; “Configure Workspace (\#12)”; and 73 more (refs \#12, \#44, \#45, \#42).

(dependencies) · medium confidence · unverified

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

Baseline

  • First survey — no prior run to compare against. CAI 53.1.

Lenses

  • Code Health 83.2
  • Architecture 97.8
  • Maturity 36.6
  • Readiness 59.2
  • Security 66.7

Changes since last survey

  • 300 commits — 273 feature/other, 27 fixes

By area

  • (root) — 50 commits
  • .github/workflows — 46 commits
  • Sources/PNG — 42 commits
  • sources/png — 37 commits
  • (repo) — 25 commits
  • Sources/LZ77 — 22 commits
  • examples/README.md — 16 commits
  • benchmarks/results — 7 commits
  • Sources/LZ77Tests — 5 commits
  • .github/tools — 3 commits
  • examples/decode-basic — 3 commits
  • examples/encode-basic — 3 commits
  • .github/autosync — 2 commits
  • Scripts/TestAll — 2 commits
  • Snippets/PNG — 2 commits
  • Sources/PNGCompressionTests — 2 commits
  • Sources/PNGIntegrationTests — 2 commits
  • documentation/PNG — 2 commits
  • examples/decode-online — 2 commits
  • examples/indexing — 2 commits

Notable commits

  • fix: Merge pull request #98 from tayloraswift/deflatorin-initial-capacity-fix
  • fix: fix a bug that was causing the library to emit invalid deflate stream when there is only one distance code
  • fix: fix a truly, truly, nasty deconvolution bug
  • fix: fix broken README link
  • fix: fix broken SIMD acceleration on apple silicon
  • fix: fix broken anchor links
  • fix: fix broken doc link
  • fix: fix broken link in build.md
  • fix: fix broken shield links in README.md
  • fix: fix bug that was causing crash on iTXt chunks with unknown language
  • fix: fix byte order bug in gzip header parser, add gzip compression example
  • fix: fix ci/documentation builder, bump swift version
  • fix: fix internal markdown link
  • fix: fix missing public ACL of compatibility typealias
  • fix: fix missing test output directories
  • fix: fix missing version tag for linux ci build
  • fix: fix regression that was causing error on empty language tag
  • fix: fix sPLT parsing bug for 16-bit sPLT entries
  • fix: fix unsafe pointer deprecation warnings
  • fix: fix wrong codelink namespace
  • …and 280 more

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

Survey your own repository

tayloraswift/swift-png 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 17 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 098bc64f3ceb7da0b0104195ff489ca4c0269778 — 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.85+preprod-eba6548ac50f.