mo7amedaliEbaid/news_clean_arch_bloc
57.8
Adequate · 21 September 2026
1.4k
lines of production code
Dart
primary language
4
measurements over time
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 watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.
Score
- CAI 56 → 58 (+1.4)
- Rubric changed (rubric-2026.08.19 → rubric-2026.09.15) — scores are not directly comparable.
Lenses
- Code Health 100 → 100 (+0.0)
- Architecture 100 → 84 (-15.8)
- Maturity 32 → 39 (+7.1)
- Readiness 57 → 55 (-1.8)
- Security 93 → 97 (+4.5)
- Domain Modelling 100 → 100 (+0.0)
Resolved (8)
- Coverage not included — suite not readable by the collector
- Dependency hygiene not measured — dependency manifest found but not parsed for hygiene
- High CVE: [GHSA redacted] (pubspec.lock)
- No exposed public API
- Test reliability not included
- complexity unreadable for .dart, .kt, .swift — churn × complexity hotspots could not be measured
- early-stage repository — too little history to judge knowledge freshness
- single-maintainer — knowledge-concentration (bus factor) risk
New (8)
- Dependency hygiene PARTLY measured — Maven/Gradle declarations read, no dependency graph resolved
- Documentation: no installation or build instructions (README.md)
- Documentation: no usage examples (README.md)
- High CVE: [GHSA redacted] (pubspec.lock)
- Medium: security finding (details withheld)
- No ADRs found
- No dependency advisory monitoring
- Workflow token permissions not restricted
Written by watchdog.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 21 September 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.09.15 — the same rubric and the same method as every other entry in this index.
- Measured by watchdog.canine.dev using codehealth-analyzer preprod-fa71c66cabd8.