Skip to content
CAI
Software that uses CAICheck a score

Milad-Akarie/injectable

67.8

Adequate · 17 November 2026

4.8k

lines of production code

Dart

primary language

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

Behavioural changes

18 commits (4 fixes) modifying injectable/example/bin

A change to existing behaviour in injectable/example/bin — 18 commits (4 fixs), 1 file: “Add documentation and examples for generateAccessors”; “Fix generator crash after 1.2.1 update Add option to ignore missing type warning for specified types”; “Add support for passing functions as factory parameters”; and 13 more (refs \#237, \#240, \#238, \#244).

injectable/example/bin · medium confidence · unverified

18 commits (5 fixes) modifying injectable/example/lib/module

A change to existing behaviour in injectable/example/lib/module — 18 commits (5 fixs), 1 file: “refactor: simplify service implementations and update dependencies”; “push nullSafety version to the main section Fix sorting by dependents ignores named instances”; “- Optimize injectable\_generator async analysis by \[https://github.com/Jjagg\] - Update dart constrains to "\>=3.0.0 \<4.0.0" - Update analyzer constrains to include v6+”; and 12 more (refs \#237, \#240, \#238, \#176, \#177).

injectable/example/lib/module · medium confidence · unverified

26 commits (8 fixes) modifying injectable/example/lib/services

A change to existing behaviour in injectable/example/lib/services — 26 commits (8 fixs), 1 file: “refactor: simplify service implementations and update dependencies”; “push nullSafety version to the main section Fix sorting by dependents ignores named instances”; “update version and changelogs”; and 21 more (refs \#522, \#237, \#240, \#238, \#338, …).

injectable/example/lib/services · medium confidence · unverified

33 commits (7 fixes) modifying injectable\_generator/lib/models

A change to existing behaviour in injectable\_generator/lib/models — 33 commits (7 fixs), 6 files: “refactor: enhance code formatting and readability across multiple files”; “feat: improve dependency sorting logic and add comprehensive tests”; “feat: add caching support for factory registrations and update related methods”; and 27 more (refs \#237, \#240, \#238, \#332, \#194).

_injectable\generator/lib/models · medium confidence · unverified

37 commits (9 fixes) modifying injectable/example/lib/injector

A change to existing behaviour in injectable/example/lib/injector — 37 commits (9 fixs), 4 files: “Revert: Pin meta version to 1.11.0 so it's compatible with flutter\_test”; “refactor: enhance code formatting and readability across multiple files”; “refactor: simplify service implementations and update dependencies”; and 31 more (refs \#232, \#230, \#231, \#228, \#224, …).

injectable/example/lib/injector · medium confidence · unverified

4 commits (0 fixes) modifying injectable\_generator/lib/lean\_builder/resolvers

A change to existing behaviour in injectable\_generator/lib/lean\_builder/resolvers — 4 commits, 2 files: “feat: add lean\_builder support for faster builds”; “prepare v3.1.0 add missing public docs format code”; “feat: support private named parameters”; and 1 more.

_injectable\_generator/lib/lean\builder/resolvers · medium confidence · unverified

4 commits (2 fixes) modifying example/android

A change to existing behaviour in example/android — 4 commits (2 fixs), 12 files: “fix resolve by instanceName is using positional var instead of named fix part files are imported as stand alone change flutter example project to pure-dart project”; “- remove flutter dependency - add support for custom initializers in register Modules - minor fixes”; “wip”; and 1 more.

example/android · medium confidence · unverified

45 commits (12 fixes) modifying injectable\_generator/lib/resolvers

A change to existing behaviour in injectable\_generator/lib/resolvers — 45 commits (12 fixs), 3 files: “Remove unnecessary throw”; “refactor: enhance code formatting and readability across multiple files”; “Running \dart format .\”; and 40 more (refs \#232, \#230, \#231, \#228, \#224, …).

_injectable\generator/lib/resolvers · medium confidence · unverified

51 commits (13 fixes) modifying injectable\_generator/lib/generators

A change to existing behaviour in injectable\_generator/lib/generators — 51 commits (13 fixs), 2 files: “refactor: enhance code formatting and readability across multiple files”; “Running \dart format .\”; “feat: add support for multiple registrations in InjectableInit”; and 46 more (refs \#398, \#232, \#230, \#231, \#228, …).

_injectable\generator/lib/generators · medium confidence · unverified

55 commits (17 fixes) modifying injectable\_generator/lib

A change to existing behaviour in injectable\_generator/lib — 55 commits (17 fixs), 8 files: “ignore private methods in registerModule”; “fix registered abstract dependencies are reported missing. fix registering third party types as singleton throws an error”; “Fix relative imports issue in test folder Change generateForDir property's default value to \['lib'\]”; and 45 more (refs \#161, \#107).

_injectable\generator/lib · medium confidence · unverified

64 commits (18 fixes) modifying injectable\_generator/lib/code\_builder

A change to existing behaviour in injectable\_generator/lib/code\_builder — 64 commits (18 fixs), 3 files: “Remove print statements”; “fix: avoid import alias collisions in HashedAllocator”; “refactor: enhance code formatting and readability across multiple files”; and 58 more (refs \#237, \#240, \#238, \#392, \#324, …).

_injectable\_generator/lib/code\builder · medium confidence · unverified

7 commits (1 fix) modifying injectable\_generator/lib/lean\_builder

A change to existing behaviour in injectable\_generator/lib/lean\_builder — 7 commits (1 fix), 3 files: “feat: add support for multiple registrations in InjectableInit”; “feat: add lean\_builder support for faster builds”; “chore: update CHANGELOG and README for breaking changes and new features in version 3.0.0”; and 4 more.

_injectable\_generator/lib/lean\builder · medium confidence · unverified

72 commits (21 fixes) modifying injectable/lib/src

A change to existing behaviour in injectable/lib/src — 72 commits (21 fixs), 4 files: “update version and changelogs”; “Fix relative imports issue in test folder Change generateForDir property's default value to \['lib'\]”; “Change Methods inside of register modules are treated as factory methods now, so all params are considered injected params unless annotated with @factoryParam. Change registerModule is now replaced with @module. Change RegisterAs(Type) Annotation is now replaced with @Injectable(as:Type). Change Singleton.Lazy() is replaced with @LazySingleton(). Add generateForDir property to @InjectableInt to specify what directories to generate for. Add basic tests”; and 66 more (refs \#232, \#230, \#231, \#228, \#224, …).

injectable/lib/src · medium confidence · unverified

79 commits (29 fixes) modifying injectable

A change to existing behaviour in injectable — 79 commits (29 fixs), 8 files: “Revert: Pin meta version to 1.11.0 so it's compatible with flutter\_test”; “docs: fix typo in README.md\</div\>”; “refactor: enhance code formatting and readability across multiple files”; and 66 more (refs \#398, \#232, \#230, \#231, \#228, …).

injectable · medium confidence · unverified

8 commits (2 fixes) modifying injectable/lib

A change to existing behaviour in injectable/lib — 8 commits (2 fixs), 2 files: “Chore: update get\_it constraint to 7.2.0 \<= 9.0.0 Fix: scope annotation does not work with getters”; “first release v0.1.0”; “first RC”; and 3 more (refs \#107).

injectable/lib · medium confidence · unverified

89 commits (36 fixes) modifying injectable\_generator

A change to existing behaviour in injectable\_generator — 89 commits (36 fixs), 9 files: “chore: update version to 3.1.3, update lean\_builder to ^1.2.2”; “refactor: enhance code formatting and readability across multiple files”; “ignore private methods in registerModule”; and 80 more (refs \#232, \#230, \#231, \#228, \#224, …).

_injectable\generator · medium confidence · unverified

Fixes

35 commits (18 fixes) fixing example

A fix in example — 35 commits (18 fixs), 57 files: “fix registered abstract dependencies are reported missing. fix registering third party types as singleton throws an error”; “Fix relative imports issue in test folder Change generateForDir property's default value to \['lib'\]”; “Update README file Add some comments”; and 28 more (refs \#161, \#78, \#107).

example · medium confidence · unverified

Test coverage

2 commits adding/updating tests in injectable/test; 34 commits adding/updating tests in injectable\_generator/test/resolver; 38 commits adding/updating tests in injectable\_generator/test/code\_builder; 5 commits adding/updating tests in injectable\_generator/test/lean\_builder.

Dependencies

149 commits updating dependencies (11 manifests)

A dependency / build maintenance change in (dependencies) — 149 commits (48 fixs), 11 files: “Revert: Pin meta version to 1.11.0 so it's compatible with flutter\_test”; “docs: fix typo in README.md\</div\>”; “fix: correct injectable\_generator minimum analyzer constraint (\#545)”; and 134 more (refs \#545, \#398, \#232, \#230, \#231, …).

(dependencies) · medium confidence · unverified

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

Baseline

  • First survey — no prior run to compare against. CAI 67.8.

Lenses

  • Code Health 83.7
  • Architecture 85.5
  • Maturity 59.9
  • Readiness 61.6
  • Security 92.0
  • Domain Modelling 100.0
  • Performance 85.0

Changes since last survey

  • 300 commits — 222 feature/other, 78 fixes

By area

  • (repo) — 87 commits
  • injectable_generator/lib — 72 commits
  • injectable/example — 27 commits
  • injectable/lib — 21 commits
  • (root) — 17 commits
  • injectable/CHANGELOG.md — 16 commits
  • injectable_generator/test — 16 commits
  • injectable_generator/CHANGELOG.md — 9 commits
  • .github/workflows — 8 commits
  • injectable_generator/pubspec.lock — 8 commits
  • injectable_generator/pubspec.yaml — 7 commits
  • injectable/pubspec.yaml — 3 commits
  • injectable/README.md — 2 commits
  • injectable_generator/coverage — 2 commits
  • example/.packages — 1 commit
  • example/lib — 1 commit
  • injectable/.packages — 1 commit
  • injectable/coverage — 1 commit
  • injectable/pubspec.lock — 1 commit

Notable commits

  • fix: Add option to customize the initilizer function name Add option to generate the initilizer function as an extension Change initializer functions returns the passed get_it instance instead of void Add Advanced environment filter that can be extended and customized Fix Injectable generator not handling multiple instances of generic types #107
  • fix: Add support for get_it ^5.0 - Fix analyzer compatibility issues
  • fix: Chore: update get_it constraint to 7.2.0 <= 9.0.0 Fix: scope annotation does not work with getters
  • fix: Fix name of MicroPackageModule contains "_" (is not pascal case) #332
  • fix: - Add coverage:ignore-file comment to generated config - Fix relative imports not working - Update dependencies (codeBuilder, source_gen)
  • fix: - Fix Scopes - class is registered more than once under the same environment #338 - Fix Injectable unable to detect dependencies from micropackages #341
  • fix: - Fix pre-resolved primitives naming issue #161 - Fix some types in readme file - Fix environments is already registered issue.
  • fix: - HotFix for Postpone singleton initialisation to respect environment filters
  • fix: Fix GetItHelper check registed Environments without type
  • fix: Fix Incompatible version injectable_generator in pub.dev #316
  • fix: Fix List<String?> is not a subtype of List<String>
  • fix: Fix Undefined name 'gh'. when generating @InjectableInit() with only microPackageModule #392
  • fix: Fix auto-async factory bug #237 Fix passing dispose function throws #240 Fix initialization order doesn't respect environments #238 Add generator prints warning when an injected dependency is not available under the same environment
  • fix: Fix dispose not passed to getIt.registerSingleton
  • fix: Fix generator crash after 1.2.1 update Add option to ignore missing type warning for specified types
  • fix: Fix library and resolver unit tests
  • fix: Fix module injectable annotations are ignored #176, #177
  • fix: Fix registration order #324
  • fix: Fix yet another registration order issue #244
  • fix: Fix: Example project crashes #522
  • …and 280 more

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

Survey your own repository

Milad-Akarie/injectable 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 17 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 0644204687dfb34e7318c11fe4abf9416ed2c549 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — 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.85+preprod-eba6548ac50f.