Skip to content
CAI
Software that uses CAICheck a score

cbcrouse/CleanArchitecture

56.0

Adequate · 21 September 2026

1.9k

lines of production code

C#

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a .NET template generator that scaffolds Clean Architecture solutions, offering both standard and SQL-backed project structures. It provides a standardized codebase with built-in support for Docker, dependency injection, and configuration management. The system includes comprehensive unit test coverage and an automated validation script to ensure template integrity and catch regressions.

Features

Introduce SQL-based application template with Docker and test scaffolding

The ca-sln-sql template now provides a complete, ready-to-use solution structure for SQL-backed applications. This includes a standardized solution file (.sln) organizing projects into src and tst folders, along with supporting files like .gitignore and .dockerignore. The template adds Docker support via docker-compose files and a .dcproj for container orchestration. It also introduces a common library (src/Common) containing utilities for configuration, data annotation validation, and AutoFixture-based test data generation, alongside MediatR request logging and metrics behaviors.

templates/ca-sln-sql · high confidence

Behavioural changes

Updated the ca-sln template to support .NET 7 and modernized startup orchestration

The ca-sln template has been updated to target .NET 7 and includes a new 'ca-sln-sql' variant. The template now supports 'dotnet new' generation and utilizes a new StartupOrchestration.NET framework for dependency registration. Additionally, the template now includes a .gitignore file, a ReSharper settings file, and a comprehensive set of configuration classes and extension methods for handling environment-specific settings, validation, and service registration.

templates/ca-sln · high confidence

Test coverage

Added automated test script for .NET templates; Added unit tests for the ca-sln-sql template; Added unit tests for the template project structure.

Dependencies

Added .NET 7-based template variants with updated dependencies

The template package was updated to version 1.3.6, and two new template variants were added: 'ca-sln-sql' and 'ca-sln'. Both variants target .NET 7 and include updated third-party library dependencies, such as MediatR 12.0.1, FluentValidation 11.5.1, and various Microsoft.Extensions packages at version 7.0.x.

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

Lenses

  • Code Health 84 → 70 (-14.2)
  • Architecture 82 → 82 (+0.0)
  • Maturity 53 → 53 (+0.0)
  • Readiness 56 → 59 (+2.4)
  • Security 52 → 53 (+1.8)
  • Performance 60 → 60 (+0.0)

Resolved (23)

  • BarePragmaDisable (templates/ca-sln-sql/src/Presentation.Console/Program.cs)
  • Bounded contexts not declared
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • IL efficiency: 1 authored method(s) exceed the IL budget (templates/ca-sln/src/Infrastructure/Startup/AppStartupOrchestrator.cs)
  • LLM evaluation failed
  • LLM evaluation failed
  • Medium CVE: Azure.Identity 1.6.0
  • Medium CVE: Azure.Identity 1.6.0
  • Medium IaC: CKV2_GHA_1 (.github/workflows/build.ca-sln-sql.yml)
  • Medium IaC: CKV2_GHA_1 (.github/workflows/build.ca-sln.yml)
  • Medium IaC: CKV_DOCKER_3 (templates/ca-sln-sql/src/Presentation.API/Dockerfile)
  • …and 3 more

New (38)

  • Documentation: no installation or build instructions (README.md)
  • Documentation: no usage examples (README.md)
  • Duplicated block (10 lines × 2) (templates/ca-sln-sql/src/Common/DataAnnotations/DataAnnotationsValidator.cs)
  • End-of-life runtime: .NET net7.0
  • FileScopedPragmaDisable (templates/ca-sln-sql/src/Presentation.Console/Program.cs)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • High: security finding (details withheld)
  • …and 18 more

API surface

  • Unchanged — 2 HTTP endpoints

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

Survey your own repository

cbcrouse/CleanArchitecture 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 fc362db4b5d7771c44b4c2664ebaa282774e5fac — 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-7e99f679af8e.