Skip to content
CAI
Software that uses CAICheck a score

Tillman32/CleanArchitecture

36.9

Weak · 8 November 2026

1.1k

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 Clean Architecture-based blog application featuring both a server-side web interface and an offline-capable Blazor WebAssembly client. It provides full CRUD capabilities for managing articles and categories, utilizing a generic repository pattern for data access. The architecture supports both database-driven and local storage-based data persistence, enabling the application to function entirely on the client side when offline.

Features

Add article management and site structure

The application now includes a complete set of Razor Pages for managing and displaying articles. Users can view a list of articles on the home page, read individual articles, and create new articles with title, content, and image uploads. The update also introduces an 'About' page explaining the project's architecture, a standard error page, and the foundational layout and configuration files required to run the web application.

src/CleanArchitecture.ClientWeb · high confidence

Added article and category domain models, repositories, and services

Introduced the core data layer for the application, including entity classes (ArticleEntity, ArticleCategoryEntity) and their corresponding DTOs (ArticleDTO, ArticleCategoryDTO) with fields for title, content, tags, and category association. A generic repository interface (IGenericRepository) was added to standardize data access operations like GetAll, GetById, Create, Update, and Delete. Service layers (ArticleService, ArticleCategoryService) were implemented to handle business logic, including listing articles and categories, managing drafts, and mapping between entities and DTOs using AutoMapper.

src/CleanArchitecture.Core · high confidence

Added database context, generic repository, and logging infrastructure

The infrastructure layer now includes an EF Core ApplicationDbContext for managing database connections, a generic repository (GenericRepository) that uses IDbContextFactory for data access, and an NLog-based logger (NLogLogger) implementing the core logging interface. These components provide the foundational data access and logging capabilities for the application.

src/CleanArchitecture.Infrastructure · high confidence

Initial project scaffolding and documentation

The repository was initialized with a complete project structure, including a solution file defining the CleanArchitecture modules (Core, Infrastructure, ClientWeb, Test, and WASM), along with essential documentation files (README, TODOS, CLAUDE.md) and licensing. This establishes the baseline architecture and development guidelines for the application.

(repo-wide) · high confidence

WASM app now supports offline mode with local storage and seeded content

The Blazor WebAssembly application now includes a complete offline-capable data layer using local storage. A new \LocalStorageRepository\ implementation persists data in the browser's local storage, enabling full offline functionality. The app initializes with a set of pre-seeded articles and categories via a \LocalStorageDbInitializer\, ensuring the application has content to display immediately. This replaces any previous reliance on server-side databases for the WASM client, allowing the blog to function entirely on the client side.

src/CleanArchitecture.WASM · high confidence

Test coverage

Added tests for the generic repository

Added unit tests for the IGenericRepository interface, covering create, read, update, and delete operations using a mock repository and a simple entity class.

src/CleanArchitecture.Test · high confidence

Dependencies

Upgrade to .NET 10 and update key dependencies

All project files have been upgraded to target .NET 10.0. Key dependencies have been updated, including AutoMapper (12.0.1 → 15.1.1) and Microsoft.EntityFrameworkCore (10.0.0).

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

Lenses

  • Code Health 74 → 74 (+0.0)
  • Architecture 81 → 81 (+0.0)
  • Maturity 49 → 54 (+4.6)
  • Readiness 37 → 37 (+0.0)
  • Security 36 → 36 (-0.5)
  • Accessibility 27 → 27 (+0.0)
  • Performance 100 → 100 (+0.0)

Resolved (5)

  • Coverage not measured — no coverage collector is wired up
  • XML-doc coverage: CleanArchitecture.ClientWeb (src/CleanArchitecture.ClientWeb/CleanArchitecture.ClientWeb.csproj)
  • XML-doc coverage: CleanArchitecture.Core (src/CleanArchitecture.Core/CleanArchitecture.Core.csproj)
  • XML-doc coverage: CleanArchitecture.Infrastructure (src/CleanArchitecture.Infrastructure/CleanArchitecture.Infrastructure.csproj)
  • XML-doc coverage: CleanArchitecture.WASM (src/CleanArchitecture.WASM/CleanArchitecture.WASM.csproj)

New (10)

  • Deprecated: AutoMapper (src/CleanArchitecture.ClientWeb/CleanArchitecture.ClientWeb.csproj)
  • Deprecated: AutoMapper (src/CleanArchitecture.Core/CleanArchitecture.Core.csproj)
  • Deprecated: AutoMapper (src/CleanArchitecture.WASM/CleanArchitecture.WASM.csproj)
  • Documentation: no build, run or usage example (README.md)
  • Orphaned file (src/CleanArchitecture.ClientWeb/Pages/Article/Create.cshtml.cs)
  • Orphaned file (src/CleanArchitecture.ClientWeb/Startup.cs)
  • Orphaned file (src/CleanArchitecture.Core/Service/ArticleService.cs)
  • Orphaned file (src/CleanArchitecture.Infrastructure/Database/ApplicationDbInitializer.cs)
  • Orphaned file (src/CleanArchitecture.WASM/Infrastructure/LocalStorageDbInitializer.cs)
  • Orphaned files with no living knowledge

Architecture

  • Unchanged — 2 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

Tillman32/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 bb1e33647214abb49a4206d4a3fd92aea7db573d — 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.