Skip to content
CAI
Software that uses CAICheck a score

idugalic/axon-contract-testing-demo

57.6

Adequate · 20 September 2026

617

lines of production code

Java

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a demonstration project illustrating contract testing between an ordering service and a shipping service using the Axon Framework. It implements a saga-based workflow where the ordering service produces commands and events, such as shipment preparation and arrival, which are consumed by the shipping service. The codebase specifically focuses on validating these inter-service message contracts using Pact to ensure serialization and event handling compliance.

Test coverage

Added Pact consumer tests for OrderSaga message contracts; Added contract tests for shipping command interactions.

Dependencies

Upgrade to Spring Boot 2.3 and add Pact contract testing dependencies

The project has been renamed to 'axon-contract-testing-demo' and upgraded to Spring Boot 2.3.0.RELEASE, which includes a corresponding update to the Axon Framework version (4.3.5). New dependencies for Pact contract testing have been added: the consumer libraries (pact-jvm-consumer-junit5 and pact-jvm-consumer-java8) in the ordering module, and the provider library (pact-jvm-provider-junit5) in the shipping module. Additionally, the axon-test library was added to the shipping module for testing support, and the maven-surefire-plugin was configured in both modules to disable the system classloader.

(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

This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.

Score

  • CAI 68 → 58 (-10.1)
  • Rubric changed (rubric-2026.08.17 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 100 → 99 (-1.1)
  • Architecture 52 (new)
  • Maturity 78 → 59 (-19.0)
  • Readiness 47 → 47 (+0.0)
  • Security 85 → 95 (+9.7)
  • Domain Modelling 100 → 100 (+0.0)
  • Event Sourcing 100 → 100 (+0.0)

Resolved (9)

  • Coverage not included — suite not readable by the collector
  • Dependency hygiene not measured — no supported dependency manifest was read
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • No exposed public API
  • Test reliability not included
  • change coupling unreadable for .java — no production change history could be paired for this repository's own source
  • early-stage repository — too little history to judge knowledge freshness
  • single-maintainer — knowledge-concentration (bus factor) risk

New (14)

  • Dependency hygiene PARTLY measured — Maven/Gradle declarations read, no dependency graph resolved
  • Documentation: no contributor guidance (README.md)
  • Documentation: no installation or build instructions (README.md)
  • Documentation: no usage examples (README.md)
  • Duplicated block (7 lines × 2) (ordering/src/main/java/com/example/orderdemo/OrderdemoOrderingApplication.java)
  • Duplicated block (7 lines × 2) (ordering/src/main/java/com/example/orderdemo/OrderdemoOrderingApplication.java)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • Medium: security finding (details withheld)
  • Medium: security finding (details withheld)
  • No dependency advisory monitoring
  • Scanner failed to run — not a clean result
  • Scanner failed to run — not a clean result
  • Workflow token permissions not restricted

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

Survey your own repository

idugalic/axon-contract-testing-demo 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 20 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 63fb06ac8ef2466687945e1f793c25b76b453616 — 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-28e75b8e3254.