Skip to content
CAI
Software that uses CAICheck a score

referbruv/MailingNinja

43.0

Weak · 8 November 2026

674

lines of production code

C#

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

MailingNinja is a .NET 6 ASP.NET Core application that manages a 'Ninja' domain with a SQLite-backed data layer. It provides services for generating PDF reports and sending emails with HTML content and attachments. The system utilizes CQRS with MediatR and implements a repository pattern for data access.

Features

Add email, PDF, and template services to the application

Users can now generate PDF reports and send email reports with HTML content, header images, and attachments. The application registers new services for mailing (using MailKit), PDF conversion (using DinkToPdf), and template rendering, and exposes these capabilities through the Home controller's 'Export to PDF' and 'Send Report to Mail' actions.

MailingNinja.Core, MailingNinja.Web · high confidence

Initial commit: adds solution, license, and documentation

The repository is initialized with a .NET 6 ASP.NET Core solution (MailingNinja) that demonstrates sending emails with attachments using MailKit and MimeKit. This initial commit adds the solution file (MailingNinja.sln) defining the project structure (Core, Infrastructure, Web), a MIT license (LICENSE.md), a .gitignore, and a comprehensive README.md explaining the boilerplate's features such as Razor view rendering, PDF generation with DinkToPdf, and CQRS with MediatR.

(repo-wide) · high confidence

Initial database and infrastructure setup for the Ninja domain

Added the core data access layer for the Ninja entity, including a MediatR query handler (GetAllForGivenDate) that retrieves Ninja records by creation date. The infrastructure layer now provides a SQLite-backed Entity Framework Core context, a generic repository pattern, and a Unit of Work implementation, all registered in the service collection. Initial database migrations and model snapshots for the Ninjas table have also been added to support the new data model.

MailingNinja.Core/Handlers/Ninjas, MailingNinja.Infrastructure, MailingNinja.Web/wwwroot · high confidence

Behavioural changes

Removed legacy ASP.NET Core 2.2 project structure

The application's default MVC scaffolding and supporting assets have been removed. This includes the HomeController, TemplateController, and associated Razor views (Home, Privacy, Error, Templates), as well as the in-memory data providers (ReaderStore, User, Roles) and the Bootstrap 4.3.1 CSS files. These files are no longer part of the application.

(repo-wide) · high confidence

Dependencies

Migrated to .NET 6.0 and updated dependencies

The project has been upgraded to .NET 6.0, replacing the previous .NET Core 3.1 target. This includes adding new package references for libraries such as AutoMapper, DinkToPdf, MailKit, MediatR, FluentValidation, and MimeKit, alongside updated Entity Framework Core dependencies.

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

Lenses

  • Code Health 74 → 78 (+3.3)
  • Architecture 86 → 86 (+0.0)
  • Maturity 44 → 50 (+5.8)
  • Readiness 35 → 40 (+5.0)
  • Security 33 → 33 (+0.9)
  • Accessibility 55 → 55 (+0.9)
  • Performance 100 → 100 (+0.0)

Resolved (9)

  • Documentation: no contributor guidance (README.md)
  • Documentation: no installation or build instructions (README.md)
  • Documentation: no usage examples (README.md)
  • End-of-life runtime: .NET net6.0 (MailingNinja.Web/MailingNinja.Web.csproj)
  • Vulnerable: MailKit
  • Vulnerable: MimeKit
  • XML-doc coverage: MailingNinja.Core (MailingNinja.Core/MailingNinja.Core.csproj)
  • XML-doc coverage: MailingNinja.Infrastructure (MailingNinja.Infrastructure/MailingNinja.Infrastructure.csproj)
  • XML-doc coverage: MailingNinja.Web (MailingNinja.Web/MailingNinja.Web.csproj)

New (5)

  • Documentation: no build, run or usage example (README.md)
  • Documentation: no map of the repository's parts (README.md)
  • End-of-life runtime: .NET net6.0 (MailingNinja.Core/MailingNinja.Core.csproj)
  • End-of-life runtime: .NET net6.0 (MailingNinja.Infrastructure/MailingNinja.Infrastructure.csproj)
  • End-of-life runtime: .NET net6.0 (MailingNinja.Web/MailingNinja.Web.csproj)

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

referbruv/MailingNinja 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 80fd9a36f62f034fa2bcc779310c24fe7af8d4d9 — 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.