Skip to content
CAI
Software that uses CAICheck a score

ivanpaulovich/clean-architecture-kata-dojo

74.1

Adequate · 8 November 2026

1.8k

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 is a .NET-based banking application built on Clean Architecture principles, designed to manage customer accounts and financial transactions. It provides core capabilities for registering customers, depositing and withdrawing funds, and retrieving account details through a Web API. The system is supported by a comprehensive test suite covering domain logic, use cases, and API integration.

Features

Initial project structure and documentation for Clean Architecture Kata

The repository now includes the solution file (Clean-Architecture.sln) defining the project structure for a Clean Architecture kata, encompassing the Manga.Application, Manga.Domain, Manga.Infrastructure, and Manga.WebApi projects, along with corresponding test projects. The README provides instructions for compiling the .NET Core solution and outlines the domain model and use cases, such as account registration, balance management, and withdrawal limits.

(repo-wide) · high confidence

Initial release of the Manga banking application

The application is introduced with core domain models for Accounts and Customers, including value objects for Name, SSN, and Amount. The feature set includes use cases for registering a new customer and account, depositing and withdrawing funds, and retrieving account or customer details. Infrastructure is provided via an in-memory data access layer and a Web API layer that exposes these capabilities, supported by exception handling and validation filters.

(repo-wide) · high confidence

Test coverage

Initial test suite for domain, use cases, and API integration

Added comprehensive test coverage for the Manga application, including domain unit tests for Account, Amount, Credit, Customer, Debit, Name, SSN, and TransactionCollection; use-case tests for deposit, withdraw, and register operations; and an integration test for customer registration, deposit, withdrawal, and account closure via the Web API.

test · high confidence

Dependencies

Initial project structure and dependencies

Added .csproj files for the Manga application layers (Domain, Application, Infrastructure, WebApi) and corresponding test projects. This establishes the build configuration, target frameworks (netstandard2.0 and netcoreapp2.0), and initial package references including Autofac, AutoMapper, Serilog, Swashbuckle, xUnit, and related testing utilities.

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

Lenses

  • Code Health 70 → 70 (+0.0)
  • Architecture 94 → 94 (+0.0)
  • Maturity 91 → 91 (+0.0)
  • Readiness 75 → 80 (+5.5)
  • Security 62 → 71 (+9.3)
  • Domain Modelling 78 → 78 (+0.0)
  • Performance 100 → 100 (+0.0)

Resolved (12)

  • Coverage not measured — no coverage collector is wired up
  • End-of-life runtime: .NET netcoreapp2.0 (test/Manga.WebApi.Tests/Manga.WebApi.Tests.csproj)
  • Inconsistent terminology for the Swedish personal identity number. The parameter 'personnummer' and property 'Personnummer' use the Swedish term, while the domain model and output use 'SSN' (Social Security Number, a US concept). This mixes cultural contexts for the same underlying data concept.
  • Vulnerable: Microsoft.AspNetCore.All
  • Vulnerable: Microsoft.NETCore.App
  • XML-doc coverage: Manga.Application (src/Manga.Application/Manga.Application.csproj)
  • XML-doc coverage: Manga.Domain (src/Manga.Domain/Manga.Domain.csproj)
  • XML-doc coverage: Manga.Infrastructure (src/Manga.Infrastructure/Manga.Infrastructure.csproj)
  • XML-doc coverage: Manga.WebApi (src/Manga.WebApi/Manga.WebApi.csproj)
  • redundant comment (src/Manga.Infrastructure/InMemoryDataAccess/Module.cs)
  • redundant comment (src/Manga.Infrastructure/Modules/WebApiModule.cs)
  • redundant comment (test/Manga.Domain.Tests/AccountTests.cs)

New (5)

  • Documentation: no map of the repository's parts (README.md)
  • End-of-life runtime: .NET netcoreapp2.0 (src/Manga.WebApi/Manga.WebApi.csproj)
  • End-of-life runtime: .NET netcoreapp2.0 (test/Manga.Domain.Tests/Manga.Domain.Tests.csproj)
  • End-of-life runtime: .NET netcoreapp2.0 (test/Manga.UseCases.Tests/Manga.UseCases.Tests.csproj)
  • End-of-life runtime: .NET netcoreapp2.0 (test/Manga.WebApi.Tests/Manga.WebApi.Tests.csproj)

API surface

  • Unchanged — 6 HTTP endpoints

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

ivanpaulovich/clean-architecture-kata-dojo 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 a4897cb278354d986ec2f0d8e75a850c4354b8e8 — 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.