amirk3321/whatsApp_clone
43.8
Weak · 8 November 2026
3.3k
lines of production code
Dart
primary language
7
measurements over time
What this system is
This is a Flutter-based mobile application that facilitates one-to-one chat and phone-based authentication. It leverages the BLoC pattern for state management and utilizes Firebase for remote data sources, including Firestore for messaging and authentication services. The system integrates with device contacts and manages user sessions through a structured dependency injection container.
Features
Added phone authentication and chat data layer
Introduced a new data and domain layer to support phone-based authentication and one-to-one chat functionality. This includes the \FirebaseRemoteDataSource\ and its implementation for handling Firebase Auth operations (verify phone number, sign in/out, get current user ID) and Firestore interactions (creating chat channels, sending/retrieving messages, managing user and chat entities). The change also adds local data sources for retrieving device contacts and corresponding repository and use-case classes to facilitate the phone authentication flow and chat messaging features.
lib/domain · high confidence
Introduces BLoC-based state management and dependency injection for chat, authentication, and user features
The application now uses the BLoC pattern for state management, introducing dedicated Cubits for authentication (AuthCubit), phone verification (PhoneAuthCubit), communication (CommunicationCubit), and user management (UserCubit). These are wired via a new injection container (GetIt) that registers all use cases, repositories, and data sources. The UI layer is updated to consume these Cubits, enabling features like one-to-one chat, contact selection, and status display.
lib, lib/presentation · high confidence
Behavioural changes
Android app configures Firebase and updates Gradle build system
The Android module now includes a google-services.json file for Firebase integration, granting the app permissions to read and write contacts, and upgrades the Gradle wrapper from version 5.6.2 to 6.5.
android · high confidence
Test coverage
Removed obsolete Flutter widget test
The default Flutter counter widget test in test/widget\_test.dart has been removed. This eliminates a test that no longer reflects the application's current state, ensuring the test suite only covers active features.
test · high confidence
Dependencies
Updated Android build configuration and Dart dependencies
The Android build system was updated to use Gradle 4.1.0 and the Google Services plugin 4.3.3, with the latter applied to the app-level build.gradle. In the Dart/Flutter project, several dependencies were added or updated: get\_it (5.0.1), contacts\_service (0.4.6), font\_awesome\_flutter (8.8.1), and intl (0.16.0). Additionally, the pubspec.lock reflects various transitive dependency updates (e.g., async, collection, matcher, path, stack\_trace, test\_api) and the removal of unused packages like archive, args, convert, crypto, image, and petitparser.
(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 44 → 44 (-0.4)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 64 → 64 (+0.0)
- Architecture 95 → 95 (+0.0)
- Maturity 54 → 54 (+0.0)
- Readiness 15 → 15 (+0.0)
- Security 92 → 87 (-5.0)
- Domain Modelling 100 → 100 (+0.0)
- Performance 100 → 100 (+0.0)
New (1)
- Documentation: no build, run or usage example (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
amirk3321/whatsApp_clone 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 cd8b2f6e2adf623cd4e8dee9c6a97a6da6046607 — 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.