cbcrouse/CleanArchitecture
58.4
Adequate · 8 November 2026
2.8k
lines of production code
C#
primary language
7
measurements over time
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 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 52 → 58 (+6.4)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 80 → 79 (-0.8)
- Architecture 82 → 82 (-0.1)
- Maturity 50 → 64 (+13.4)
- Readiness 54 → 58 (+4.1)
- Security 45 → 51 (+5.4)
- Performance 70 → 77 (+7.4)
Resolved (16)
- End-of-life runtime: .NET net7.0 (templates/ca-sln/tst/Presentation.Console.Tests/Presentation.Console.Tests.csproj)
- Off the main sequence: Common (templates/ca-sln-sql/src/Common) (templates/ca-sln-sql/src/Common/Common.csproj)
- Off the main sequence: Common (templates/ca-sln/src/Common) (templates/ca-sln/src/Common/Common.csproj)
- Orphaned file (templates/ca-sln-sql/src/Common/AutoFixture/AutoFixtureFactory.cs)
- Orphaned file (templates/ca-sln-sql/src/Common/DataAnnotations/DataAnnotationsValidator.cs)
- Orphaned file (templates/ca-sln-sql/src/Infrastructure/Extensions/ServiceCollectionExtensions.cs)
- Orphaned file (templates/ca-sln-sql/src/Infrastructure/Startup/AppStartupOrchestrator.cs)
- Orphaned file (templates/ca-sln-sql/src/Persistence.Sql/MyDbContext.cs)
- Orphaned file (templates/ca-sln-sql/src/Presentation.API/Extensions/ServiceCollectionExtensions.cs)
- Orphaned file (templates/ca-sln-sql/src/Presentation.API/Startup.cs)
- Orphaned file (templates/ca-sln/src/Common/DataAnnotations/DataAnnotationsValidator.cs)
- Orphaned file (templates/ca-sln/src/Infrastructure/Extensions/ServiceCollectionExtensions.cs)
- Orphaned file (templates/ca-sln/src/Presentation.API/Extensions/ServiceCollectionExtensions.cs)
- Orphaned file (templates/ca-sln/src/Presentation.API/Startup.cs)
- Orphaned files with no living knowledge
- Vulnerable: AutoMapper
New (22)
- End-of-life runtime: .NET net7.0 (templates/ca-sln-sql/src/Infrastructure/Infrastructure.csproj)
- End-of-life runtime: .NET net7.0 (templates/ca-sln-sql/src/Persistence.Sql/Persistence.Sql.csproj)
- End-of-life runtime: .NET net7.0 (templates/ca-sln-sql/src/Presentation.API/Presentation.API.csproj)
- End-of-life runtime: .NET net7.0 (templates/ca-sln-sql/src/Presentation.AzureFunction/Presentation.AzureFunction.csproj)
- End-of-life runtime: .NET net7.0 (templates/ca-sln-sql/src/Presentation.Console/Presentation.Console.csproj)
- End-of-life runtime: .NET net7.0 (templates/ca-sln-sql/tst/Business.Tests/Business.Tests.csproj)
- End-of-life runtime: .NET net7.0 (templates/ca-sln-sql/tst/Common.Tests/Common.Tests.csproj)
- End-of-life runtime: .NET net7.0 (templates/ca-sln-sql/tst/Infrastructure.Tests/Infrastructure.Tests.csproj)
- End-of-life runtime: .NET net7.0 (templates/ca-sln-sql/tst/Mapping.Tests/Mapping.Tests.csproj)
- End-of-life runtime: .NET net7.0 (templates/ca-sln-sql/tst/Persistence.Tests/Persistence.Sql.Tests.csproj)
- End-of-life runtime: .NET net7.0 (templates/ca-sln-sql/tst/Presentation.API.Tests/Presentation.API.Tests.csproj)
- End-of-life runtime: .NET net7.0 (templates/ca-sln-sql/tst/Presentation.Console.Tests/Presentation.Console.Tests.csproj)
- End-of-life runtime: .NET net7.0 (templates/ca-sln/src/Infrastructure/Infrastructure.csproj)
- End-of-life runtime: .NET net7.0 (templates/ca-sln/src/Presentation.API/Presentation.API.csproj)
- End-of-life runtime: .NET net7.0 (templates/ca-sln/src/Presentation.AzureFunction/Presentation.AzureFunction.csproj)
- End-of-life runtime: .NET net7.0 (templates/ca-sln/src/Presentation.Console/Presentation.Console.csproj)
- End-of-life runtime: .NET net7.0 (templates/ca-sln/tst/Business.Tests/Business.Tests.csproj)
- End-of-life runtime: .NET net7.0 (templates/ca-sln/tst/Common.Tests/Common.Tests.csproj)
- End-of-life runtime: .NET net7.0 (templates/ca-sln/tst/Infrastructure.Tests/Infrastructure.Tests.csproj)
- End-of-life runtime: .NET net7.0 (templates/ca-sln/tst/Persistence.Tests/Persistence.Tests.csproj)
- …and 2 more
API surface
- Unchanged — 2 HTTP endpoints
Architecture
- Unchanged — 4 containers · 0 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
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 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 fc362db4b5d7771c44b4c2664ebaa282774e5fac — 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.