{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"RouteMatch.== (cyclomatic 20): RouteMatch.== has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/matcher/route_match.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"24489f55b3f264b07eb8c386dc6f1d03ff21e6ea479b45454aeab4b3d3af8e92"}},{"ruleId":"D2","level":"warning","message":{"text":"RouteMatcher._match (cognitive 30): RouteMatcher._match has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (25 pts), boolean chains 4, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/matcher/route_matcher.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17a5e81d45360c40432ff26b7ea8170ebd0aa2cec40bb9514e1422bd402d305"}},{"ruleId":"D2","level":"warning","message":{"text":"TabsRouter._navigateAll (cognitive 30): TabsRouter._navigateAll has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 2 (4 pts), boolean chains 2, ternaries 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/controller/routing_controller.dart"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"80aa89b849fcebea6f7f189409abe2a54884caebe9ba337fd9d345b81b39c01d"}},{"ruleId":"D2","level":"warning","message":{"text":"StackRouter._pushAllGuarded (cognitive 27): StackRouter._pushAllGuarded has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 1, loops 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/controller/routing_controller.dart"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ea67d4c9738d725de6012d5c067e9f392b6d191025b15d2d375c26dcb09286"}},{"ruleId":"D2","level":"warning","message":{"text":"RouteCollection.fromList (cognitive 25): RouteCollection.fromList has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 3 (9 pts), boolean chains 3, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/route/auto_route_config.dart"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"92749e9251d0e206aaca61942090ddbfba5cfe50fb82b50a4da6fa5f502a486b"}},{"ruleId":"D2","level":"warning","message":{"text":"RouteMatch.== (cognitive 19): RouteMatch.== has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 19. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/matcher/route_match.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f960debf5c8e1f447e1d75e8450d862c185e66395841a65d4892ec26fc36a5c"}},{"ruleId":"D2","level":"warning","message":{"text":"LeanRouteConfigResolver.resolve (cognitive 19): LeanRouteConfigResolver.resolve has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, loops 2 (5 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route_generator/lib/src/lean_builder/resolvers/lean_route_config_resolver.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4025af04137a5ef532037d6e136b15850d4f4fff0701c5867bdf1979ee812c22"}},{"ruleId":"D2","level":"warning","message":{"text":"RouteConfigResolver.resolve (cognitive 19): RouteConfigResolver.resolve has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, loops 2 (5 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route_generator/lib/src/resolvers/route_config_resolver.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14114f9a64cfc50dd1756946f875d003bad8dc47d5e9e6bf98db017296a8649"}},{"ruleId":"D2","level":"warning","message":{"text":"RouteMatcher._matchByRoute (cognitive 18): RouteMatcher._matchByRoute has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1 (3 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/matcher/route_matcher.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"32308037ffcd32593123c1a19d288a4df5880b506e823d6598a831cd338d245f"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoTabViewState._handleScrollNotification (cognitive 18): AutoTabViewState._handleScrollNotification has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4 (nesting depth added 5). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_tab_view.dart"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ae0577250c133cd145f1dc187f331da8e5ba6d6a2d9e6af0c9b26ec36fa882"}},{"ruleId":"D2","level":"warning","message":{"text":"RoutingController._getCurrentHierarchy (cognitive 16): RoutingController._getCurrentHierarchy has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (6 pts), loops 2 (4 pts), boolean chains 3, if/else 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/controller/routing_controller.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a02b0e48d9af70f2b051f0928ef752a153f2d7981fb8ce96d3887bc6ba20b8"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeResolver.resolveImport (cognitive 16): TypeResolver.resolveImport has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route_generator/lib/src/resolvers/type_resolver.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"26797f0b926870265b68e6294cc29cbca61515eb87ed5473ef0826fe30198de6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RoutingController: TooManyMethods \u2014 76 methods. The bar is 30 methods; this is 46 over it, 2.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/controller/routing_controller.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb430a0c278832b216170312447543023ef0ca26051b42a1726159103178a690"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controller/routing_controller.dart: FileTooLong \u2014 1179 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 679 over it, 2.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/controller/routing_controller.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72c8d81f6508f642cb99cd221dd5cd0d3ccbe9c39a41932f04cdb96022adda2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StackRouter: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/controller/routing_controller.dart"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2f70240aaeb13b4a653ce4e649d42ed3f361d5495e6f6fa1a11fafa3f49e66"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StackRouter: ClassTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 170 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/controller/routing_controller.dart"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"226af4ad42639934be06a5c0bde1e51b081f140e0d83739217009424e8242f94"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/auto_tabs_router.dart: FileTooLong \u2014 638 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 138 over it, 1.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_tabs_router.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"506c15f35abc91a046b0a7c1d4167efd8aaff2499e2e2a7537603401e0bedde6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RouteData: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/route/route_data.dart"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb657a1aeac6e1f948bed6b6d5aa1e2bb8a75f55d67c33e358a77cb45627853"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): auto_route_generator/lib/src/lean_builder/resolvers/lean_type_resolver.dart:71-113 | auto_route_generator/lib/src/resolvers/type_resolver.dart:80-122 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route_generator/lib/src/lean_builder/resolvers/lean_type_resolver.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0f50fa12be3b89db3f09931b4ce807fb3436dd1543a317a0f236dde19e5857"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): auto_route/lib/src/router/widgets/auto_router.dart:120-154 | auto_route/lib/src/router/widgets/auto_router.dart:251-282 | auto_route/lib/src/router/widgets/auto_tabs_router.dart:175-205 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 31 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_router.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d546189e8eaa24c890576e7386c12419780ac76c86fc517d60b2c02ae686cb2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): auto_route/lib/src/router/widgets/auto_tabs_router.dart:573-607 | auto_route/lib/src/router/widgets/auto_tabs_router.dart:721-753 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_tabs_router.dart"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ec5cb5806c327b509d4e5136b79fb3463c0b50b4b1463d98c80b6600f23963"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): auto_route/lib/src/router/widgets/auto_leading_button.dart:211-222 | auto_route/lib/src/router/widgets/auto_route_navigator.dart:116-126 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_leading_button.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfde0a4094e735423bc0633e030016554d9d3989966e5a142e7a687260a60db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): auto_route/lib/src/router/widgets/auto_page_view.dart:149-167 | auto_route/lib/src/router/widgets/auto_tab_view.dart:194-221 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_page_view.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abcb384843c1e060c36c9f26d5c6a877683af074a51c52866bca21cedda0786"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): auto_route/lib/src/router/controller/routing_controller.dart:961-976 | auto_route/lib/src/router/controller/routing_controller.dart:1190-1211 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/controller/routing_controller.dart"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2f00d24b5ff14d512de5b67136db5cdc5e01f8b2e8162600ff87b021f3c460"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): auto_route_generator/lib/src/lean_builder/resolvers/lean_route_parameter_resolver.dart:95-108 | auto_route_generator/lib/src/resolvers/route_parameter_resolver.dart:95-108 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route_generator/lib/src/lean_builder/resolvers/lean_route_parameter_resolver.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d798dbdcc28a0058e1450e4acfacd27c3ef418104d4d670bc7df54382567c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): auto_route/lib/src/router/controller/routing_controller.dart:936-959 | auto_route/lib/src/router/controller/routing_controller.dart:1095-1123 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/controller/routing_controller.dart"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe815ec9b00973f9cca999febc8cb92d8bc140f720f3e150bad695a66afabb5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): auto_route/lib/src/router/widgets/auto_page_view.dart:229-237 | auto_route/lib/src/router/widgets/auto_tab_view.dart:277-285 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_page_view.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c2115dbdb02dcbbbb175d017b211e02165c85880c1215f4e7dbe9499f47ae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): auto_route/lib/src/router/widgets/auto_tabs_router.dart:655-673 | auto_route/lib/src/router/widgets/auto_tabs_router.dart:788-804 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_tabs_router.dart"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca09d6b8a43544d33d0b843eb80e48b87efc2cd38088f3c540731f27a10ccbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): auto_route/lib/src/router/widgets/auto_tabs_router.dart:544-559 | auto_route/lib/src/router/widgets/auto_tabs_router.dart:703-719 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_tabs_router.dart"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1cbc6815386dc12d2b0b61eeda0082264aa3fbdd06a63553091677c93e1fdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): auto_route/lib/src/router/widgets/auto_page_view.dart:211-227 | auto_route/lib/src/router/widgets/auto_tab_view.dart:260-275 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_page_view.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"9578eeb8cc80ef64e860d41636b0e7808959618101de2339940ae00413c84646"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): auto_route/lib/src/router/widgets/auto_page_view.dart:107-117 | auto_route/lib/src/router/widgets/auto_tab_view.dart:123-133 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_page_view.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6260d2a92dfecb2a52c4e4af8725f70976fc3fdcbb90045496d7d2b4c110f254"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): auto_route/lib/src/common/transitions_builders.dart:14-23 | auto_route/lib/src/common/transitions_builders.dart:42-51 | auto_route/lib/src/common/transitions_builders.dart:56-65 | auto_route/lib/src/common/transitions_builders.dart:70-79 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/common/transitions_builders.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"daba4341d29fd57f97493866cd527d996a4ea8ac181735890f7c2fa5ce443ed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): auto_route/lib/src/router/widgets/custom_cupertino_transitions_builder.dart:130-147 | auto_route/lib/src/router/widgets/custom_cupertino_transitions_builder.dart:193-206 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/custom_cupertino_transitions_builder.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7717cd1334f9178f8f174d3cf95c039381e27bae127010c135d25b40cf6cc5d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): auto_route/lib/src/router/controller/controller_scope.dart:77-84 | auto_route/lib/src/router/widgets/auto_tabs_router.dart:224-230 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/controller/controller_scope.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d05f804bd82d4d1e4481813828b78aeedf74d0f5bf69d1de374861e2f076a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): auto_route/lib/src/router/widgets/auto_tabs_router.dart:319-329 | auto_route/lib/src/router/widgets/auto_tabs_router.dart:563-571 | auto_route/lib/src/router/widgets/auto_tabs_router.dart:693-701 | auto_route/lib/src/router/widgets/auto_tabs_router.dart:809-816 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_tabs_router.dart"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"232f058737e0fa7259dce561bf5e92cc81e827abfef3f134e517efb4b0a45af4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): auto_route/lib/src/router/widgets/auto_router.dart:126-140 | auto_route/lib/src/router/widgets/auto_router.dart:258-272 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060auto_route/lib/src/router/widgets/auto_router.dart:126\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_router.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ef2c7b86f3c982b037ffd7dc1a2ea64fdd8331043c5ef449e552d90c08142f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): auto_route/lib/src/router/widgets/auto_tabs_router.dart:577-591 | auto_route/lib/src/router/widgets/auto_tabs_router.dart:725-739 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060auto_route/lib/src/router/widgets/auto_tabs_router.dart:577\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_tabs_router.dart"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"c501d1677943bdba6b4fad036517d4a80335b368ca4b39507136def711f8297c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): auto_route/lib/src/router/widgets/auto_tabs_router.dart:547-559 | auto_route/lib/src/router/widgets/auto_tabs_router.dart:706-719 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060auto_route/lib/src/router/widgets/auto_tabs_router.dart:547\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_tabs_router.dart"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a2d7d62563423133078b834cdd592c1e464b39f4be8f26709a7f15a5e56318"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): auto_route_generator/lib/src/lean_builder/resolvers/lean_type_resolver.dart:36-51 | auto_route_generator/lib/src/resolvers/type_resolver.dart:45-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route_generator/lib/src/lean_builder/resolvers/lean_type_resolver.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"29255b4e5ea38c3eb8bb262ce0b12b6b034e4a34de287e336aa4a88a176a30ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): auto_route_generator/lib/src/lean_builder/resolvers/lean_type_resolver.dart:53-65 | auto_route_generator/lib/src/resolvers/type_resolver.dart:62-74 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route_generator/lib/src/lean_builder/resolvers/lean_type_resolver.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f720d9f37beb2693568e2e0317a2276c8a4f86ae228b12390a1a5237f727f47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): auto_route/lib/src/common/transitions_builders.dart:29-37 | auto_route/lib/src/common/transitions_builders.dart:85-93 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060auto_route/lib/src/common/transitions_builders.dart:29\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/common/transitions_builders.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b71a51515b532c452fb693a808007752ed3e8203d647d383eeb707796e7926"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): auto_route/lib/src/router/widgets/auto_page_view.dart:198-206 | auto_route/lib/src/router/widgets/auto_tab_view.dart:240-247 \u2014 before extracting anything, compare \u0060auto_route/lib/src/router/widgets/auto_page_view.dart\u0060 and \u0060auto_route/lib/src/router/widgets/auto_tab_view.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060auto_route/lib/src/router/widgets/auto_page_view.dart:198\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_page_view.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ce9279bbf7e48d73fe9a3e4e19b13ec34d8d15018072ed12aca2a0a35f0a0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): auto_route/lib/src/router/widgets/auto_page_view.dart:154-160 | auto_route/lib/src/router/widgets/auto_tab_view.dart:202-213 \u2014 before extracting anything, compare \u0060auto_route/lib/src/router/widgets/auto_page_view.dart\u0060 and \u0060auto_route/lib/src/router/widgets/auto_tab_view.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_page_view.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fbbcce20221d8282aceeb4310a93684d9c8add5ed342f026db5b4731df626b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): auto_route/lib/src/router/widgets/auto_page_view.dart:233-237 | auto_route/lib/src/router/widgets/auto_tab_view.dart:281-285 \u2014 before extracting anything, compare \u0060auto_route/lib/src/router/widgets/auto_page_view.dart\u0060 and \u0060auto_route/lib/src/router/widgets/auto_tab_view.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060auto_route/lib/src/router/widgets/auto_page_view.dart:233\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_page_view.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e241f573139d6e7c48f09140f6b4810710ef5f9bbed8ce37f003e85be6c36729"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): auto_route/lib/src/router/widgets/auto_page_view.dart:119-125 | auto_route/lib/src/router/widgets/auto_tab_view.dart:135-141 \u2014 before extracting anything, compare \u0060auto_route/lib/src/router/widgets/auto_page_view.dart\u0060 and \u0060auto_route/lib/src/router/widgets/auto_tab_view.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_page_view.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b85bcc986b341a308cf967eddb971365984699f3d556bd4901202b40e3d730"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): auto_route/example/lib/declarative/declarative.router.dart:107-130 | auto_route/example/lib/declarative/declarative.router.dart:153-176 | auto_route/example/lib/declarative/declarative.router.dart:186-204 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/example/lib/declarative/declarative.router.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"322d730b4e860f3244cb9630ff948f8ea256ae70ebb6423a4d21c62b8eae8935"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): auto_route/example/lib/web_demo/router/web_login_page.dart:12-28 | auto_route/example/lib/web_demo/router/web_verify_page.dart:12-25 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/example/lib/web_demo/router/web_login_page.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c5bd73ac2ee4f1ff4e9b6358ee91fa61c4a3f5ed21b8e974755d1a458be46c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): auto_route/example/lib/declarative/declarative.router.dart:107-120 | auto_route/example/lib/declarative/declarative.router.dart:153-166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060auto_route/example/lib/declarative/declarative.router.dart:107\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/example/lib/declarative/declarative.router.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"88226aec52b0589139b269c07aba9d1189e19112d35d4412bc76920ad12a19b2"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: auto_route: auto_route: abstractness 0.09, instability 0.00, distance 0.91 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"731ae3170508327d76a8d6e97aad8b69ad989c6bba534969d47bf1ebb8bcf048"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RoutingController (LCOM4 12): RoutingController\u0027s methods fall into 12 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 12 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/controller/routing_controller.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b905f8841f33e048f9a649c6d317d5ce4ca95ee21865c75d9239408deca1f473"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _PredictiveBackGestureDetectorState (LCOM4 10): _PredictiveBackGestureDetectorState\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/transitions/predictive_back_page_detector.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a1b16b42722946687a97c2addb562f0d23273796b8b9108773b785efe8a7bd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StackRouter (LCOM4 9): StackRouter\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/controller/routing_controller.dart"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"9580bf79e49d1fb838ec43dff84d1637c74d9355f44029ca28a28c8e645508bf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TabsRouter (LCOM4 8): TabsRouter\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/controller/routing_controller.dart"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8ffbb7baa37ce26d7ab1ad3486935f0c69bb6f137df55193d66ddc03d8e412"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RootStackRouter (LCOM4 6): RootStackRouter\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/controller/root_stack_router.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce508efd12378ef61852b7a8861c0eb21166bcea7c60d135e2fce81f281534b5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AutoPageRouteBuilder (LCOM4 5): AutoPageRouteBuilder\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/transitions/custom_page_route.dart"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d720b34771096c939637b83c525316953a828678a8143ab4e244f6e7c80e6e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NavigationHistoryImpl (LCOM4 4): NavigationHistoryImpl\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/controller/navigation_history/native_navigation_history.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db925dfc70f8085acdb2831b8df123e84c25f045dd77afa0fc0a5b5e603d919"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NavigationHistoryImpl (LCOM4 4): NavigationHistoryImpl\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/controller/navigation_history/web_navigation_history.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d96bff961cddf1cd2ab50d24f09880b976b02939e07f7ab5f403372aaf951d5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AutoRouteInformationProvider (LCOM4 4): AutoRouteInformationProvider\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/provider/auto_route_information_provider.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40a30b4d5afa9ab126e9a40d0a7f8991cc5c05f11a9179d12ad619dc0bd0013"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _AutoLeadingButtonState (LCOM4 4): _AutoLeadingButtonState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_leading_button.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a21c365a55dd04b57cf20fde684cecbd7a4d0c35c9f016502156fc55e811084"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _AutoTabsRouterPageViewState (LCOM4 4): _AutoTabsRouterPageViewState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_tabs_router.dart"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae48e773a9391855edce6b7acd36f98a612bf94fc61bb8a9948687f6db9c98e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _AutoTabsRouterTabBarState (LCOM4 4): _AutoTabsRouterTabBarState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_tabs_router.dart"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b11eac8f8f8e5bdd6d74c88fdb9300accab37f2b07c864532fc6936463b0c00"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _CupertinoEdgeShadowDecoration (LCOM4 4): _CupertinoEdgeShadowDecoration\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/custom_cupertino_transitions_builder.dart"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86156d6f1500b9eabca0c28995dd4b6d2c48492a4d16b30654717a5f347a5e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo handle this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route_generator/lib/src/code_builder/deferred_pages_allocator.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1cb0700d83f759b07126512296ea8b6fb5fc00f21806acb9ee005349cf42e4d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo: remove this workaround after flutter issue is fixed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/auto_route_page.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e919a8deaab94cddac6a154a186a30200e3c861274df9942b6df7d59446cc4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(justinmc): Should have a delegatedTransition to animate the incoming \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/transitions/predictive_back_page_detector.dart"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad22341bb8efc4c5206f66c0a4ccb00c8a38198d68ed2e9a4f8a46a409db3b13"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: remove deprecated members \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/route/auto_route_config.dart"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce8b3b46be9b8e1d5a9a853b47a5e1fa3e2374cd5fb16041cdc8f55e36b12ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: remove deprecated members \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/route/auto_route_config.dart"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e50f4f7d50e27451f4a53a4abc49d6fffb079d9b68a155c3125730c9caa6ee"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060auto_route_generator\u0060 is a published pub package (\u0060pubspec.yaml\u0060 without \u0060publish_to: none\u0060) and neither \u0060auto_route_generator/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route_generator/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c6eebf981982d46fa28fb9a58d9c6a7323e3cbdbdbca1199cd9571b1d4a7b6"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060auto_route\u0060 (9968 LoC, 96 module-visible types across 11 directories) overshoots its size bounds. 1 of 2 build unit(s) (pub) overshoot their size bounds, lowering Project Cohesion to 1.3/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/pubspec.yaml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"769fa37f31f9ffe52c4657d2a0ee0688f668da8b6bb6929c7700ff19a5dd0934"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"676326c92f6c6aef6e0fa561db44b3503bff6f7e9417967729396f823be4ac20"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab8d83539c5ebe567cb6deae98d392d6617f9ea4001a34a9a21fb3f393c0be8f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 3 of 46 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 46 of the 68 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: auto_route/lib/src/router/transitions/predictive_back_page_detector.dart, auto_route_generator/lib/src/builders/auto_router_builder_base.dart, auto_route/lib/src/router/widgets/deferred_widget.dart. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/transitions/predictive_back_page_detector.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddedb3a1d73645de07dd0b24c07c90e15a831103a9fe93ed344dc40ab117075"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route_generator/lib/src/builders/auto_router_builder_base.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff3928547cb399b8eed04d702ca62065baf7b3473e20b9393b5ffa25168d91e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/deferred_widget.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea07fee4372d15061cab0485c86a5f90bca506bef9db22e871f2b36f840701a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: auto_router.dart \u2194 auto_tabs_router.dart: \u0060auto_route/lib/src/router/widgets/auto_router.dart\u0060 and \u0060auto_route/lib/src/router/widgets/auto_tabs_router.dart\u0060 change together 50% of the time (14 of the 28 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u00601bbc5181\u0060 Fix: guard reevaluation issues  #1993 #2151 #2100; \u0060a3da0f80\u0060 Fix: Unexpected null value issue with context in provider model and A\u2026; \u00600efaed99\u0060 refactor: make AutoRouterState and AutoTabsRouterState public \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_router.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6befd3853c425836551be8e0088517e25ee6d1618b9add9af1f6b396bdd35e49"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"note","message":{"text":"CI build step not evidenced: A CI pipeline exists but no build step was matched \u2014 changes may merge without the build ever running. A build step may be invoked directly as a command, or declared as a task that a runner named in the pipeline resolves."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"251015acef1a259fcc13b7c60660cc8917ccb3ae8056cb5165ae03312dd586e8"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060repository.src\u0060 is marked as implementation by its own namespace, folder or name: \u0060NavigationHistoryImpl\u0060 (auto_route/lib/src/router/controller/navigation_history/native_navigation_history.dart:7, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/controller/navigation_history/native_navigation_history.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"869ec95d2a3955792d29cae85f8a45d1065da95506bb68ad2458294f8231358c"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add the Dart analyzer\u0027s security lints plus \u0060semgrep --config=auto\u0060 as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060onGenerateContent\u0060 is async and calls createSync, writeAsStringSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route_generator/lib/src/builders/auto_router_builder_base.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea1acfd42835a2ca1436f9e0bdc41e6b323c63f45e7115bf01e4febf9aac525"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060onGenerateContent\u0060 is async and calls readAsStringSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route_generator/lib/src/lean_builder/lean_auto_router_builder.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bac69afccaa283da03689a87f9d2f3c28022d71530f14d7d6a850f27b28c0b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!type.isNullable \u0026\u0026 !parameterElement.hasDefaultValue\u0060 appears character-identically in 2 files \u2014 auto_route_generator/lib/src/lean_builder/resolvers/lean_route_parameter_resolver.dart, auto_route_generator/lib/src/resolvers/route_parameter_resolver.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route_generator/lib/src/lean_builder/resolvers/lean_route_parameter_resolver.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5521095c44ea0e919ecac249dad25e1c1a0f83b48391d59386bc34c080b1886"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(p.isRequired || p.isPositional) \u0026\u0026 !p.isPathParam \u0026\u0026 !p.isQueryParam\u0060 appears character-identically in 3 files \u2014 auto_route_generator/lib/src/lean_builder/resolvers/lean_route_config_resolver.dart, auto_route_generator/lib/src/models/route_config.dart, auto_route_generator/lib/src/resolvers/route_config_resolver.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route_generator/lib/src/lean_builder/resolvers/lean_route_config_resolver.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4eb107f749bf4a52433d5eabac7ee6cbd22a52b1212c2e9fb6c81c26882f83"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(to.scheme == \u0027package\u0027 \u0026\u0026 fileUri.scheme == \u0027package\u0027 \u0026\u0026 fileUri.pathSegments.first == libName) || (to.scheme == \u0027asset\u0027 \u0026\u0026 fileUri.scheme \u2026\u0060 appears character-identically in 2 files \u2014 auto_route_generator/lib/src/lean_builder/resolvers/lean_type_resolver.dart, auto_route_generator/lib/src/resolvers/type_resolver.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route_generator/lib/src/lean_builder/resolvers/lean_type_resolver.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4eec129cd76cc1bc53dc378ac39422f75e2b373982f55eace7c905fb08b0e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_warpUnderwayCount \u003E 0 || _scrollUnderwayCount \u003E 0\u0060 appears character-identically in 2 files \u2014 auto_route/lib/src/router/widgets/auto_page_view.dart, auto_route/lib/src/router/widgets/auto_tab_view.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_page_view.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94232848acdd73d9b4367f66e367a47aa8fa2e9cebe55e3a93565eac30eba74"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060deltaDx \u003C 0 \u0026\u0026 currentPage \u003C _children.length\u0060 appears character-identically in 2 files \u2014 auto_route/lib/src/router/widgets/auto_page_view.dart, auto_route/lib/src/router/widgets/auto_tab_view.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_page_view.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4b7f3939e26ff093fe2633c2040b6a37a1dd35b4db4979b099d368b11ea79d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060durationInMilliseconds == null || duration == null\u0060 appears character-identically in 2 files \u2014 auto_route/lib/src/route/auto_route_config.dart, auto_route/lib/src/route/route_type.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/route/auto_route_config.dart"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf688ced423c9cd85b52d08bb4d1c70da132cbe774f9fb7db8318e5aff0c7e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i \u003E 0 \u0026\u0026 i \u002B 1 \u003C uri.pathSegments.length\u0060 appears character-identically in 2 files \u2014 auto_route_generator/lib/src/lean_builder/resolvers/lean_type_resolver.dart, auto_route_generator/lib/src/resolvers/type_resolver.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route_generator/lib/src/lean_builder/resolvers/lean_type_resolver.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4fa5f74d39a7032456fbffacffe069264181315670e199509d5941c4cde689"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reverseDurationInMilliseconds == null || reverseDuration == null\u0060 appears character-identically in 2 files \u2014 auto_route/lib/src/route/auto_route_config.dart, auto_route/lib/src/route/route_type.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/route/auto_route_config.dart"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd66b83aeac75494b55d61cb9ef05abfd1e2648089e044759e3539934edf8e46"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060ResolvedType.fromJson\u0060 is public and takes \u0060Map\u003CString, dynamic\u003E map\u0060 from its caller, and it calls itself at line 107 (\u0060ResolvedType.fromJson\u0060) with a piece of \u0060map\u0060 \u2014 and nowhere in \u0060ResolvedType.fromJson\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. \u0060jsonDecode\u0060 sets no nesting limit: 2 MB of brackets parse to a million levels, while a walk like this one throws \u0060StackOverflowError\u0060 from about 20,000 levels \u2014 40,000 bytes (Dart 3.13 VM; on the web the limit is the browser\u0027s stack). That is an \u0060Error\u0060, not an \u0060Exception\u0060: an \u0060on Exception catch\u0060 around the call does not stop it, so the request, the frame or the isolate fails with it. Thread a depth argument through \u0060ResolvedType.fromJson\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route_generator/lib/src/models/resolved_type.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38773204328cea94815e6912a81f2d5186ee790fbdf79ac58b7c270b349e7a7"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060AutoTabViewState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_pageController\u0060 itself (line 80, \u0060PageController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_pageController.dispose()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060PageController\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_pageController.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auto_route/lib/src/router/widgets/auto_tab_view.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6905a969c2eca06aeadcdbc27012aeddffc24c2dab3844e89c09d6729a2921fd"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 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.","securityFindingsRedacted":3,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}