{"$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":"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":"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":"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":"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":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"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":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"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":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"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":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"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":"_Reader._type (cyclomatic 94): _Reader._type has cyclomatic complexity 94 (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":"src/compiler/exports.dart"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ff9f18f81987373d5e028d68ab66be7cc1765a11e902dfeb8a092503857a67"}},{"ruleId":"D1","level":"warning","message":{"text":"_Reader.read (cyclomatic 80): _Reader.read has cyclomatic complexity 80 (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":"src/compiler/exports.dart"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2745c6e96ce599876896ff853e8463b83d67fda6fccefc1597761736f5011ca"}},{"ruleId":"D1","level":"warning","message":{"text":"_Writer._maySubtype (cyclomatic 77): _Writer._maySubtype has cyclomatic complexity 77 (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":"src/compiler/typescript.dart"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"517887cf0ffcc9d2fa1d0ad590cf4dd30bd63cca3e5d25eb9bcb7b67021f8021"}},{"ruleId":"D1","level":"warning","message":{"text":"_Writer._type (cyclomatic 63): _Writer._type has cyclomatic complexity 63 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/typescript.dart"},"region":{"startLine":3109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0f635b680791377f5967703525c3e3e3ee59eec589343b878e39639f4ab89c"}},{"ruleId":"D1","level":"warning","message":{"text":"_Reader._classInstances (cyclomatic 46): _Reader._classInstances has cyclomatic complexity 46 (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":"src/compiler/exports.dart"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ca53a7da26b54d330416033d315b0f19df7e17324af4c8620da94fd75daa67"}},{"ruleId":"D1","level":"warning","message":{"text":"_Writer._collectDifference (cyclomatic 46): _Writer._collectDifference has cyclomatic complexity 46 (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":"src/compiler/typescript.dart"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa02baede0076641ca2be6fbe8175c7fcfb58dd6d3c7c6006fc718f71cf9ac4"}},{"ruleId":"D1","level":"warning","message":{"text":"Calls._decode (cyclomatic 45): Calls._decode has cyclomatic complexity 45 (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":"src/compiler/calls.dart"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"0766243e750e57f449a4ca428d030176cbaf5299eaef65c0b2bd5966e1cd6631"}},{"ruleId":"D1","level":"warning","message":{"text":"Calls._codecNeeds (cyclomatic 40): Calls._codecNeeds 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":"src/compiler/calls.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7972331d71053387dc038a1df715585e8d7dc15fb0d655ec30aa5c0e9a2812da"}},{"ruleId":"D1","level":"warning","message":{"text":"Calls._encode (cyclomatic 38): Calls._encode has cyclomatic complexity 38 (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":"src/compiler/calls.dart"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"71907b0a74a72bc4841927c5892c3ce9c0d65defa6e90693ea3fc9ed317169ec"}},{"ruleId":"D1","level":"warning","message":{"text":"_Reader._checkGenericBounds (cyclomatic 37): _Reader._checkGenericBounds has cyclomatic complexity 37 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/exports.dart"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"8607e592f2db690aa679d65f82e9e82a3db206f465a3c4d2b9cd07a383cc2a7e"}},{"ruleId":"D1","level":"warning","message":{"text":"_Writer._meet (cyclomatic 37): _Writer._meet has cyclomatic complexity 37 (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":"src/compiler/typescript.dart"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"5114397928110d6d5ace05f209f1b232501cc0daf5b845581ffcdf65e1308cef"}},{"ruleId":"D1","level":"warning","message":{"text":"_Reader._function (cyclomatic 36): _Reader._function has cyclomatic complexity 36 (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":"src/compiler/exports.dart"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcafa629fd095212ee08f7651dfef08cbfc88c057c128701c76cb21f944703b4"}},{"ruleId":"D1","level":"warning","message":{"text":"_Writer._awaitedTypes (cyclomatic 36): _Writer._awaitedTypes has cyclomatic complexity 36 (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":"src/compiler/typescript.dart"},"region":{"startLine":2374}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd5ffb434ec477f5df297ab19c2d53fbb0a0e3133b9b9bbc9b35aee79b95cbb"}},{"ruleId":"D1","level":"warning","message":{"text":"Env.defineClass (cyclomatic 32): Env.defineClass 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":"lib/src/env.dart"},"region":{"startLine":2017}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcf34c5ca5ef083ec6dbadfb494e861a47fd1c719ce0427534457026fc98e40"}},{"ruleId":"D1","level":"warning","message":{"text":"_Writer._functionSignatures (cyclomatic 31): _Writer._functionSignatures has cyclomatic complexity 31 (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":"src/compiler/typescript.dart"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"efef41a18ab3c22640355985404a46901640f507b0430055fcc5d510824b06d8"}},{"ruleId":"D1","level":"warning","message":{"text":"_Writer.write (cyclomatic 30): _Writer.write has cyclomatic complexity 30 (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":"src/compiler/typescript.dart"},"region":{"startLine":2790}}}],"partialFingerprints":{"codehealthFindingId/v1":"499a6944390b83498e306c36bac0e1cd796655107994b5995d051c47099f3ec8"}},{"ruleId":"D1","level":"warning","message":{"text":"_Writer._writeClass (cyclomatic 29): _Writer._writeClass has cyclomatic complexity 29 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/typescript.dart"},"region":{"startLine":2674}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec04d1926cb6f23deb5a78ce5dc0bf0c7fe5b9436485b9566ebea94194538b5f"}},{"ruleId":"D1","level":"warning","message":{"text":"Env._readGenericValue (cyclomatic 29): Env._readGenericValue has cyclomatic complexity 29 (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":"lib/src/env.dart"},"region":{"startLine":2517}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fdf012bd58e0237e055f18f5c833a8188600c281279c9f7c5c912283bcfa3c"}},{"ruleId":"D1","level":"warning","message":{"text":"_Writer._knownRepresentationDifference (cyclomatic 28): _Writer._knownRepresentationDifference has cyclomatic complexity 28 (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":"src/compiler/typescript.dart"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a6f76d865649571a8fa6b41ce16b882f33aa6647f93e01118a7b89cbf94465"}},{"ruleId":"D1","level":"warning","message":{"text":"package_compiler.package (cyclomatic 28): package_compiler.package has cyclomatic complexity 28 (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":"tool/package_compiler.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b5e1145b8028f114f3feadfcf574a749d39caa6d19fbce288f4f3d1bb885ce"}},{"ruleId":"D1","level":"warning","message":{"text":"Calls._callBody (cyclomatic 27): Calls._callBody has cyclomatic complexity 27 (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":"src/compiler/calls.dart"},"region":{"startLine":2593}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c840a0fd2b69b42ca2bbbfb4b99b711f3e63cf435cca2c6a6ac77ebbdcdd80"}},{"ruleId":"D1","level":"warning","message":{"text":"_Writer._impliesPair (cyclomatic 27): _Writer._impliesPair has cyclomatic complexity 27 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/typescript.dart"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfb66a0c6e6efd6b23fe05c7ce28fe186d92408c817053696ae54326db795a7"}},{"ruleId":"D1","level":"warning","message":{"text":"Artifact.create (cyclomatic 27): Artifact.create has cyclomatic complexity 27 (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":"lib/src/compiler/package/artifact.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"755ad223aab7a035bda5b00eb619208d73b1096dd189eb78da43d152555d5309"}},{"ruleId":"D1","level":"warning","message":{"text":"_Writer._Writer (cyclomatic 26): _Writer._Writer has cyclomatic complexity 26 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/typescript.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a19c92e0a6af66baefe703fb2d6a7847687cbd462a4475766b91ebd25354d4a"}},{"ruleId":"D1","level":"warning","message":{"text":"_Reader._members (cyclomatic 25): _Reader._members has cyclomatic complexity 25 (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":"src/compiler/exports.dart"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbea53a430167e5d0e5c23a38d11bed5fa892556fb3fc05c26c96a56902b6de8"}},{"ruleId":"D1","level":"warning","message":{"text":"_Reader._class (cyclomatic 23): _Reader._class has cyclomatic complexity 23 (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":"src/compiler/exports.dart"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a218177583da7bb790b39fe7d698942d9e12dc8ec8e4264983e30c06e1915f"}},{"ruleId":"D1","level":"warning","message":{"text":"_Reader._sameStaticSignature (cyclomatic 23): _Reader._sameStaticSignature has cyclomatic complexity 23 (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":"src/compiler/exports.dart"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0424d4a36fc4506109df847865bcaf4e7653ad673ae9c6b0354cb776e966d9"}},{"ruleId":"D1","level":"warning","message":{"text":"Env._readStream (cyclomatic 23): Env._readStream has cyclomatic complexity 23 (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":"lib/src/env.dart"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a46078671602db435ce77b4373a954c03983d267769226d2f3edaefd289988a"}},{"ruleId":"D1","level":"warning","message":{"text":"MachOImage.build (cyclomatic 22): MachOImage.build has cyclomatic complexity 22 (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":"experiments/native-image/macho.dart"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"34def0ea407f14f6abb92010a6195cd7cc429d12dbc13bef072ec34aba8cf461"}},{"ruleId":"D1","level":"warning","message":{"text":"_Writer._hasContravariantParameter (cyclomatic 22): _Writer._hasContravariantParameter 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":"src/compiler/typescript.dart"},"region":{"startLine":1923}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a43237ca7a6b73e46477d1d857e3e09b8a7d2bb3fcd32dd1514f4484e247469"}},{"ruleId":"D1","level":"warning","message":{"text":"_Writer._fulfillment (cyclomatic 21): _Writer._fulfillment has cyclomatic complexity 21 (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":"src/compiler/typescript.dart"},"region":{"startLine":3247}}}],"partialFingerprints":{"codehealthFindingId/v1":"566901a1d43a6f467a994b6bf33c8117b3bbc9b2d096bd5e032810540f8dd655"}},{"ruleId":"D1","level":"warning","message":{"text":"Calls._objectCodec (cyclomatic 20): Calls._objectCodec has cyclomatic complexity 20 (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":"src/compiler/calls.dart"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff82168c92aaf65f6e5c4d8958e3b44101186d6f6f2b921f21c25516cdf0db9"}},{"ruleId":"D1","level":"warning","message":{"text":"_Writer._solveDifferences (cyclomatic 20): _Writer._solveDifferences has cyclomatic complexity 20 (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":"src/compiler/typescript.dart"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ed7831042a67c98b6b143929cfc89789beac8b55c5e31ca93c6bf576cfcbef"}},{"ruleId":"D1","level":"warning","message":{"text":"MachOImage._readImports (cyclomatic 19): MachOImage._readImports has cyclomatic complexity 19 (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":"experiments/native-image/macho.dart"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"6999e7afdf5c587848c56c37b5d3f8d2da9bdc568532eae9270c62e519fd3c49"}},{"ruleId":"D1","level":"warning","message":{"text":"Calls._readFunctionBody (cyclomatic 18): Calls._readFunctionBody has cyclomatic complexity 18 (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":"src/compiler/calls.dart"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"1203e036d3d4fdc866ec8b0cdb79a9c4995ef4f2f1ca4c6214a38836b011c4b6"}},{"ruleId":"D1","level":"warning","message":{"text":"_Writer._buildDifferences (cyclomatic 18): _Writer._buildDifferences has cyclomatic complexity 18 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/typescript.dart"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"c027e3af486d56a84b74425748601c76581a83b94ea033a30b118d2512dfb247"}},{"ruleId":"D1","level":"warning","message":{"text":"_Writer._collectMixedRecordObject (cyclomatic 18): _Writer._collectMixedRecordObject has cyclomatic complexity 18 (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":"src/compiler/typescript.dart"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a30bd18ebe45221f64d6c415dea12dbaf1f35717a0a91f07e47f8644580c6f"}},{"ruleId":"D1","level":"warning","message":{"text":"_Reader._inheritedMembers (cyclomatic 17): _Reader._inheritedMembers has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/exports.dart"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb289ee0015c99ecd568d0727d739e386788c284d8af9a4a7a0468129eb5fb42"}},{"ruleId":"D1","level":"warning","message":{"text":"_TypeCodecPatterns.shape (cyclomatic 17): _TypeCodecPatterns.shape has cyclomatic complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/exports.dart"},"region":{"startLine":2328}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b1607b274c1a99414eb85a1b22dce34fc5a9b53cb3b8ce52e32c39fba9befb"}},{"ruleId":"D1","level":"warning","message":{"text":"_Writer._objectType (cyclomatic 17): _Writer._objectType has cyclomatic complexity 17 (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":"src/compiler/typescript.dart"},"region":{"startLine":3329}}}],"partialFingerprints":{"codehealthFindingId/v1":"282eb0007f43219c4244b65caef1cd8698ef456b5d8555c21d3b054319cabc27"}},{"ruleId":"D1","level":"warning","message":{"text":"Calls._classCallBody (cyclomatic 16): Calls._classCallBody has cyclomatic complexity 16 (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":"src/compiler/calls.dart"},"region":{"startLine":2220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59434cc119f51a50c5af2f73dad4ec3effdfef5a8915ea883f8f0a1bdb19ed0"}},{"ruleId":"D1","level":"warning","message":{"text":"_Reader._objectClass (cyclomatic 16): _Reader._objectClass has cyclomatic complexity 16 (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":"src/compiler/exports.dart"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8c8e2c106c1bc489cf33e878d56f5a595951ee7e5b92c5af2196542c1c5a24"}},{"ruleId":"D1","level":"warning","message":{"text":"_Writer._functionResult (cyclomatic 16): _Writer._functionResult has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/typescript.dart"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ed939e6a532730010b8d70f2966c0184f9e6860b10e4af477cec1702cf6a22"}},{"ruleId":"D1","level":"warning","message":{"text":"Env._encode (cyclomatic 16): Env._encode has cyclomatic complexity 16 (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":"lib/src/env.dart"},"region":{"startLine":2607}}}],"partialFingerprints":{"codehealthFindingId/v1":"376427f691b239fbbd4c918af43d5e2cc4df997b39fa1b530f76933f2724ade4"}},{"ruleId":"D2","level":"warning","message":{"text":"_Reader.read (cognitive 156): _Reader.read has cognitive complexity 156 (threshold 15). Drivers by points: if/else 36 (79 pts), loops 27 (48 pts), boolean chains 16, ternaries 3 (10 pts), match/switch 1 (3 pts) (nesting depth added 73). 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":"src/compiler/exports.dart"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d3be393ecfe61f160f68145c7c972349043b2c8db00cb36277aaefc3e6cac9"}},{"ruleId":"D2","level":"warning","message":{"text":"_Reader._type (cognitive 156): _Reader._type has cognitive complexity 156 (threshold 15). Drivers by points: if/else 36 (87 pts), loops 8 (24 pts), ternaries 6 (18 pts), boolean chains 14, match/switch 4 (13 pts) (nesting depth added 88). 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":"src/compiler/exports.dart"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c065caea567c3a92ba6182a38c6902e3512f53dad01596d2134d9194e36310"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._maySubtype (cognitive 107): _Writer._maySubtype has cognitive complexity 107 (threshold 15). Drivers by points: if/else 32 (54 pts), boolean chains 32, loops 6 (13 pts), ternaries 4 (6 pts), match/switch 1 (2 pts) (nesting depth added 32). 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":"src/compiler/typescript.dart"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9236bdb602e7e48b6d5f2d8e2d189b46d8f82a9cb29241cc84e965b78adde3f"}},{"ruleId":"D2","level":"warning","message":{"text":"Env.defineClass (cognitive 98): Env.defineClass has cognitive complexity 98 (threshold 15). Drivers by points: if/else 16 (50 pts), ternaries 10 (35 pts), loops 5 (10 pts), boolean chains 2, error handling 1 (nesting depth added 64). 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":"lib/src/env.dart"},"region":{"startLine":2017}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec56abc6325f0520b5ce6a79b950590e981718ad06d483dae77a5a4ce7acf00"}},{"ruleId":"D2","level":"warning","message":{"text":"_Reader._classInstances (cognitive 95): _Reader._classInstances has cognitive complexity 95 (threshold 15). Drivers by points: if/else 19 (53 pts), loops 10 (25 pts), boolean chains 15, ternaries 1 (2 pts) (nesting depth added 50). 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":"src/compiler/exports.dart"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0d1014e46f68c43c825d6eb6e965728dd8de9caf601bdb3bfcaf7735b7b268"}},{"ruleId":"D2","level":"warning","message":{"text":"_Reader._function (cognitive 93): _Reader._function has cognitive complexity 93 (threshold 15). Drivers by points: if/else 14 (46 pts), loops 9 (25 pts), ternaries 7 (14 pts), boolean chains 8 (nesting depth added 55). 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":"src/compiler/exports.dart"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1054bb4d993c2fb86762d6971060d6567e50c16e3744b08e210ec60ae3e8aa"}},{"ruleId":"D2","level":"warning","message":{"text":"Calls._codecNeeds (cognitive 84): Calls._codecNeeds has cognitive complexity 84 (threshold 15). Drivers by points: if/else 22 (47 pts), loops 8 (23 pts), boolean chains 8, ternaries 2 (6 pts) (nesting depth added 44). 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":"src/compiler/calls.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c5547b4acb57c27255fdf175ee6c3a2d8bc9003cda1b2681b220e73de01432"}},{"ruleId":"D2","level":"warning","message":{"text":"Calls._callBody (cognitive 77): Calls._callBody has cognitive complexity 77 (threshold 15). Drivers by points: if/else 14 (32 pts), ternaries 8 (28 pts), loops 6 (15 pts), boolean chains 2 (nesting depth added 47). 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":"src/compiler/calls.dart"},"region":{"startLine":2593}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cfa1d513816449fc16a3a5e329f6c3bbd1d1d42963cf60883aa42078c156e85"}},{"ruleId":"D2","level":"warning","message":{"text":"_Reader._checkGenericBounds (cognitive 71): _Reader._checkGenericBounds has cognitive complexity 71 (threshold 15). Drivers by points: loops 22 (49 pts), if/else 12 (19 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 35). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/exports.dart"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b59fd40d4ef23e417face61b549cf94c0952afc9b858d53775dd682bd5284e"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer.write (cognitive 67): _Writer.write has cognitive complexity 67 (threshold 15). Drivers by points: loops 14 (30 pts), ternaries 6 (20 pts), if/else 8 (15 pts), boolean chains 2 (nesting depth added 37). 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":"src/compiler/typescript.dart"},"region":{"startLine":2790}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60b3631a0be66fea86ce2ec08b96c04d0e9fed1c7e3cf93b1a96933b65ec79f"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._collectDifference (cognitive 61): _Writer._collectDifference has cognitive complexity 61 (threshold 15). Drivers by points: if/else 29 (39 pts), boolean chains 12, loops 5 (10 pts) (nesting depth added 15). 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":"src/compiler/typescript.dart"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04b2a410fb7eb9f13050f608cb1ee32b20d9e44dd1bed49d4567c623f85c024"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._solveDifferences (cognitive 60): _Writer._solveDifferences has cognitive complexity 60 (threshold 15). Drivers by points: if/else 8 (35 pts), loops 6 (20 pts), boolean chains 5 (nesting depth added 41). 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":"src/compiler/typescript.dart"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b05bcca4ab090eb1148ab6d7224bb1bf30fd85fd7fcc227f42922a0449d724"}},{"ruleId":"D2","level":"warning","message":{"text":"Env._readStream (cognitive 54): Env._readStream has cognitive complexity 54 (threshold 15). Drivers by points: if/else 13 (34 pts), error handling 5 (14 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 31). 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":"lib/src/env.dart"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33d30daf465394a53b83ca3b829b1e877798100e5d75dbe2bb398088e3e3367"}},{"ruleId":"D2","level":"warning","message":{"text":"MachOImage._readImports (cognitive 50): MachOImage._readImports has cognitive complexity 50 (threshold 15). Drivers by points: if/else 11 (33 pts), loops 6 (15 pts), boolean chains 2 (nesting depth added 31). 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":"experiments/native-image/macho.dart"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a3d8dee3f93650d6e12f2f0f473aa9121d16ad72f2e07c348bdef07310f193"}},{"ruleId":"D2","level":"warning","message":{"text":"Calls._decode (cognitive 47): Calls._decode has cognitive complexity 47 (threshold 15). Drivers by points: if/else 11 (23 pts), ternaries 10 (19 pts), match/switch 3 (4 pts), boolean chains 1 (nesting depth added 22). 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":"src/compiler/calls.dart"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"f632c8abece3db9099c9266e2888306c27a08da53510eca05a2577858ca6cf03"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._writeClass (cognitive 45): _Writer._writeClass has cognitive complexity 45 (threshold 15). Drivers by points: loops 17 (29 pts), ternaries 8 (11 pts), if/else 4 (5 pts) (nesting depth added 16). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/typescript.dart"},"region":{"startLine":2674}}}],"partialFingerprints":{"codehealthFindingId/v1":"66eaf16d4acd0d3b960bdc7529791d3e04a7e3824a0b464abc4118f1c15acfd4"}},{"ruleId":"D2","level":"warning","message":{"text":"Calls._encode (cognitive 44): Calls._encode has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (20 pts), ternaries 10 (20 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 21). 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":"src/compiler/calls.dart"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87879913c1d7c294720dfbba897596ddef004bb56eaa6e9b8f9fa7f8a69440c"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._Writer (cognitive 44): _Writer._Writer has cognitive complexity 44 (threshold 15). Drivers by points: loops 17 (27 pts), if/else 7 (16 pts), boolean chains 1 (nesting depth added 19). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/typescript.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f135748f56ec8aaf561e4206319861852bbd8312cea2d8c51cd3d06ae310229b"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._meet (cognitive 43): _Writer._meet has cognitive complexity 43 (threshold 15). Drivers by points: boolean chains 20, ternaries 6 (12 pts), if/else 9, loops 1 (2 pts) (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":"src/compiler/typescript.dart"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3a80a3d79e665ab71ff85ab83e789edf70c3f6da223f762aa734506bbc75ac"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._awaitedTypes (cognitive 43): _Writer._awaitedTypes has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 18, loops 3 (4 pts) (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":"src/compiler/typescript.dart"},"region":{"startLine":2374}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbae64ff0b70bf83f848411ffc2c16f819bf80a5b31d7c5ec60495eb9ac7b1e"}},{"ruleId":"D2","level":"warning","message":{"text":"package_compiler.package (cognitive 41): package_compiler.package has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 11 (20 pts), if/else 13 (17 pts), loops 3, boolean chains 1 (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":"tool/package_compiler.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2b0e8faa58896f69f376f9e0f280dc54448743cef43f4042490433af2e5aba"}},{"ruleId":"D2","level":"warning","message":{"text":"_Reader._members (cognitive 36): _Reader._members has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 6 (12 pts), boolean chains 8, 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":"src/compiler/exports.dart"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d928351819ac9c8c8f1fd8854c81f4f166018c4a72c88a2ccecae76670f56e5"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._functionSignatures (cognitive 36): _Writer._functionSignatures has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (15 pts), ternaries 8 (11 pts), boolean chains 5, loops 5 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/typescript.dart"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c22fb83cefd6aa58d7b055de3626c3196d352b745c06d5d3252dbeddbf31d49"}},{"ruleId":"D2","level":"warning","message":{"text":"Calls._objectCodec (cognitive 35): Calls._objectCodec has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 7 (11 pts), loops 4 (10 pts), boolean chains 1 (nesting depth added 15). 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":"src/compiler/calls.dart"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b94c6a5ad06aee762f4fdeb96c7754ef132acef96be088be71fcc8f3300aff"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._buildDifferences (cognitive 34): _Writer._buildDifferences has cognitive complexity 34 (threshold 15). Drivers by points: loops 8 (19 pts), if/else 5 (11 pts), boolean chains 4 (nesting depth added 17). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/typescript.dart"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e865b4a05198a73b04b0d7572a941032e5d4a50f8502c20dc1f9e9f379f5d2"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._collectMixedRecordObject (cognitive 33): _Writer._collectMixedRecordObject has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 5 (13 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 15). 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":"src/compiler/typescript.dart"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f9142335eee3ef581a5cdc6561b9e52329a8f0991fff35b980190ef4a6c027"}},{"ruleId":"D2","level":"warning","message":{"text":"_Reader._class (cognitive 32): _Reader._class has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 13, loops 3 (4 pts) (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":"src/compiler/exports.dart"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6908bae7573d40912934485691599c0a015e9258289d8600da122a74de7305b"}},{"ruleId":"D2","level":"warning","message":{"text":"Calls._readFunctionBody (cognitive 31): Calls._readFunctionBody has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 7 (14 pts), loops 6 (10 pts), if/else 6 (7 pts) (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":"src/compiler/calls.dart"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7f81e7ed8828a38dca3afec137994baad2e77c583981dbaf98c40db042215e"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._impliesPair (cognitive 31): _Writer._impliesPair has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 12, if/else 6 (9 pts), loops 6 (7 pts), ternaries 2 (3 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":"src/compiler/typescript.dart"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e037eda76a1cff8c3d79ec76e0d96bcfce33280f24ffdb9ee1f8c2ba8e8920"}},{"ruleId":"D2","level":"warning","message":{"text":"MachOImage.build (cognitive 30): MachOImage.build has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 6 (8 pts), boolean chains 6 (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":"experiments/native-image/macho.dart"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fc926f50472b4cab30fb90e4248e09b4382a64770303c8f410afc79dcf5096"}},{"ruleId":"D2","level":"warning","message":{"text":"Env._readGenericValue (cognitive 30): Env._readGenericValue has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 15, if/else 9 (12 pts), match/switch 1 (2 pts), error handling 1 (nesting depth added 4). 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":"lib/src/env.dart"},"region":{"startLine":2517}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b72aca814b63631206657ec275d5ac78c9281921dfe7fb7c8101a1d8d1727b4"}},{"ruleId":"D2","level":"warning","message":{"text":"Calls._classCallBody (cognitive 29): Calls._classCallBody has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 4 (8 pts), loops 3 (4 pts), boolean chains 1 (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":"src/compiler/calls.dart"},"region":{"startLine":2220}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4b4983bfabaa8da3b484d43ae99d0c0fdd019074f76c28e2b91790ca7059cf"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._type (cognitive 29): _Writer._type has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 12 (17 pts), match/switch 4 (7 pts), boolean chains 5 (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":"src/compiler/typescript.dart"},"region":{"startLine":3109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab022fd8f4195b50dc18ca9bda3899b305f2ecb2d156f333fd568aacfd26a48"}},{"ruleId":"D2","level":"warning","message":{"text":"Artifact.create (cognitive 29): Artifact.create has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 14, if/else 10 (13 pts), loops 1, ternaries 1 (nesting depth added 3). 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":"lib/src/compiler/package/artifact.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d21d8ef369ee0919f56e1aa382169a778b5559801831549112c8e4382764ad"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._collectShapeParameters (cognitive 28): _Writer._collectShapeParameters has cognitive complexity 28 (threshold 15). Drivers by points: loops 7 (18 pts), if/else 3 (9 pts), boolean chains 1 (nesting depth added 17). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/typescript.dart"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18ed10ca6d221d938c4d0cf98395f571af08e3af4750fe57641412968add149"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._knownRepresentationDifference (cognitive 28): _Writer._knownRepresentationDifference has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 23, if/else 4 (5 pts) (nesting depth added 1). 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":"src/compiler/typescript.dart"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c9e99385df1afc1dfb7835cb0b4a97335a6c3f9ba0631589518bc704062ddc"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._fulfillment (cognitive 28): _Writer._fulfillment has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 5 (8 pts), boolean chains 4, match/switch 1 (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":"src/compiler/typescript.dart"},"region":{"startLine":3247}}}],"partialFingerprints":{"codehealthFindingId/v1":"4393b4eccf2d17d47e4014f496768b59e8301dc0ea14959e98075225bd949767"}},{"ruleId":"D2","level":"warning","message":{"text":"Calls._classFactory (cognitive 27): Calls._classFactory has cognitive complexity 27 (threshold 15). Drivers by points: loops 8 (18 pts), if/else 3 (9 pts) (nesting depth added 16). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/calls.dart"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"da651d8c0943c576f4ed8ed1a8c3ebaf07d1ece236481e7a75cb06ccc4cc0b56"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._collectMapObject (cognitive 26): _Writer._collectMapObject has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4 (12 pts) (nesting depth added 15). 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":"src/compiler/typescript.dart"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2ef6a711a030dabcde07aab8b14452d75b35b3baee971888e7fccf742f1850"}},{"ruleId":"D2","level":"warning","message":{"text":"_Reader._sameStaticSignature (cognitive 25): _Reader._sameStaticSignature has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 13, if/else 6 (9 pts), loops 3 (nesting depth added 3). 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":"src/compiler/exports.dart"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4ddf89271d5ff1b2c1015b9ec25638cf36ddab76c404b21ca4910f259a8875"}},{"ruleId":"D2","level":"warning","message":{"text":"_TypeCodecPatterns.shape (cognitive 25): _TypeCodecPatterns.shape has cognitive complexity 25 (threshold 15). Drivers by points: loops 8 (16 pts), if/else 7 (8 pts), boolean chains 1 (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/exports.dart"},"region":{"startLine":2328}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7eb32dd32d1eda47e21975847e4e05b81354713022de2b70f1d81787ff862f"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._hasContravariantParameter (cognitive 24): _Writer._hasContravariantParameter has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 11, if/else 7 (10 pts), loops 2, ternaries 1 (nesting depth added 3). 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":"src/compiler/typescript.dart"},"region":{"startLine":1923}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b61002221359ec4569def7f2f4137e8c652669b305c78086b1e8ffcf404a13"}},{"ruleId":"D2","level":"warning","message":{"text":"_Snapshot._Snapshot (cognitive 22): _Snapshot._Snapshot has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (4 pts), boolean chains 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":"experiments/native-image/build.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f60f80d0109bb8bb2e010729d3a3e0adf00e321555f8329912a57ef3941985a"}},{"ruleId":"D2","level":"warning","message":{"text":"_Reader._objectClass (cognitive 22): _Reader._objectClass has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 6, loops 2 (3 pts) (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":"src/compiler/exports.dart"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"5263e07ed5312a57ab2d725fcf41b4fb50684ed4323ca85fb296dd2b7e8554ed"}},{"ruleId":"D2","level":"warning","message":{"text":"_Reader._inheritedMembers (cognitive 22): _Reader._inheritedMembers has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 8, loops 6 (8 pts), if/else 2 (6 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":"src/compiler/exports.dart"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b192c7e74cba1f2f072aac4b7e1f5201c933b6da8291ad37592ced0525ac5b2"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._objectType (cognitive 22): _Writer._objectType has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 5 (6 pts), loops 3 (4 pts), boolean chains 2 (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":"src/compiler/typescript.dart"},"region":{"startLine":3329}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a8e47b2a90c8b8c35ae9856dda760f2db9d70bf62a872075a14a0270ccfb8b"}},{"ruleId":"D2","level":"warning","message":{"text":"Env._newFunction (cognitive 22): Env._newFunction has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (20 pts), error handling 1, ternaries 1 (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":"lib/src/env.dart"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d68e984052b90aa69cfb8bd34fb3b28ec37a462fb5f30d5ba8eb2d45746ad3"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._parameterTuples (cognitive 21): _Writer._parameterTuples has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (9 pts), boolean chains 5, if/else 2 (4 pts), loops 2 (3 pts) (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":"src/compiler/typescript.dart"},"region":{"startLine":3033}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e57f414f1a8e60385f8f8765d35e97499d263109a6b717860f9e58568076dc1"}},{"ruleId":"D2","level":"warning","message":{"text":"sdk_package_config.main (cognitive 21): sdk_package_config.main has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (4 pts), boolean chains 3 (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":"tool/sdk_package_config.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6578a695f77ed15d06faaf923780ee2ee57559febec1f9f55af353b829d8792"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._functionResult (cognitive 20): _Writer._functionResult has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 5 (8 pts), boolean chains 4 (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":"src/compiler/typescript.dart"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e94f763d0ed004bb9c89ed36f11b7dcefcd5259f991f5fb6101b0add6314070"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._collectShapeIdentity (cognitive 20): _Writer._collectShapeIdentity has cognitive complexity 20 (threshold 15). Drivers by points: loops 4 (8 pts), if/else 6 (7 pts), boolean chains 5 (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":"src/compiler/typescript.dart"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca443f227fcd3ea0477c8d49dd548fbead8dbaff110de6ff6d177168a9754ba"}},{"ruleId":"D2","level":"warning","message":{"text":"Env._typedValue (cognitive 20): Env._typedValue has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 8, ternaries 1 (3 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":"lib/src/env.dart"},"region":{"startLine":2443}}}],"partialFingerprints":{"codehealthFindingId/v1":"329554b48ab1642c3afc4bb0c8ff0947118f3166516c2d2d9a8e01b30d0de66d"}},{"ruleId":"D2","level":"warning","message":{"text":"Env._encode (cognitive 20): Env._encode has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 1 (2 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 5). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/env.dart"},"region":{"startLine":2607}}}],"partialFingerprints":{"codehealthFindingId/v1":"47310f35f89a9c2f9b3b7c1db614fe5c160aa1880bf1d95095e2047bdede3b32"}},{"ruleId":"D2","level":"warning","message":{"text":"Env._dispatch (cognitive 18): Env._dispatch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), error handling 3 (5 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":"lib/src/env.dart"},"region":{"startLine":2304}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab95f2a02672b54fed86e496f2168b2851b4d5c1536b36cdd28fbb12937a6ca"}},{"ruleId":"D2","level":"warning","message":{"text":"Env._writeGenericValue (cognitive 18): Env._writeGenericValue has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 8 (nesting depth added 3). 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":"lib/src/env.dart"},"region":{"startLine":2569}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f954aba29b2fbd73e1a558e0ae87d72fa552c7400d475a4419b0dfe2cfcb23"}},{"ruleId":"D2","level":"warning","message":{"text":"_Reader._typeCodecPatterns (cognitive 17): _Reader._typeCodecPatterns has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (9 pts), if/else 4 (7 pts), boolean chains 1 (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/exports.dart"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b5f521f01f9075a9d8b48cf42f7bed87fbc83fac0098ec134a0d0ae294b8d7"}},{"ruleId":"D2","level":"warning","message":{"text":"_Uses._constant (cognitive 17): _Uses._constant has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (4 pts), boolean chains 1 (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":"src/compiler/frontend.dart"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"700fddc2c5f3dbe7ece12dc3c24759a7c8d466f30af7a9d16e5ad460e6d0a74f"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._generics (cognitive 17): _Writer._generics has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 6, if/else 3 (4 pts), ternaries 2 (4 pts), loops 3 (nesting depth added 3). 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":"src/compiler/typescript.dart"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbc445c57397b952f432ad941614ee10b68ad54b3e7bc62f5aabf8da1dc27b3"}},{"ruleId":"D2","level":"warning","message":{"text":"Env._writeFuture (cognitive 17): Env._writeFuture has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 5 (6 pts) (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":"lib/src/env.dart"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"5381f4f09bae0cc9f230228b8fc9ce8b54445dc9a94c8863d0f892f11ce066a6"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeApi._check (cognitive 16): NodeApi._check has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3 (nesting depth added 7). 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":"experiments/native-image/node_api.dart"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9144a2763b6339a769770a65fd3095072d9ce15a3a40c5422e8547e6fa279a"}},{"ruleId":"D2","level":"warning","message":{"text":"_Writer._differenceCondition (cognitive 16): _Writer._differenceCondition has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (6 pts), boolean chains 1, 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":"src/compiler/typescript.dart"},"region":{"startLine":2552}}}],"partialFingerprints":{"codehealthFindingId/v1":"740d073bcab4162e57307c3de604590df2fe69c67cf04d464def1da2fd2649dd"}},{"ruleId":"D2","level":"warning","message":{"text":"Env._finalize (cognitive 16): Env._finalize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (16 pts) (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":"lib/src/env.dart"},"region":{"startLine":2754}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8affe3e3f606504e37dbfbbfc57f514219d9bea2bf58f44bc7b020b9f05e4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compiler/typescript.dart: FileTooLong \u2014 2770 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2270 over it, 5.54\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":"src/compiler/typescript.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f27773292a950fe477c9077435cc06fcbf68a24b3cb45ba3f3bb99707a1943"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Calls: ClassTooLong \u2014 2211 significant lines (blank, comment-only and punctuation-only lines excluded), 60 methods. The bar is 400 significant lines; this is 1811 over it, 5.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":"src/compiler/calls.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cda0456860b6186912cd1a3fd0fad596ddb1fa8f774baa4999f5989b9a0ef00"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compiler/calls.dart: FileTooLong \u2014 2218 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: Calls (11-2949). The bar is 500 significant lines; this is 1718 over it, 4.44\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/calls.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58422a2751624a7bcbcda4d27a7e09c4afae547a7c2ab8b5d874f968bfb5990"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/env.dart: FileTooLong \u2014 2027 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: Env (602-2818). The bar is 500 significant lines; this is 1527 over it, 4.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/env.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29be7d47ac9856a0c8393caa1ce25dd575f858dc76abb37c12f3843718976cc4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Env: ClassTooLong \u2014 1600 significant lines (blank, comment-only and punctuation-only lines excluded), 95 methods. The bar is 400 significant lines; this is 1200 over it, 4.00\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":"lib/src/env.dart"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"48744944ed015c68f127623fd14ccd4718485735f1547e2250e70c0edbe4e614"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compiler/exports.dart: FileTooLong \u2014 1923 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: _Reader (320-2254). The bar is 500 significant lines; this is 1423 over it, 3.85\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/exports.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7e9a88a563fa566e4193b88d6b037a8411309d5ad8f664c0afddc5caaf79b0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _Reader: ClassTooLong \u2014 1458 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 1058 over it, 3.65\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":"src/compiler/exports.dart"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cad9f9e89cd095bf734e5bd43a949552b71f2bb047b9a94112caaed63af68a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _Writer: TooManyMethods \u2014 106 methods. The bar is 30 methods; this is 76 over it, 3.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":"src/compiler/typescript.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b59ef7ca4d246feb47bf610f9567933bb77e259258bfb47ebab1390b368ae3e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Env: TooManyMethods \u2014 95 methods. The bar is 30 methods; this is 65 over it, 3.17\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":"lib/src/env.dart"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"e614756ea3fcafc1095e332c6c489a0fd4df1df4bbfef702091e9aede153731a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sys/node.dart: FileTooLong \u2014 1546 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1046 over it, 3.09\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":"lib/sys/node.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1132347b710d8cd1f12978d9c2157888e726cb662bb623b0c1c45c6b37b061bf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _Reader._type: MethodTooLong \u2014 _type runs 282 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 182 over it, 2.82\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":"src/compiler/exports.dart"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f068daa6e516b79de6c8b25d8af7d5cc7712798b80c40ba8db3a70a8ec3014"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _Reader.read: MethodTooLong \u2014 read runs 213 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 113 over it, 2.13\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":"src/compiler/exports.dart"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2c19f6464a5c688d67bc9561bc2d34da753cc79a2200249ed3e2a24d729589"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Calls._callBody: MethodTooLong \u2014 _callBody runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\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":"src/compiler/calls.dart"},"region":{"startLine":2593}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f690cb5c1d95c0a196369233a1eb761be90e6e1d15a5bba63da7fa788e8a5d4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Calls: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.00\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":"src/compiler/calls.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bca54d2061db3a77f1dac6d0806a187c1b80a87eccbe2f197553f3952eb1f0d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Calls._decode: MethodTooLong \u2014 _decode runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\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":"src/compiler/calls.dart"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e4a7d6f22ad601d65a27e2601602e65343e7588946f1ec2423ebdc626584d0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Env.defineClass: MethodTooLong \u2014 defineClass runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\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":"lib/src/env.dart"},"region":{"startLine":2017}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aea140e92e18306b91b18a769e53fb65cecfc659c47c6c02649a262d48fb0b4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Calls._objectCodec: MethodTooLong \u2014 _objectCodec runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\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":"src/compiler/calls.dart"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"754b94ea496f8aacff1e6bae6e2903855f636ed3334dc239745770a0555b5ad5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _Reader._function: MethodTooLong \u2014 _function runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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":"src/compiler/exports.dart"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"4931988b2e9e9881e40ed7a264aadeaca364fe72d55a9761cb12df8096a40cd3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Calls._encode: MethodTooLong \u2014 _encode runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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":"src/compiler/calls.dart"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"993bb48a32615cc8878e0c18345308bda2ca15c961ec69f54afb4199cefec48c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compiler/frontend.dart: FileTooLong \u2014 673 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 173 over it, 1.35\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":"src/compiler/frontend.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8614be874b2ea0c17da244c493be966bfc34220ff36ea397595429dbe8ee3e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Calls._readFunctionBody: MethodTooLong \u2014 _readFunctionBody runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"src/compiler/calls.dart"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e57f759bf1505ccdeac17f5b4db29b5a6dd02898e6afa015a4c9041c4f38207"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Env._readStream: MethodTooLong \u2014 _readStream 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":"lib/src/env.dart"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f9578c8af520c51f14e3e474fbe8ca11388bb57fa50a97c0c00113d5491f71"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _Reader._classInstances: MethodTooLong \u2014 _classInstances runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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":"src/compiler/exports.dart"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"8526f0f48c7a437b62f120539e25f8f22f9edaf12757d7ad9d741970d1732412"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _Reader: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\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":"src/compiler/exports.dart"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bad718805ec7d73060bb86d02b58b89c4815845e84dae9836cc997122faf402"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Calls._classFactory: MethodTooLong \u2014 _classFactory runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\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":"src/compiler/calls.dart"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8b0cbf0e0f22ea5f7739559f751e0a7c7f32c8b35ac2ad1a30a5ff4e29fee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (174 corresponding lines): src/compiler/calls.dart:321-530 | src/compiler/calls.dart:567-740 \u2014 These two members are one piece of code written twice and then edited apart: 174 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":"src/compiler/calls.dart"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a6c3d138bcf9b2acd5562d25f5e2dd350db19767c7e204d1c577b0f06bdfc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/src/env.dart:1471-1483 | lib/src/env.dart:1490-1503 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"lib/src/env.dart"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c15663f10778a3bc06df855cf793cbaf88674737cbdf06ad2130a8227d3d92e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): src/compiler/calls.dart:1704-1730 | src/compiler/calls.dart:2925-2948 \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":"src/compiler/calls.dart"},"region":{"startLine":1704}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb5944c47e94859c9d1a070a6608c2ab263dd3152dff25cbb22342e9735873c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/compiler/typescript.dart:1640-1650 | src/compiler/typescript.dart:1652-1663 \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":"src/compiler/typescript.dart"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed24aa463afe3d8e723076ab7da8765ea1a2004c97bb3562a0d2c7e52b261fd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/src/env.dart:1506-1518 | lib/src/env.dart:1573-1592 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"lib/src/env.dart"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db4dc7e072e1e83841740a7a33d89c7ebc4d423bbd02216c6d6db69fa8c6a1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/compiler/typescript.dart:300-305 | src/compiler/typescript.dart:358-363 \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":"src/compiler/typescript.dart"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3bf134eb828f2d19de4d504d60938eb6a48df7e151670f5884e0234c347854"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/src/env.dart:2275-2280 | experiments/native-image/node_api.dart:183-188 \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":"lib/src/env.dart"},"region":{"startLine":2275}}}],"partialFingerprints":{"codehealthFindingId/v1":"97137d0d16a35066ca49403f7ed6545a7afef2eb6e6748a38cebee7a33c5be05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): src/compiler/calls.dart:464-480 | src/compiler/calls.dart:682-697 \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 \u0060src/compiler/calls.dart:464\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":"src/compiler/calls.dart"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b8acf3267b7db4083afbbfe43e474338cc4108b7f2cd8e4fffa754629949a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): src/compiler/calls.dart:777-793 | src/compiler/calls.dart:1759-1774 \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 \u0060src/compiler/calls.dart:777\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":"src/compiler/calls.dart"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad61c339f579bcd0582c47ee2396845817521c80bec53b6e43657b6cf1d0e492"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/src/env.dart:1778-1789 | lib/src/env.dart:1870-1882 \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 \u0060lib/src/env.dart:1870\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":"lib/src/env.dart"},"region":{"startLine":1778}}}],"partialFingerprints":{"codehealthFindingId/v1":"96eb3ae0612167c8b84a028f23ed04f47cf69d77416fe6a386a4a77996fb38d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/compiler/calls.dart:825-836 | src/compiler/calls.dart:857-868 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/calls.dart"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9be20c9fa78bdb6af5a66f7faf21666a6c6a3845c944528312ce0de33888c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/compiler/calls.dart:2620-2630 | src/compiler/calls.dart:2668-2677 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/calls.dart"},"region":{"startLine":2620}}}],"partialFingerprints":{"codehealthFindingId/v1":"99670413130deb74e862f6447cdf69e011f3cfb4d53126586bfd8e9e9f1d3dba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 2): src/compiler/exports.dart:601-606 | src/compiler/exports.dart:999-1008 \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 \u0060src/compiler/exports.dart:601\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. 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":"src/compiler/exports.dart"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"5080a26f828de0a91d90343df0625078f9e34286c2fd7184af8df7016691ca5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/compiler/calls.dart:414-420 | src/compiler/calls.dart:646-652 \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 \u0060src/compiler/calls.dart:414\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/calls.dart"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"2245496574e2c024c1e7f90ec57df6d184c7263e948da0ba57ba2c757a2cd3e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/env.dart:1766-1771 | lib/src/env.dart:1851-1856 \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 \u0060lib/src/env.dart:1766\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/env.dart"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"3108475b040e33354aa6201f26c78ab1c05d0f17d94f62337b304933b2dafb9b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Env (LCOM4 8): Env\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":"lib/src/env.dart"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c196c291d8e1eb330ff8750a6fc277ea42c3531d19f42b48d6989c737de18f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/compiler/exports.dart: src/compiler/exports.dart changed 37 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 94 in _Reader._type at line 1888. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 01:23:04 \u002B08:00\u0027 --until=\u00272026-11-14 01:23:04 \u002B08:00\u0027 --full-history --no-merges -- src/compiler/exports.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/exports.dart"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d890496ae99b3bef79a2077f7a0ee656891c0ed6bcb2782d292fe284938440d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/compiler/typescript.dart: src/compiler/typescript.dart changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in _Writer._type at line 3109. 3 of those changes were fix/bug commits, and the other 29 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 01:23:04 \u002B08:00\u0027 --until=\u00272026-11-14 01:23:04 \u002B08:00\u0027 --full-history --no-merges -- src/compiler/typescript.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/typescript.dart"},"region":{"startLine":3109}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1781e1fdd81fdb910c833e6a53920e64733ba4679a41ef2c242af1cbba9b41"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/compiler/calls.dart: src/compiler/calls.dart changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in Calls._decode at line 321. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 01:23:04 \u002B08:00\u0027 --until=\u00272026-11-14 01:23:04 \u002B08:00\u0027 --full-history --no-merges -- src/compiler/calls.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compiler/calls.dart"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"066cf4a67b31007dfd13f378c94c4a64392c4acd8be663a4dc65e1fb8c442ded"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/src/env.dart: lib/src/env.dart changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in Env.defineClass at line 2017. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 01:23:04 \u002B08:00\u0027 --until=\u00272026-11-14 01:23:04 \u002B08:00\u0027 --full-history --no-merges -- lib/src/env.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/env.dart"},"region":{"startLine":2017}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1f24929c46f01fdc91995330efc1c0f7dd99cb6387fd65db6492e79f051731"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/src/compiler/package/artifact.dart: lib/src/compiler/package/artifact.dart changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in Artifact.create at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 01:23:04 \u002B08:00\u0027 --until=\u00272026-11-14 01:23:04 \u002B08:00\u0027 --full-history --no-merges -- lib/src/compiler/package/artifact.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/compiler/package/artifact.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bb02c8504e7f56adb7a4e7675c5d33959ce2aa775b484297864efcceabe51f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tool/package_compiler.py: tool/package_compiler.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in package_compiler.package at line 90. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 01:23:04 \u002B08:00\u0027 --until=\u00272026-11-14 01:23:04 \u002B08:00\u0027 --full-history --no-merges -- tool/package_compiler.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tool/package_compiler.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d8ec53f9bd7392d2bdaef950d00bcd691a0752c847770bebf647063796632c"}},{"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":"f66d00958f8a8c3150560d3ec78eedb3aff2cc174690d123f907eae0351ebce5"},"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":"56a8199070c4447480048ee6752a3d1f80f647045a42c5e9cb611c9c6ddc01b2"},"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":"11db775413845445716a026d99502a276289651446022c1fcaaaaaefe75fd61d"},"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":"8f65c532d31b76cb39014fbd78f2aedf7533a2abfd7813e2cfbd15816f9149a6"},"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":"af7a0f70d1ceeff41269b16fd292d595c0ea5fca3d3fcb2de7f96e4d96b9f421"},"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":"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":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"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 1 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/native.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060test/native/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/native/package.json"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72994060eae0f880d78ce92068bc51d94c53dec1b1e0daa0a2eda9b23d56dd9"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HttpClient()\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/native-image/payload.dart"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"a288d0587d3237c989caa6e7e06b8358c592488f1e4025153327b9aa8a244211"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HttpClient()\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/native-image/payload.dart"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6da7a2f3d8ffddb67de8bf84c4583d52ddf508d287a6813f96eb2b671e90829"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is set on a response this repository\u0027s Dart server sends \u2014 defense in depth, even when a proxy could set them. (\u22122.0 on this card.) The server: experiments/native-image/payload.dart:303 \u2014 \u0060HttpServer.bind(\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"S1","level":"note","message":{"text":"No inbound request validation detected: No handler of this repository\u0027s Dart server answers 400, 413 or 422 (\u0060Response.badRequest\u0060, \u0060HttpStatus.badRequest\u0060, \u0060statusCode = 400\u0060) and no validation package (luthor, acanthis, ez_validator, json_schema, \u2026) is imported \u2014 nothing shows inbound requests being checked, and refused, before a handler acts on them. A check that answers its failure with 200 and an error body is not seen. (\u22122.0 on this card.) The server: experiments/native-image/payload.dart:303 \u2014 \u0060HttpServer.bind(\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0ffa303f3c9cef4b4c2cf028a78ce2f3c83f6078f80716eea7362fad047265eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/env.dart"},"region":{"startLine":2711}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0fcc103a3f2e4becfc704e8b6246ea2b313718b39e5190bdb26f8d6a2c19c6"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override null safety: ~22.6 \u0060!\u0060 null assertions per 1k Dart product lines \u2014 443 across the 19567 line(s) of the 32 Dart file(s) read (generated, test and example code not counted; a file opted out with a \u0060// @dart=\u0060 comment below 2.12 counts once). Densest: src/compiler/typescript.dart (177), src/compiler/calls.dart (100), lib/src/env.dart (63). Each one tells the analyzer to trust the author about null and becomes a \u0060Null check operator used on a null value\u0060 the first time the author is wrong. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"739a6ba910818bd17cd25bf02e82a025de9a49819c743d2340aeab96558fda89"}}],"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":6,"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."]}]}