Skip to content
CAI
Software that uses CAICheck a score

raspu/Highlightr

51.9

Weak · 1 October 2026

1.3k

lines of production code

Swift

primary language

2

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Highlightr is a deprecated iOS and macOS library that provides syntax highlighting for code snippets using the Highlight.js engine. It supports multiple visual themes and languages, with distribution now limited exclusively to Swift Package Manager. The project includes a sample application for testing highlighting performance and theme selection, alongside defensive code updates to prevent crashes.

Features

Added syntax highlighting assets from Highlight.js v11.11.1

The application now includes the Highlight.js library (v11.11.1) and a comprehensive set of syntax highlighting themes in \src/assets\. This addition enables code syntax highlighting across the UI, with support for multiple visual styles including 1c-light, 3024, a11y-dark, a11y-light, agate, and various Atelier themes.

src/assets, src/classes · high confidence

New Highlightr sample app with language and theme selection

The Example directory now includes a complete iOS sample application that demonstrates the Highlightr library. The app features a user interface for selecting syntax highlighting languages and themes, loads corresponding sample code snippets, and includes a performance testing tool to benchmark highlighting speed.

Example · high confidence

Removals

Removal of placeholder source file

The placeholder file \ReplaceMe.swift\ has been removed from the \Pod/Classes\ directory, cleaning up the project structure by eliminating the stub code.

Pod · high confidence

Behavioural changes

End of life notice and removal of CocoaPods/Carthage support

The project is now deprecated as of 2026, with users advised to migrate to HighlighterSwift. Support for CocoaPods and Carthage installation methods has been removed, leaving Swift Package Manager as the sole supported distribution channel. Additionally, the underlying highlight.js library has been updated to version 11.11.1, and the codebase has been made more defensive to address potential crashes.

(repo-wide) · high confidence

Dependencies

Migrate example project to Swift Package Manager and add macOS support

The example project now uses Swift Package Manager (SPM) instead of CocoaPods, introducing a new Package.swift manifest and Package.resolved lock file that pins ActionSheetPicker-3.0 to version 2.7.5. The legacy Highlightr.podspec has been removed, and the example app has been updated to support macOS 10.11 via a new Highlightr\_OSX\_Example target, while the iOS example target now targets iOS 8.3.

(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 54 → 52 (-2.0)
  • Rubric changed (rubric-2026.09.11 → rubric-2026.09.18) — scores are not directly comparable.

Lenses

  • Code Health 96 → 96 (+0.0)
  • Architecture 69 → 69 (+0.0)
  • Maturity 43 → 44 (+1.4)
  • Readiness 43 → 40 (-2.7)
  • Security 95 → 95 (+0.0)

Resolved (2)

  • Documentation: contradicts the code (README.md)
  • Documentation: no licence statement (README.md)

New (1)

  • Dependency hygiene PARTLY measured — SwiftPM pinning read, dependency currency NOT established

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

Survey your own repository

raspu/Highlightr 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 da9bb2e4604da001f1d1a1adaa55f6a38509b405 — 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.