Skip to content
CAI
Software that uses CAICheck a score

wmeints/efcore-ddd-demo

68.4

Adequate · 8 November 2026

286

lines of production code

C#

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a .NET-based web API that manages a bakery domain, specifically focusing on tracking pie portions and ingredients. It enforces strict domain integrity through immutable entities and maintains comprehensive test coverage for both domain and infrastructure layers. Recent efforts have centered on migrating to .NET 6 and hardening the data model for better Entity Framework Core compatibility, indicating a focus on stability and modernization rather than new feature expansion.

Architecture

  • Container: Bakery.Api (web-api)
  • Container: Database (database)
  • Bounded contexts: Domain

How it got here

2021 — Initial scaffolding and domain setup

11 changes.

The project began with foundational scaffolding using .NET 5 and Entity Framework Core, establishing the core Pie domain with features for portion size tracking and ingredient management. The team prioritized code quality by implementing comprehensive unit and integration tests for both domain and infrastructure layers. Subsequent work extended the domain by introducing category assignment for pies and aligning test project references with the new directory structure.

2022 — Domain hardening and .NET 6 migration

6 changes.

This period focused on strengthening the domain model by enforcing immutability in the Pie and Portions entities and refactoring the Pie entity for better Entity Framework Core compatibility. The team also upgraded the project to .NET 6 and updated core dependencies. A security regression was detected, though no immediate code changes were committed to address it during this week.

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 67 → 68 (+1.0)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 65 → 65 (+0.0)
  • Architecture 84 → 84 (+0.0)
  • Maturity 85 → 90 (+5.5)
  • Readiness 89 → 89 (+0.0)
  • Security 56 → 60 (+3.7)
  • Domain Modelling 100 → 81 (-18.9)
  • Performance 100 → 100 (+0.0)

Resolved (5)

  • Documentation: no installation or build instructions (README.md)
  • End-of-life runtime: .NET net6.0 (tests/Infrastructure.Tests/Bakery.Infrastructure.Tests.csproj)
  • XML-doc coverage: Bakery.Api (src/Api/Bakery.Api.csproj)
  • XML-doc coverage: Bakery.Domain (src/Domain/Bakery.Domain.csproj)
  • XML-doc coverage: Bakery.Infrastructure (src/Infrastructure/Bakery.Infrastructure.csproj)

New (5)

  • End-of-life runtime: .NET net6.0 (src/Api/Bakery.Api.csproj)
  • End-of-life runtime: .NET net6.0 (src/Domain/Bakery.Domain.csproj)
  • End-of-life runtime: .NET net6.0 (src/Infrastructure/Bakery.Infrastructure.csproj)
  • End-of-life runtime: .NET net6.0 (tests/Domain.Tests/Bakery.Domain.Tests.csproj)
  • End-of-life runtime: .NET net6.0 (tests/Infrastructure.Tests/Bakery.Infrastructure.Tests.csproj)

Architecture

  • Unchanged — 2 containers · 1 contexts · 0 edges

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

Survey your own repository

wmeints/efcore-ddd-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 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 18ea8b1ecf42102ac20788f6be210f536695246e — 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.