Skip to content
CAI
Software that uses CAICheck a score

mo7amedaliEbaid/news_clean_arch_bloc

55.4

Adequate · 8 November 2026

1.4k

lines of production code

Dart

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a cross-platform mobile application designed for browsing and managing news articles. It leverages a dependency injection architecture to coordinate remote API calls and local database storage for bookmarks. The application supports both light and dark themes and is restricted to mobile platforms, having removed all desktop native code.

Features

Introduce article management with local and remote data sources

Added the complete data and presentation layers for the Articles feature, enabling users to view, save, and remove articles. The change introduces a local data source using the Floor library for persistent storage of bookmarks, and a remote data source using Retrofit and Dio to fetch articles from a news API. The repository layer coordinates between these sources, while domain use cases and BLoC state management handle the application logic for fetching and managing article lists.

lib/features/articles · high confidence

Behavioural changes

Initialize dependency injection and configure app root

The application now initializes a dependency injection container (using GetIt) to manage services like the database, API client, repositories, use cases, and BLoCs. The app entry point (main.dart) has been refactored to call \initializeDependencies()\ before running the app, and the root widget now wraps the \MaterialApp\ with a \BlocProvider\ for \RemoteArticleBloc\ and applies a custom light theme.

lib · high confidence

Introduced a new app configuration and theming system

The app now uses a centralized configuration system to manage visual design tokens. This includes a new theming engine that defines light and dark mode palettes, typography styles, and layout dimensions. Additionally, the app's navigation routes have been consolidated into a single routing class that handles the home, article details, and bookmarks pages.

lib/config · high confidence

Refactored core architecture with new constants and use-case base

The core library introduces a new APPCONSTS class to centralize API configuration (base URL, API key, default country/category) and a new UseCase abstract class to standardize repository interactions. Additionally, the DataState hierarchy is updated: DataSuccess is renamed to DataLoaded, and both DataLoaded and DataError are converted to interface classes.

lib/core · high confidence

Removed native platform code for Linux, macOS, and Windows

The native application code and build configuration for Linux, macOS, and Windows have been removed. This includes all CMake build files, platform-specific source files (such as \main.cc\ and \my\_application.cc\ for Linux, \AppDelegate.swift\ and \MainFlutterWindow.swift\ for macOS, and the Windows runner directory), as well as associated project files like \.xcconfig\ and \.pbxproj\ files. The removal of these files indicates that the application is no longer building for these desktop platforms.

linux, macos, windows · high confidence

Dependencies

Update build tooling dependencies and remove unused packages

The project's dependency graph has been updated: \build\ was upgraded from 2.1.1 to 2.3.1, \build\_config\ from 1.0.0 to 1.1.1, and \build\_runner\ from 2.1.2 to 2.2.0. Additionally, the \retrofit\ and \retrofit\_generator\ dependencies were removed, and the \intl\, \ionicons\, and \pedantic\ packages were removed from the project.

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

Lenses

  • Code Health 88 → 88 (+0.0)
  • Architecture 85 → 85 (+0.0)
  • Maturity 47 → 47 (+0.0)
  • Readiness 38 → 38 (+0.0)
  • Security 98 → 98 (+0.6)
  • Domain Modelling 100 → 100 (+0.0)
  • Performance 100 → 100 (+0.0)

Resolved (3)

  • Documentation: no installation or build instructions (README.md)
  • Documentation: no licence statement (README.md)
  • Documentation: no usage examples (README.md)

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

Survey your own repository

mo7amedaliEbaid/news_clean_arch_bloc 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 f3d3ddd898e20e22174961a02c96574d47164b45 — 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.