Skip to content
CAI
Software that uses CAICheck a score

c5ms/modern-ddd-cargotracker

61.2

Adequate · 8 November 2026

3.1k

lines of production code

Java

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a cargo tracking service that manages the lifecycle of shipments by processing handling reports and tracking events such as arrival, handling, and misdirection. It leverages Spring Boot for application scaffolding and Apache ActiveMQ for message-based integration, while maintaining a domain model that includes Cargo, Voyage, and Location aggregates. The architecture supports multiple processing strategies (direct, thread-pooled, or message-based) to update cargo status and publish application events for external systems.

Features

Add handling report processing and cargo event tracking

The application now supports processing handling reports to update cargo status. This includes new domain models for handling reports and events, along with application services to process them via direct, thread-pooled, or message-based strategies. Additionally, the system tracks cargo lifecycle events (arrived, handled, misdirected) and publishes corresponding application events for external integration.

cargotracker · high confidence

Added domain architecture diagram for Cargo, Handling, Voyage, and Location aggregates

A new PlantUML diagram (src/uml/domain\_architecture.puml) was added to visualize the domain model. It defines the structure and relationships of key entities such as Cargo, HandlingEvent, Voyage, and Location, along with their associated value objects like RouteSpecification, Itinerary, and Delivery. This provides a visual reference for the core domain architecture.

src/uml · high confidence

Initial commit: Spring Boot application scaffolding

The pathfinder module is introduced with a standard Spring Boot application structure. This includes the main application class (PathfinderApplication) that bootstraps the Spring context, a basic application.properties file setting the application name, and a corresponding integration test (PathfinderApplicationTests) to verify the context loads correctly. Additionally, a Maven assembly descriptor (bin.xml) is added to package executable scripts and application files into a binary distribution.

pathfinder · high confidence

Removals

Removal of legacy domain model and infrastructure classes

The Cargo entity, handling event factories and repositories, location and voyage value objects, and sample data initializers have been removed from the cargotracker-service. This eliminates the legacy domain model components (including Cargo, HandlingEvent, UnLocode, VoyageNumber) and the associated infrastructure for initializing sample data, indicating a structural cleanup or migration away from these specific domain constructs.

cargotracker-service · high confidence

Dependencies

Updated Spring Boot and added ActiveMQ support to Cargo Tracker

The Cargo Tracker module has been refactored to use Spring Boot 3.3.5 and added support for Apache ActiveMQ messaging via the spring-boot-starter-activemq dependency, while also renaming the module from 'cargotracker-service' to 'cargotracker' and updating the parent artifact ID to 'modern-ddd-cargotracker'.

(dependencies) · medium 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 60 → 61 (+1.1)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 75 → 75 (+0.0)
  • Architecture 98 → 98 (-0.2)
  • Maturity 74 → 77 (+2.7)
  • Readiness 54 → 54 (+0.0)
  • Security 80 → 100 (+20.0)
  • Domain Modelling 53 → 53 (+0.0)

Resolved (2)

  • High CVE: [GHSA redacted] (cargotracker/pom.xml)
  • High CVE: [GHSA redacted] (cargotracker/pom.xml)

New (3)

  • High CVE: [GHSA redacted] (cargotracker/pom.xml)
  • High CVE: [GHSA redacted] (cargotracker/pom.xml)
  • High interface indirection

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

Survey your own repository

c5ms/modern-ddd-cargotracker 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 8 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 c8bfd81381fb03a357944e0349e52ec900288980 — the exact code this score is about.
  • Scored under rubric-2026.11.2 — 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.3+preprod-45ab2cab63de.