flame-engine/flame
55.0
Adequate · 10 November 2026
121.4k
lines of production code
Dart
primary language
8
measurements over time
How this codebase got here
Score
- CAI 57 → 55 (-2.4)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 80 → 80 (+0.7)
- Architecture 97 → 96 (-1.0)
- Maturity 72 → 53 (-19.1)
- Readiness 39 → 46 (+6.9)
- Security 74 → 61 (-13.2)
- Domain Modelling 100 (new)
- Performance 70 → 71 (+0.7)
Resolved (23)
- Documentation: no installation or build instructions (README.md)
- Documentation: no project overview (README.md)
- Documentation: no project overview (packages/flame_network_assets/README.md)
- Duplicated block (10 lines × 3) (doc/tutorials/klondike/app/lib/step3/components/card.dart)
- Duplicated block (11 lines × 2) (packages/flame_cli/lib/src/commands/diff_command.dart)
- Duplicated block (12 lines × 3) (packages/flame_devtools/lib/widgets/position_component_attributes_form.dart)
- Duplicated block (15 lines × 2) (packages/flame_devtools/lib/widgets/position_component_attributes_form.dart)
- Duplicated block (23 lines × 2) (packages/flame_tiled/lib/src/renderable_layers/tile_layers/isometric_tile_layer.dart)
- Duplicated block (52–53 lines × 2) (packages/flame_tiled/lib/src/renderable_layers/tile_layers/hexagonal_tile_layer.dart)
- Low cohesion: Component (LCOM4 11) (packages/flame/lib/src/components/core/component.dart)
- Low cohesion: Game (LCOM4 12) (packages/flame/lib/src/game/game.dart)
- Members sharing a duplicated core (4 members, 50+ identical tokens) (packages/flame_tiled/lib/src/renderable_layers/tile_layers/hexagonal_tile_layer.dart)
- Near-duplicate member family (3 members, 84 shared lines) (doc/tutorials/klondike/app/lib/step3/components/card.dart)
- Off-boarding risk: anonymized user #1
- Off-boarding risk: anonymized user #2
- Off-boarding risk: anonymized user #3
- Orphaned file (packages/flame/lib/src/camera/behaviors/viewport_aware_bounds_behavior.dart)
- Orphaned file (packages/flame/lib/src/collisions/broadphase/quadtree/has_quadtree_collision_detection.dart)
- Orphaned file (packages/flame/lib/src/collisions/broadphase/quadtree/quadtree.dart)
- Orphaned file (packages/flame_3d/lib/src/graphics/backend/gpu_backend.dart)
- …and 3 more
New (55)
- Component._addChild (cognitive 19) (packages/flame/lib/src/components/core/component.dart)
- Component._addChild (cyclomatic 17) (packages/flame/lib/src/components/core/component.dart)
- ComponentEditorBloc._onStarted (cognitive 17) (packages/flame_studio/lib/component_editor/bloc/component_editor_bloc.dart)
- Duplicated block (12 lines × 2) (examples/lib/stories/rendering/culling_example.dart)
- Duplicated block (12 lines × 3) (examples/lib/stories/rendering/culling_visualized_example.dart)
- Duplicated block (12 lines × 3) (packages/flame_devtools/lib/widgets/position_component_attributes_form.dart)
- Duplicated block (14 lines × 2) (examples/lib/stories/tiled/tiled_culling_example.dart)
- Duplicated block (15 lines × 3) (packages/flame_devtools/lib/widgets/position_component_attributes_form.dart)
- Duplicated block (17 lines × 2) (examples/lib/stories/rendering/culling_visualized_example.dart)
- Duplicated block (19–21 lines × 2) (packages/flame_studio/lib/sprite_editor/widgets/sprite_region_fields.dart)
- Duplicated block (24 lines × 2) (examples/lib/stories/rendering/culling_visualized_example.dart)
- Duplicated block (25 lines × 2) (packages/flame_tiled/lib/src/renderable_layers/tile_layers/isometric_tile_layer.dart)
- Duplicated block (37 lines × 2) (packages/flame_studio/lib/sprite_editor/view/sprite_editor_view.dart)
- Duplicated block (5 lines × 2) (packages/flame_studio/lib/home/view/home_view.dart)
- Duplicated block (5 lines × 3) (packages/flame_studio/lib/component_editor/widgets/property_editors/sprite_editor.dart)
- Duplicated block (56–57 lines × 2) (packages/flame_tiled/lib/src/renderable_layers/tile_layers/hexagonal_tile_layer.dart)
- Duplicated block (9 lines × 2) (examples/lib/stories/rendering/culling_visualized_example.dart)
- Duplicated block (9 lines × 7) (packages/flame_studio/lib/repositories/component_repository/models/circle_component_data.dart)
- GameSnapshotConnector.init (cognitive 22) (packages/flame/lib/src/devtools/connectors/game_snapshot_connector.dart)
- Heap.read (cognitive 27) (packages/flame_cli/lib/src/merge/heap.dart)
- …and 35 more
Changes since last survey
- 47 commits — 32 feature/other, 15 fixes
By area
- packages/flame — 11 commits
- packages/flame_3d — 10 commits
- packages/flame_cli — 7 commits
- packages/flame_studio — 4 commits
- packages/flame_lint — 3 commits
- examples/lib — 2 commits
- packages/flame_tiled — 2 commits
- (root) — 1 commit
- .github/workflows — 1 commit
- doc/flame — 1 commit
- doc/tutorials — 1 commit
- packages/flame_devtools — 1 commit
- packages/flame_forge2d — 1 commit
- packages/flame_riverpod — 1 commit
- packages/flame_svg — 1 commit
Notable commits
- fix: fix!: Scale the subtree to the pixel ratio in rasterizeSubtree (#4162)
- fix: fix(flame_3d): Check the world-space AABB in Object3D.isVisible (#4185)
- fix: fix(flame_3d): Invalidate the AABB of a parent when a child is added or removed (#4180)
- fix: fix(flame_3d): Invalidate the AABBs of nested components when an ancestor moves (#4167)
- fix: fix(flame_3d): Place the AABB of a component without geometry at its world position (#4184)
- fix: fix(flame_3d): Sort the joints of a surface by their local index (#4156)
- fix: fix(flame_3d): Stop caching a buffer for every color passed to Shader.setColor (#4147)
- fix: fix: Calculate the viewport-aware camera bounds for bounds anywhere in the world and at any zoom (#4205)
- fix: fix: Dispose the images evicted from the Svg MemoryCache. (#4145)
- fix: fix: Give the focus to a game that replaces another one in GameWidget (#4158)
- fix: fix: Handle a PostProcessComponent without positional children (#4183)
- fix: fix: Recompute bounds of a re-added ShapeHitbox; stop growing its ancestor list (#4142)
- fix: fix: Run the preceding post processes on every subtree render in PostProcessSequentialGroup (#4194)
- fix: fix: Throw proper error types instead of strings and enable only_throw_errors (#4187)
- fix: fix: Use the current focusNode in GameWidget when it changes (#4160)
- change: chore(flame_lint): Enable annotate_redeclares, implicit_reopen and invalid_case_patterns (#4192)
- change: chore(flame_lint): Enable avoid_renaming_method_parameters, eol_at_end_of_file, and use_string_buffers (#4186)
- change: chore(flame_lint): Enable conditional_uri_does_not_exist and prefer_mixin (#4188)
- change: chore(flame_lint): Enable no_default_cases (#4190)
- change: chore(flame_lint): Enable var_with_no_type_annotation (#4195)
- …and 27 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
flame-engine/flame 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 10 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 1bd3acc6f9a84d336bf5bd7c3643a1d831f17659 — 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.9+preprod-cba156920af5.
The project's source repositorygithub.com/flame-engine/flameThe full report by Canine Code AnalyzerEvery finding behind the 10 November 2026 measurement, as Canine Code Analyzer published itMeasured by Canine Code AnalyzerThe engine that produced the evidence behind this scoreHow this project comparesEvery measured codebase read together — the same rubric, the same instrumentVerify this score yourselfReproduce the number from the published evidence