Skip to content
CAI
Software that uses CAICheck a score

janithl/react-clean-arch

41.5

Weak · 8 November 2026

265

lines of production code

JavaScript

with TypeScript

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This is a TypeScript-based application that manages items through a layered architecture comprising a domain, repository, and service layers. It abstracts data retrieval from hardcoded URLs into a structured service interface, improving testability and separation of concerns. The system also includes standard build tooling and updated dependencies to support TypeScript compilation and source map generation.

Features

Added core domain, repository, and service layers for item management

Introduced the foundational architecture for item management by adding the Item entity, an ItemRepository interface, and an ItemService use-case layer. The infrastructure layer now provides a concrete ItemRepositoryImpl that fetches item data from a remote JSON source, enabling the application to retrieve and process item lists through a clean, layered design.

src/core · high confidence

Behavioural changes

Refactored item loading to use service layer

The mechanism for loading the item list has been refactored to use a service layer (ItemServiceImpl) and repository (ItemRepositoryImpl) instead of a direct fetch() call to a hardcoded JSON URL. This change improves testability and separation of concerns by abstracting the data source, meaning the application now retrieves items through a defined service interface rather than a direct HTTP request.

src/app · medium confidence

Dependencies

Updated build dependencies and upgraded several packages

Added devDependencies for 'awesome-typescript-loader' and 'source-map-loader' to support TypeScript compilation and source map generation. Upgraded several production dependencies to newer versions: 'acorn' to 5.7.4, 'bn.js' to 4.12.0, 'elliptic' to 6.5.4, 'handlebars' to 4.7.7, and 'follow-redirects' to 1.13.0, among others listed in the lockfile.

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

Lenses

  • Code Health 72 → 72 (+0.0)
  • Architecture 69 → 69 (+0.0)
  • Maturity 45 → 45 (+0.0)
  • Readiness 18 → 18 (+0.0)
  • Security 60 → 100 (+40.0)
  • Performance 100 → 100 (+0.0)

Resolved (8)

  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)
  • Medium CVE: [GHSA redacted] (yarn.lock)
  • Medium CVE: [GHSA redacted] (yarn.lock)
  • Medium CVE: [GHSA redacted] (yarn.lock)
  • Medium CVE: [GHSA redacted] (yarn.lock)

New (7)

  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)
  • High CVE: [GHSA redacted] (yarn.lock)
  • Medium CVE: [GHSA redacted] (yarn.lock)
  • Medium CVE: [GHSA redacted] (yarn.lock)
  • Medium CVE: [GHSA redacted] (yarn.lock)

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

Survey your own repository

janithl/react-clean-arch 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 fcca3f4f7da19ce82669b5057d9dc90f9b0607e2 — 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-bb0cb800cd0f.