Skip to content
CAI
Software that uses CAICheck a score

aditimishra541/event-sourcing-cqrs-examples

60.2

Adequate · 10 November 2026

1.4k

lines of production code

Java

primary language

9

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This is a core banking service built on the Dropwizard framework, designed to manage client and account data using an event-sourced domain model. It provides a RESTful API for account operations such as deposits and withdrawals, alongside read models for transactions and client lists. The system is supported by comprehensive test coverage and modernized build configurations.

Features

Initial release of the banking service core

The banking service is introduced with a complete domain model for accounts and clients, including event sourcing infrastructure (EventStore, Aggregate base class) and in-memory persistence. The API exposes resources for managing clients and accounts (open, deposit, withdraw) and provides read models for account transactions and client account lists, all wired through a Dropwizard application bootstrap.

src/main · high confidence

Test coverage

Added comprehensive test coverage for the banking service

Added unit and integration tests for domain models (Aggregate, Account, Client, Email), exception mappers, the event store, projections, and the retry mechanism. Integration tests verify the full HTTP API for clients, accounts, deposits, withdrawals, and health checks, ensuring the application starts and responds correctly.

src/test · high confidence

Dependencies

Updated project dependencies and build configuration

The project's build configuration (pom.xml) has been updated to use newer versions of key libraries, including Dropwizard 2.0.9, JUnit 5.6.2, Guava 29.0-jre, and Commons Lang3 3.10. Additionally, the Java target version was raised to 12, and build tooling was enhanced with Error Prone, Checkstyle, and Enforcer plugins.

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

Lenses

  • Code Health 74 → 74 (+0.0)
  • Architecture 69 → 69 (+0.0)
  • Maturity 51 → 57 (+5.0)
  • Readiness 53 → 53 (+0.4)
  • Security 76 → 91 (+14.3)
  • Domain Modelling 90 → 90 (+0.0)

Resolved (4)

  • Dependency hygiene PARTLY measured — Maven/Gradle declarations read, no dependency graph resolved
  • Medium CVE: [GHSA redacted] (pom.xml)
  • No assertions: retriesGetUpToMaxAttemptsWithoutSharedStateBetweenCalls (src/test/java/bankservice/service/RetrierTest.java)
  • No assertions: returnClientAccounts (src/test/java/bankservice/it/ClientAccountsIT.java)

New (113)

  • High CVE: [GHSA redacted] (pom.xml)
  • Outdated (compile -- module aopalliance.repackaged (auto)): org.glassfish.hk2.external:aopalliance-repackaged
  • Outdated (compile -- module argparse4j (auto)): net.sourceforge.argparse4j:argparse4j
  • Outdated (compile -- module com.codahale.metrics [auto]): io.dropwizard.metrics:metrics-core
  • Outdated (compile -- module com.codahale.metrics.annotation [auto]): io.dropwizard.metrics:metrics-annotation
  • Outdated (compile -- module com.codahale.metrics.health [auto]): io.dropwizard.metrics:metrics-healthchecks
  • Outdated (compile -- module com.codahale.metrics.jersey2 [auto]): io.dropwizard.metrics:metrics-jersey2
  • Outdated (compile -- module com.codahale.metrics.jetty9 [auto]): io.dropwizard.metrics:metrics-jetty9
  • Outdated (compile -- module com.codahale.metrics.jmx [auto]): io.dropwizard.metrics:metrics-jmx
  • Outdated (compile -- module com.codahale.metrics.json [auto]): io.dropwizard.metrics:metrics-json
  • Outdated (compile -- module com.codahale.metrics.jvm [auto]): io.dropwizard.metrics:metrics-jvm
  • Outdated (compile -- module com.codahale.metrics.logback [auto]): io.dropwizard.metrics:metrics-logback
  • Outdated (compile -- module com.codahale.metrics.servlets [auto]): io.dropwizard.metrics:metrics-servlets
  • Outdated (compile -- module com.fasterxml.classmate): com.fasterxml:classmate
  • Outdated (compile -- module com.fasterxml.jackson.annotation): com.fasterxml.jackson.core:jackson-annotations
  • Outdated (compile -- module com.fasterxml.jackson.core): com.fasterxml.jackson.core:jackson-core
  • Outdated (compile -- module com.fasterxml.jackson.databind): com.fasterxml.jackson.core:jackson-databind
  • Outdated (compile -- module com.fasterxml.jackson.dataformat.yaml): com.fasterxml.jackson.dataformat:jackson-dataformat-yaml
  • Outdated (compile -- module com.fasterxml.jackson.datatype.guava): com.fasterxml.jackson.datatype:jackson-datatype-guava
  • Outdated (compile -- module com.fasterxml.jackson.datatype.jdk8): com.fasterxml.jackson.datatype:jackson-datatype-jdk8
  • …and 93 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

aditimishra541/event-sourcing-cqrs-examples 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 10 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 64b56d99f9908f8bfc6195a7eb19accbb80ac371 — 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.4+preprod-464a0040a931.