Skip to content
CAI
Software that uses CAICheck a score

spanierm42/archunit-junit5-kotlin

53.3

Adequate · 21 September 2026

41

lines of production code

Kotlin

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a Kotlin-based application built on the Spring Boot framework, structured according to the Onion Architecture pattern. It enforces architectural boundaries through automated tests using ArchUnit and relies on Gradle for its build process. The codebase has been modernized by upgrading core dependencies and aligning its internal package structure with the Onion Architecture terminology.

Behavioural changes

Renamed 'hexagonal' package to 'onion' to reflect architecture terminology

The internal package structure has been renamed from 'hexagonal' to 'onion' across the main source code. This change updates the package names and import statements for components such as AdapterCli, AdapterPersistence, AdapterRest, Application, DomainModel, and DomainService, aligning the codebase with the 'Onion Architecture' terminology as indicated by the commit message.

src/main · medium confidence

Upgraded Gradle wrapper to version 4.10.2

The Gradle wrapper has been updated from version 4.8.1 to 4.10.2, ensuring the project uses a more recent version of the Gradle build tool for improved compatibility and features.

gradle · high confidence

Test coverage

Renamed architecture test from Hexagonal to Onion

The architecture validation test has been renamed from 'HexagonalArchitectureTest' to 'OnionArchitectureTest', reflecting a terminology shift to 'Onion Architecture'. The test logic was simplified by replacing the parameterized JUnit 5 test with a direct ArchUnit slices rule, removing the need for manual adapter dependency checks.

src/test · high confidence

Dependencies

Update Kotlin, Spring Boot, and ArchUnit dependencies

The project's build configuration has been updated to use newer versions of key libraries. Kotlin is upgraded from 1.2.71 to 1.3.61, and Spring Boot is upgraded from 2.0.6.RELEASE to 2.2.5.RELEASE. Additionally, the ArchUnit library is upgraded from version 0.9.1 to 0.13.1, with the version number now managed via a centralized variable.

(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 53 → 53 (+0.0)
  • Rubric changed (rubric-2026.08.19 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 100 → 100 (+0.0)
  • Architecture 69 → 69 (+0.0)
  • Maturity 76 → 76 (+0.0)
  • Readiness 26 → 26 (+0.0)
  • Security 100 → 100 (+0.0)

Resolved (8)

  • Coverage not included — suite not readable by the collector
  • Dependency hygiene not measured — dependency manifest found but not parsed for hygiene
  • No exposed public API
  • Test reliability not included
  • complexity unreadable for .kt — 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 (4)

  • Dependency hygiene PARTLY measured — Maven/Gradle declarations read, no dependency graph resolved
  • Documentation: no installation or build instructions (README.md)
  • Documentation: no usage examples (README.md)
  • No ADRs found

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

Survey your own repository

spanierm42/archunit-junit5-kotlin 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 1e5c190b74a43785c2dabc8a8f689e74ac25e368 — 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-fa71c66cabd8.