{"$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":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"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":"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":"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":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"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":"LeanDependencyResolver._resolveActualType (cyclomatic 41): LeanDependencyResolver._resolveActualType has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd113e37f38dbde57169367605f280c9f05a80ea7888016701555781f557b35"}},{"ruleId":"D1","level":"warning","message":{"text":"DependencyResolver._resolveActualType (cyclomatic 40): DependencyResolver._resolveActualType has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"injectable_generator/lib/resolvers/dependency_resolver.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a8c9af0a8acf5d965831805b2eedc8a7e1471a0aaf49f4b23d084b4cffd461"}},{"ruleId":"D1","level":"warning","message":{"text":"InitMethodGenerator.generate (cyclomatic 32): InitMethodGenerator.generate has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"injectable_generator/lib/code_builder/library_builder.dart"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c4d677e633a58d2eff28a1de385324808981b49481259bd37075c9bf465986"}},{"ruleId":"D1","level":"warning","message":{"text":"InitMethodGenerator.buildLazyRegisterFun (cyclomatic 22): InitMethodGenerator.buildLazyRegisterFun has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"injectable_generator/lib/code_builder/library_builder.dart"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfd2a797d4a14d33b55ff791df3bfe47d4464490ba92dfd015f2d39f98cfed3"}},{"ruleId":"D1","level":"warning","message":{"text":"DependencyConfig.== (cyclomatic 22): DependencyConfig.== has cyclomatic complexity 22 (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":"injectable_generator/lib/models/dependency_config.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"68098fe40d65e763d147a21f3783a72be1f0d7ae83b1689936573484b0aa9c29"}},{"ruleId":"D2","level":"warning","message":{"text":"LeanDependencyResolver._resolveActualType (cognitive 56): LeanDependencyResolver._resolveActualType has cognitive complexity 56 (threshold 15). Drivers by points: if/else 21 (31 pts), boolean chains 18, ternaries 2 (5 pts), loops 2 (nesting depth added 13). 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":"injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8fe2c267baa3b0b334ae49d6227a786d42019ee63d63b4ae036cba18f784ee"}},{"ruleId":"D2","level":"warning","message":{"text":"DependencyResolver._resolveActualType (cognitive 56): DependencyResolver._resolveActualType has cognitive complexity 56 (threshold 15). Drivers by points: if/else 21 (32 pts), boolean chains 17, ternaries 2 (5 pts), loops 2 (nesting depth added 14). 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":"injectable_generator/lib/resolvers/dependency_resolver.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ccbb2ac66e6ba7880869f93ff66b1c2ffd4b2c89c2f472de08bc17c03169d7a"}},{"ruleId":"D2","level":"warning","message":{"text":"InitMethodGenerator.generate (cognitive 48): InitMethodGenerator.generate has cognitive complexity 48 (threshold 15). Drivers by points: if/else 21 (30 pts), ternaries 5 (8 pts), boolean chains 7, loops 3 (nesting depth added 12). 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":"injectable_generator/lib/code_builder/library_builder.dart"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a14113375afcf4b57e1cc03d6a41dc18dcd71197a297636a4201bb5096f355"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryGenerator.generateAccessorMethods (cognitive 22): LibraryGenerator.generateAccessorMethods has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 3 (6 pts), loops 3 (5 pts), boolean chains 4 (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":"injectable_generator/lib/code_builder/library_builder.dart"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"c745c88c7b5edcbab276d09eeec19263e2d19a5e1511d20c7be717d6d59a0124"}},{"ruleId":"D2","level":"warning","message":{"text":"InitMethodGenerator.buildLazyRegisterFun (cognitive 22): InitMethodGenerator.buildLazyRegisterFun has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (10 pts), match/switch 2 (6 pts), ternaries 4 (5 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"injectable_generator/lib/code_builder/library_builder.dart"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"20670ffb4b1ae9d7b92fdbe2b1d4bbc14da6a3d28c6771d5ed2bef7dc53ce2aa"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportableTypeResolverImpl._resolveTypeArguments (cognitive 22): ImportableTypeResolverImpl._resolveTypeArguments has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2 (4 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 9). 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":"injectable_generator/lib/resolvers/importable_type_resolver.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ae9991eae057020e6d767d71c2f420e58c865601c5711faba0bd6a86afa221"}},{"ruleId":"D2","level":"warning","message":{"text":"DependencyConfig.== (cognitive 21): DependencyConfig.== has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 21. 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":"injectable_generator/lib/models/dependency_config.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36fb5c62a84e4e797ff44fe210252ebc8c58c786cd8d22adcca05f45eb06377"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DependencyResolver._resolveActualType: MethodTooLong \u2014 _resolveActualType runs 268 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 168 over it, 2.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"injectable_generator/lib/resolvers/dependency_resolver.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a908576ef54ee34894c47a0a72a021c25f6b4d0a49283e36d57ba3069d8529d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LeanDependencyResolver._resolveActualType: MethodTooLong \u2014 _resolveActualType runs 256 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 156 over it, 2.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d393fae1a6bac76c57ec60b64bd72b07637e9b4edf6fc2063df0cd812709321"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InjectableConfigGenerator.generateForFunction: MethodTooLong \u2014 generateForFunction runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"injectable_generator/lib/lean_builder/lean_injectable_config_builder.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca3e6a9da63bb09becf8641c2a8826f0662e0d4a69747d9fa370087ec00ea04"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InjectableConfigGenerator.generateForAnnotatedElement: MethodTooLong \u2014 generateForAnnotatedElement runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"injectable_generator/lib/generators/injectable_config_generator.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fc74cf5a8079e4cb053a28088fb054f62371ad8fc0487de0428f824fc128be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: code_builder/library_builder.dart: FileTooLong \u2014 596 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 96 over it, 1.19\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":"injectable_generator/lib/code_builder/library_builder.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacd13c113ed266a0b5dc498d11f416e67a21d99bea09ca95750886a1038c33a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (100 shared lines): injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart:134-471 | injectable_generator/lib/resolvers/dependency_resolver.dart:136-491 \u2014 These two members are variants of one another: 100 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee8659995e787d7be8f111e8480d31a913493d88e0ef94d42e082620a96f5fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (170 corresponding lines): injectable_generator/lib/generators/injectable_config_generator.dart:28-197 | injectable_generator/lib/lean_builder/lean_injectable_config_builder.dart:36-221 \u2014 These two members are one piece of code written twice and then edited apart: 170 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":"injectable_generator/lib/generators/injectable_config_generator.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dfd8513fcdb171fb5c0e905f6350c1583d02a661bd593485775d682c75bedb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): injectable_generator/lib/lean_builder/resolvers/lean_importable_type_resolver.dart:132-185 | injectable_generator/lib/resolvers/importable_type_resolver.dart:119-178 \u2014 These two members are one piece of code written twice and then edited apart: 54 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":"injectable_generator/lib/lean_builder/resolvers/lean_importable_type_resolver.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c864d91934735fd3c3c1c8413ddd5b880b6596a99ab4099e9bafedd95f2e3690"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): injectable_generator/lib/lean_builder/resolvers/lean_importable_type_resolver.dart:107-130 | injectable_generator/lib/resolvers/importable_type_resolver.dart:90-117 \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":"injectable_generator/lib/lean_builder/resolvers/lean_importable_type_resolver.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"111842e15f4b51a9fbabd28d6e7664111d424bf779d2779dc6bebe1a9686cb3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): injectable_generator/lib/lean_builder/resolvers/lean_importable_type_resolver.dart:187-206 | injectable_generator/lib/resolvers/importable_type_resolver.dart:180-200 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"injectable_generator/lib/lean_builder/resolvers/lean_importable_type_resolver.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d9be9ecb108e79d4e7efbe9ccb3351531b65e96b67532656cd7194dadf24d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): injectable_generator/lib/generators/injectable_config_generator.dart:199-221 | injectable_generator/lib/lean_builder/lean_injectable_config_builder.dart:223-244 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"injectable_generator/lib/generators/injectable_config_generator.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0b180f997ce44bd8eee88548d7a75dff47be0cc8014015d1a94c017439e3b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): injectable_generator/lib/generators/injectable_config_generator.dart:223-237 | injectable_generator/lib/lean_builder/lean_injectable_config_builder.dart:246-260 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":"injectable_generator/lib/generators/injectable_config_generator.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e3c03ca3dadc1d92aeb63825674d4b1c665fdb4aab79ca1996424b8cf1c0b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): injectable_generator/lib/code_builder/builder_utils.dart:75-81 | injectable_generator/lib/models/module_config.dart:53-58 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"injectable_generator/lib/code_builder/builder_utils.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b3e5066c0590ae972d9b507d26dc9649abf99643d0c273595db96a0512655e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56\u201357 lines \u00D7 2): injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart:350-406 | injectable_generator/lib/resolvers/dependency_resolver.dart:371-426 \u2014 before extracting anything, compare \u0060injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart\u0060 and \u0060injectable_generator/lib/resolvers/dependency_resolver.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart:350\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ea6b0cde31e574af2693ac6abe7deb7ce9fd86259f1b9cab41dbd8e40c76ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): injectable_generator/lib/generators/injectable_config_generator.dart:124-169 | injectable_generator/lib/lean_builder/lean_injectable_config_builder.dart:146-191 \u2014 before extracting anything, compare \u0060injectable_generator/lib/generators/injectable_config_generator.dart\u0060 and \u0060injectable_generator/lib/lean_builder/lean_injectable_config_builder.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060injectable_generator/lib/generators/injectable_config_generator.dart:124\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":"injectable_generator/lib/generators/injectable_config_generator.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ddbc27e583e24a4237471c63fdfe8db8e1fdb0dc0ff58d58e9a497e8e1a03ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart:438-463 | injectable_generator/lib/resolvers/dependency_resolver.dart:458-483 \u2014 before extracting anything, compare \u0060injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart\u0060 and \u0060injectable_generator/lib/resolvers/dependency_resolver.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart:438\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. 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":"injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d6ff63a268e7a0e5b90190136e7bbd2698f69375eb994de293785e94e41205"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart:271-290 | injectable_generator/lib/resolvers/dependency_resolver.dart:271-288 \u2014 before extracting anything, compare \u0060injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart\u0060 and \u0060injectable_generator/lib/resolvers/dependency_resolver.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart:271\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ebf29c5b579ebf116dd0d82c7bd37d4e19ef6160ad9a83c183ef008dd94ce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): injectable_generator/lib/generators/injectable_config_generator.dart:171-189 | injectable_generator/lib/lean_builder/lean_injectable_config_builder.dart:193-211 \u2014 before extracting anything, compare \u0060injectable_generator/lib/generators/injectable_config_generator.dart\u0060 and \u0060injectable_generator/lib/lean_builder/lean_injectable_config_builder.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060injectable_generator/lib/generators/injectable_config_generator.dart:171\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":"injectable_generator/lib/generators/injectable_config_generator.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d638b63fd551c01d8188a8b928fc2b3469bd2d9a8c653ed2708a8e944ab6df91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): injectable_generator/lib/generators/injectable_config_generator.dart:207-221 | injectable_generator/lib/lean_builder/lean_injectable_config_builder.dart:230-244 \u2014 before extracting anything, compare \u0060injectable_generator/lib/generators/injectable_config_generator.dart\u0060 and \u0060injectable_generator/lib/lean_builder/lean_injectable_config_builder.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060injectable_generator/lib/generators/injectable_config_generator.dart:207\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060typeResolver\u0060 to \u0060ImportableTypeResolverImpl\u0060 in one and \u0060LeanTypeResolverImpl\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"injectable_generator/lib/generators/injectable_config_generator.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"30dc154fb2190d68b6878ef64062eb0868b765877addfea2b60b29def0712304"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060injectable_generator\u0060 is a published pub package (\u0060pubspec.yaml\u0060 without \u0060publish_to: none\u0060) and neither \u0060injectable_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":"injectable_generator/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da14c7747509e08f9757065430ef4914b12e523c0347fdc1c5227d872a40a832"}},{"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":"1ebfc6454926adc8bcdd9a383a1f7e392ddea375507c6f03377190653a98f9ce"},"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":"8c7a6f22f5cacef7b0326f615c98658505497646c1a01728fe36684356bd26c0"},"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":"b53edd3ffe456b3414ec4b73ab23cd56cbd460b29f570e5a953862fea809eaa3"},"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":"db8098748428bcb97066a640331fd59db47332698f020dc5b802537917287ece"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"D36","level":"warning","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":"8269361843ffe65dbb28f6096b8754032a264b0176110008bed0d9682c1a6f4f"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"AX1","level":"error","message":{"text":"Captive dependency: get_it singleton PostConstructableService captures factory IService: \u0060PostConstructableService\u0060 is registered with get_it as a SINGLETON (@singleton) and is built from \u0060service\u0060, whose type \u0060IService\u0060 is registered only as a FACTORY (@Injectable, injectable/example/lib/services/abstract_service.dart:49). The singleton is handed one instance when it is built and keeps it for the life of the locator \u2014 the fresh instance per resolve that the factory registration promises never reaches it, and any state that instance carries is shared by every later caller. Resolve \u0060IService\u0060 per use, register it as a singleton if one shared instance is meant, or make \u0060PostConstructableService\u0060 a factory too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"injectable/example/lib/services/abstract_service.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47c7f517dab9b57a6a42a298ea26885fa090ee925018c51d8016096b2ec3368"}},{"ruleId":"AX1","level":"error","message":{"text":"Captive dependency: get_it singleton Repo captures factory IService: \u0060Repo\u0060 is registered with get_it as a SINGLETON (@LazySingleton) and is built from \u0060service\u0060, whose type \u0060IService\u0060 is registered only as a FACTORY (@Injectable, injectable/example/lib/services/abstract_service.dart:49). The singleton is handed one instance when it is built and keeps it for the life of the locator \u2014 the fresh instance per resolve that the factory registration promises never reaches it, and any state that instance carries is shared by every later caller. Resolve \u0060IService\u0060 per use, register it as a singleton if one shared instance is meant, or make \u0060Repo\u0060 a factory too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"injectable/example/lib/module/register_module.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06033833733a2b4fbf07a89e856cc2f8a5a464729f461f90e45774bd9526398"}},{"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.lean_builder\u0060 is marked as implementation by its own namespace, folder or name: \u0060LeanTypeResolverImpl\u0060 (injectable_generator/lib/lean_builder/resolvers/lean_importable_type_resolver.dart:59, 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":"injectable_generator/lib/lean_builder/resolvers/lean_importable_type_resolver.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"335bbf9c738823f6eaa5e92ab03ce76d7f63d9b869ab600d093a665cb6b2031e"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060repository.resolvers\u0060 is marked as implementation by its own namespace, folder or name: \u0060ImportableTypeResolverImpl\u0060 (injectable_generator/lib/resolvers/importable_type_resolver.dart:59, 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":"injectable_generator/lib/resolvers/importable_type_resolver.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b09b309f577ebf8f45a9bc1d73bb1613cd4d539e3518ba6711cf797ec2ba010"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"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":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/coverage.yml"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060generateForFunction\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":"injectable_generator/lib/lean_builder/lean_injectable_config_builder.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ce3289d732cad73ba47fd80be99aea57f7efa1205600297e6c4513cb675c20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(executableInitializer is ConstructorElement \u0026\u0026 executableInitializer.isConst) \u0026\u0026 _dependencies.isEmpty\u0060 appears character-identically in 2 files \u2014 injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart, injectable_generator/lib/resolvers/dependency_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":"injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00c11cf2340074a991263e24d4e7230bfd7d7326c63b6c528009e4a085f1aea"}},{"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 injectable_generator/lib/lean_builder/resolvers/lean_importable_type_resolver.dart, injectable_generator/lib/resolvers/importable_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":"injectable_generator/lib/lean_builder/resolvers/lean_importable_type_resolver.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae620119ef095f65cc58936574c972cbf7d987c21ded07fc07440ff05067aaa4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_cache == true \u0026\u0026 _injectableType != InjectableType.factory\u0060 appears character-identically in 2 files \u2014 injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart, injectable_generator/lib/resolvers/dependency_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":"injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"364cdd6a125b449ad9b929a3cf0bc4c9a585f666ce52cda7a79d9f3056ba98f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_hasInjectable(clazz) || (_autoRegister \u0026\u0026 _hasConventionalMatch(clazz))\u0060 appears character-identically in 2 files \u2014 injectable_generator/lib/generators/injectable_generator.dart, injectable_generator/lib/lean_builder/lean_injectable_builder.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":"injectable_generator/lib/generators/injectable_generator.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06bf7b15cd71dda73bf18fdb228f2776ba11cb6123332a89714657692023826"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_injectableType != InjectableType.factory \u0026\u0026 factoryParamsCount != 0\u0060 appears character-identically in 2 files \u2014 injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart, injectable_generator/lib/resolvers/dependency_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":"injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"5556956de88a2865b9a85f1b7fdb33a42f02d810b6d254fb42d25eac55f3e5df"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_moduleConfig?.isAbstract == true \u0026\u0026 factoryParamsCount != 0\u0060 appears character-identically in 2 files \u2014 injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart, injectable_generator/lib/resolvers/dependency_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":"injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fdcdbe42d75592e84e081a015e37a89b750201cffe949be7729416542c341a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.isRequiredNamed || e.isRequiredPositional\u0060 appears character-identically in 2 files \u2014 injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart, injectable_generator/lib/resolvers/dependency_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":"injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2271c6fc124e22c74eb3d3b2efd3ed11db7052a9bfd117b3ab3c39a7f35b88c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060enclosingElement != null \u0026\u0026 enclosingElement is ClassElement\u0060 appears character-identically in 2 files \u2014 injectable_generator/lib/lean_builder/resolvers/lean_importable_type_resolver.dart, injectable_generator/lib/resolvers/importable_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":"injectable_generator/lib/lean_builder/resolvers/lean_importable_type_resolver.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e853c40151817bd51c40906512dcc035ae47cba4512e7c7a7cbe026a45590d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060excModuleMember != null \u0026\u0026 !excModuleMember.isAbstract\u0060 appears character-identically in 2 files \u2014 injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart, injectable_generator/lib/resolvers/dependency_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":"injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"701ef5fdbcb87b9d7cb893ba204f8618103a6f9e4878d06fb975535ed623948b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isFactoryParam \u0026\u0026 !resolvedType.isNullable \u0026\u0026 _isAsync\u0060 appears character-identically in 2 files \u2014 injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart, injectable_generator/lib/resolvers/dependency_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":"injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"552492dc7f5e96b8a5456880a8f8c8b19a7b5dcbad6b545644c6ac122e24cc05"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.isRequiredNamed || p.isRequiredPositional || p.isRequired\u0060 appears character-identically in 2 files \u2014 injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart, injectable_generator/lib/resolvers/dependency_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":"injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a4397c53f87770b38dbf1c386dc7437d9e46534e78e8a06a04cf6c1aeea2e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060param.isNamed \u0026\u0026 name.startsWith(\u0027_\u0027) \u0026\u0026 name.length \u003E 1\u0060 appears character-identically in 2 files \u2014 injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart, injectable_generator/lib/resolvers/dependency_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":"injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c2b9589f70c0ed3e1f378ba7a820fcbaeab48a836589c832d0557f3c41fa01"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060params.length != 1 || _typeResolver.resolveType(params.first.type) != _type\u0060 appears character-identically in 2 files \u2014 injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart, injectable_generator/lib/resolvers/dependency_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":"injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1669b1cfdce8e11ad239c85e2e3990c625797b7257456f33146650f098521fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060returnType == _type || returnType == _typeImpl\u0060 appears character-identically in 2 files \u2014 injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart, injectable_generator/lib/resolvers/dependency_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":"injectable_generator/lib/lean_builder/resolvers/lean_dependency_resolver.dart"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9c0140408982f5e7c6f374c058fda4b6c117d57df8b7abce49a4ef6b1d914e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeValue.element is! ClassElement || !TypeChecker.typeNamed( MicroPackageModule, inPackage: \u0027injectable\u0027, ).isSuperOf(typeValue.element!)\u0060 appears character-identically in 2 files \u2014 injectable_generator/lib/generators/injectable_config_generator.dart, injectable_generator/lib/lean_builder/lean_injectable_config_builder.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":"injectable_generator/lib/generators/injectable_config_generator.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"df303886d0bc34dfde65bb043ab8c3311b7a6fb82b94732ee72527d025160105"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeValue.element is! ClassElement || !_moduleChecker.isSuperOf(typeValue.element!)\u0060 appears character-identically in 2 files \u2014 injectable_generator/lib/generators/injectable_config_generator.dart, injectable_generator/lib/lean_builder/lean_injectable_config_builder.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":"injectable_generator/lib/generators/injectable_config_generator.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e819e40bd76060c4d98d7d94e8a9b76e4cfdb99bd7ba5cd26e9554fadb176554"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060ImportableType.fromJson\u0060 is public and takes \u0060Map\u003CString, dynamic\u003E json\u0060 from its caller, and it calls itself at line 104 (\u0060ImportableType.fromJson\u0060) with a piece of \u0060json\u0060 \u2014 and nowhere in \u0060ImportableType.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 \u0060ImportableType.fromJson\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"injectable_generator/lib/models/importable_type.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9d82a7682c8602de6cddf4d27772ffbeddf2205fb3fc5b87e9bd09bf4182fc"}}],"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-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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.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-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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"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/"}]},{"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"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"}]}],"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":7,"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."]}]}