{"$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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"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":"CrosshairRenderOp.render (cyclomatic 53): CrosshairRenderOp.render has cyclomatic complexity 53 (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/guide/interaction/crosshair.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e28f6db293859fb373aae6dd2fcd39e8b7b5ec38e0e05bf03d0ed70f986a4db"}},{"ruleId":"D1","level":"warning","message":{"text":"TooltipRenderOp.render (cyclomatic 32): TooltipRenderOp.render 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/guide/interaction/tooltip.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"0782356ce69850d749da9c0adf6ae6c2031939d3fc2e4712b43c8fd8488fbc9e"}},{"ruleId":"D1","level":"warning","message":{"text":"quick_validate.validate_skill (cyclomatic 23): quick_validate.validate_skill 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":".agents/skills/skill-creator/scripts/quick_validate.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d671d73bf24ebf49dc83669baf29463b78d37d9e10f29cafcd695ee7a000483e"}},{"ruleId":"D1","level":"warning","message":{"text":"BasicAreaShape.drawGroupPrimitives (cyclomatic 22): BasicAreaShape.drawGroupPrimitives has cyclomatic complexity 22 (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":"lib/src/shape/area.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"582b6a180dedd6dd1b547bef8c92efd6e2f4261bc44c4947766909dbb2fec61d"}},{"ruleId":"D1","level":"warning","message":{"text":"SelectorOp.evaluate (cyclomatic 18): SelectorOp.evaluate 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":"lib/src/interaction/selection/selection.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7b25ebbcc038471d2adc9df01760863a3b19b7969b570bd40e0d7beb23331e"}},{"ruleId":"D1","level":"warning","message":{"text":"PrimitiveElement.PrimitiveElement (cyclomatic 17): PrimitiveElement.PrimitiveElement 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":"lib/src/graffiti/element/element.dart"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dde6b8e895b99cb8c632e01a9c0ff6aaae4cdd4a22bbe606d06e62ce79fbbee"}},{"ruleId":"D1","level":"warning","message":{"text":"PointSelector.select (cyclomatic 17): PointSelector.select 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":"lib/src/interaction/selection/point.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"747cbc40f09c5c04165d0d293add3e272ed0244cbf0a8e548872ccdba8635450"}},{"ruleId":"D1","level":"warning","message":{"text":"RectShape.drawGroupPrimitives (cyclomatic 17): RectShape.drawGroupPrimitives 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":"lib/src/shape/interval.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"70db96993f212839498a89780290fd177c816f8304c8a0c06c3d8d016f36394d"}},{"ruleId":"D1","level":"warning","message":{"text":"RectShape.drawGroupLabels (cyclomatic 17): RectShape.drawGroupLabels 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":"lib/src/shape/interval.dart"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e7aea829a58d4941cc420fa78c3ecb6ae26695c010a8e0125da06988e85917"}},{"ruleId":"D1","level":"warning","message":{"text":"HeatmapShape.drawGroupPrimitives (cyclomatic 17): HeatmapShape.drawGroupPrimitives 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":"lib/src/shape/polygon.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"92df24b4639b9534190984ae3324eb6ee48350892f66f80ff4605800a19fc6a2"}},{"ruleId":"D1","level":"warning","message":{"text":"PaintStyle.== (cyclomatic 16): PaintStyle.== has cyclomatic complexity 16 (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/graffiti/element/element.dart"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e3829df66dbe62d09208a283ca83971851d0baaf7bef7185db923d704c4373"}},{"ruleId":"D2","level":"warning","message":{"text":"CrosshairRenderOp.render (cognitive 116): CrosshairRenderOp.render has cognitive complexity 116 (threshold 15). Drivers by points: if/else 24 (70 pts), ternaries 18 (34 pts), boolean chains 7, loops 4 (5 pts) (nesting depth added 63). 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/guide/interaction/crosshair.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"994184be9399350a760f0947588516edc4d6d6e6e571dd9f3de07fccb4b375f7"}},{"ruleId":"D2","level":"warning","message":{"text":"TooltipRenderOp.render (cognitive 77): TooltipRenderOp.render has cognitive complexity 77 (threshold 15). Drivers by points: if/else 14 (33 pts), ternaries 10 (23 pts), loops 7 (18 pts), boolean chains 3 (nesting depth added 43). 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/guide/interaction/tooltip.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b02e1ff88f8669c867bcc0d771c155598997b38a286d22cbed8deda40433e6"}},{"ruleId":"D2","level":"warning","message":{"text":"RectShape.drawGroupPrimitives (cognitive 56): RectShape.drawGroupPrimitives has cognitive complexity 56 (threshold 15). Drivers by points: if/else 14 (30 pts), loops 7 (26 pts) (nesting depth added 35). 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/shape/interval.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"390ad0e93de8e0e0e90f87a64e1fc4e743cf2fa0925f9b01c325be08c51c76d8"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectorOp.evaluate (cognitive 55): SelectorOp.evaluate has cognitive complexity 55 (threshold 15). Drivers by points: if/else 18 (41 pts), ternaries 3 (11 pts), boolean chains 2, loops 1 (nesting depth added 31). 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/interaction/selection/selection.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b13023f7d4d927c64db651f5d1f0943e04049e8cb807e808a10be0cde981ea3"}},{"ruleId":"D2","level":"warning","message":{"text":"RectShape.drawGroupLabels (cognitive 48): RectShape.drawGroupLabels has cognitive complexity 48 (threshold 15). Drivers by points: if/else 11 (30 pts), loops 5 (16 pts), boolean chains 2 (nesting depth added 30). 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/shape/interval.dart"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3f56d2f88c8fe9b5cca3b07245557baacf7e8d6a9d6073305c4c0fa073f7e4"}},{"ruleId":"D2","level":"warning","message":{"text":"HeatmapShape.drawGroupPrimitives (cognitive 40): HeatmapShape.drawGroupPrimitives has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (18 pts), ternaries 6 (18 pts), loops 2 (3 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":"lib/src/shape/polygon.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a30fbf94b1f620430a70fb93243a89f2f2574dd7d9787f467f5861a2c42e640"}},{"ruleId":"D2","level":"warning","message":{"text":"BasicAreaShape.drawGroupPrimitives (cognitive 39): BasicAreaShape.drawGroupPrimitives has cognitive complexity 39 (threshold 15). Drivers by points: loops 7 (16 pts), if/else 8 (11 pts), boolean chains 6, ternaries 2 (6 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/shape/area.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"108b42c3d945da072295c403ebba5b6ce208f474559efc6a87c81843754db99e"}},{"ruleId":"D2","level":"warning","message":{"text":"ProportionOp.evaluate (cognitive 37): ProportionOp.evaluate has cognitive complexity 37 (threshold 15). Drivers by points: loops 13 (35 pts), if/else 2 (nesting depth added 22). 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":"lib/src/variable/transform/proportion.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c54acb85af3858e895b7b1a74cadfd54dcc311d184cba8ba710492e73c4b6fc"}},{"ruleId":"D2","level":"warning","message":{"text":"PointSelector.select (cognitive 29): PointSelector.select has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 3 (5 pts), ternaries 3 (5 pts), boolean chains 1 (nesting depth added 10). 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/interaction/selection/point.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d232d7fb914a0bbb741fa68b7de1cf40fca8f0883a9d182fe47d01eea7dcab51"}},{"ruleId":"D2","level":"warning","message":{"text":"quick_validate.validate_skill (cognitive 29): quick_validate.validate_skill has cognitive complexity 29 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 2, error handling 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":".agents/skills/skill-creator/scripts/quick_validate.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfaacdfd1fef38945e5bf33ca0b6c91d9bf1d71b193bb003e2ef618c232626d"}},{"ruleId":"D2","level":"warning","message":{"text":"PrimitiveElement.PrimitiveElement (cognitive 26): PrimitiveElement.PrimitiveElement has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 3 (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":"lib/src/graffiti/element/element.dart"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acbffb17e97cdcf5e4fc48391b70c84faa5cb76742df204071ca3c126cf2e97"}},{"ruleId":"D2","level":"warning","message":{"text":"IntervalSelector.select (cognitive 21): IntervalSelector.select has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 4 (7 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/interaction/selection/interval.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"233ccc100ddb9f20a75133436ebad7dff42145c2b1de7f6cd41369b0e209b616"}},{"ruleId":"D2","level":"warning","message":{"text":"Attributes.deflate (cognitive 19): Attributes.deflate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 3 (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":"lib/src/dataflow/tuple.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4879219dfb2d3dbdcb19ad43175dbf35e9b76b77bb92e7417138586bb164ff1"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkScene.MarkScene (cognitive 19): MarkScene.MarkScene has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 10). 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/graffiti/scene.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97ddd14dbecccbbed0339d585ac6c11df8b930679a152dc0474bebe2f719d2a"}},{"ruleId":"D2","level":"warning","message":{"text":"BasicLineShape.drawGroupPrimitives (cognitive 17): BasicLineShape.drawGroupPrimitives has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 3, ternaries 1 (3 pts), loops 2 (nesting depth added 4). 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/shape/line.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfce31032b8288a694d3378d5696680b3f6ee2357206390ed6c13f91d11adb6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChartState.build: MethodTooLong \u2014 build runs 435 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 335 over it, 4.35\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/chart/chart.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"523efc10075d88edabd000e7fdb8c66984a3cceeefeaed12f0f369c4c25a3f53"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CrosshairRenderOp.render: MethodTooLong \u2014 render runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\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/guide/interaction/crosshair.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b7e3bebbc79802d57494023797e8d994e87dadb516e8f6c57a7cf57072e5d4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RectShape.drawGroupPrimitives: MethodTooLong \u2014 drawGroupPrimitives runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\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/shape/interval.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"10244d36b614aa2d8fcd4340fc3edd6566ad067cb9d2160cdafe2fb385109d11"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TooltipRenderOp.render: MethodTooLong \u2014 render runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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/guide/interaction/tooltip.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a5859ed454ce1f6683dddcea8dcbeb8535d3f06cd2cf73ecde0f2a54869b54"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Attributes.deflate: MethodTooLong \u2014 deflate runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\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/dataflow/tuple.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7538db3d85088a1298b5ad01d335ffb5c65508ffd357ca8fcacb7a756dd9f5c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChartState: ClassTooLong \u2014 458 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 58 over it, 1.15\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/chart/chart.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c90c42c9a1bf3c1573d4fcc9fc441d14ca5bb7fd6acf5f4d9be652428de86ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chart/chart.dart: FileTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: ChartState (185-783). The bar is 500 significant lines; this is 59 over it, 1.12\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/chart/chart.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea65df2c0c4b4a1f8c6289d26861f96bdae255144d25a39ce6826b8aa8708c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): lib/src/mark/mark.dart:258-292 | lib/src/mark/mark.dart:303-337 \u2014 These two members are one piece of code written twice and then edited apart: 35 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/mark/mark.dart"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8e118398b0211872a9bfa88349f95e86fb6b9cb68cc90e32d79dca8a93f7f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lib/src/mark/modifier/dodge.dart:38-71 | lib/src/mark/modifier/jitter.dart:30-60 \u2014 These two members are one piece of code written twice and then edited apart: 31 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/mark/modifier/dodge.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6dbd02b2b0498789312c3ea55aca9b7cd298d63b5c9de0d8562f3953084cdc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): lib/src/guide/axis/axis.dart:289-337 | lib/src/guide/axis/axis.dart:345-378 \u2014 These two members are one piece of code written twice and then edited apart: 34 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/guide/axis/axis.dart"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"279282f24f16d7466578ce2c3a3f0460af32868777cd6ca21e8609fba6e37946"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/src/graffiti/element/polygon.dart:56-69 | lib/src/graffiti/element/polyline.dart:73-84 \u2014 These two members are one piece of code written twice and then edited apart: 12 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/graffiti/element/polygon.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"513e68d96e715f128f8c34befa6724e20c035d20d3d4af6352313850739e99ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/src/coord/polar.dart:186-202 | lib/src/coord/rect.dart:101-118 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/coord/polar.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d12345b53d2882d8d4aadc92858de8e6dc1042ca335df47375c5b7ae6d8593"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/src/shape/point.dart:118-129 | lib/src/shape/point.dart:143-153 \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":"lib/src/shape/point.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3949e1f878bf7364590691cf966265a068831846b018f56e48f824c89a18fbce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/src/coord/polar.dart:229-241 | lib/src/coord/rect.dart:131-142 \u2014 These two members are one piece of code written twice and then edited apart: 12 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/coord/polar.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab03e1442e2918f402b9b1de3539b4b49b0c8c763fc5f4a0fe9ad3cdf7540659"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/src/graffiti/element/polygon.dart:43-54 | lib/src/graffiti/element/polyline.dart:60-71 \u2014 These two members are one piece of code written twice and then edited apart: 12 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/graffiti/element/polygon.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"56480fa02cf32439df45508572e287eb0e84c0bfefbc11e99780293bb6a07450"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): lib/src/graffiti/element/arc.dart:53-62 | lib/src/graffiti/element/circle.dart:37-46 | lib/src/graffiti/element/line.dart:37-45 | lib/src/graffiti/element/oval.dart:32-39 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/graffiti/element/arc.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b914d7288e86af2d70c1a588926054679aa9b048e218402ae7e9de4a7a75c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/src/graffiti/element/path.dart:39-46 | lib/src/graffiti/element/rect.dart:44-52 \u2014 These two members are one piece of code written twice and then edited apart: 8 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/graffiti/element/path.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"424ca99f3ab42f69f2a4d34d1748f85afcee3ed9ef97c531f877e69a1e0d9c21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/src/graffiti/element/polygon.dart:32-41 | lib/src/graffiti/element/polyline.dart:51-58 \u2014 These two members are one piece of code written twice and then edited apart: 8 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/graffiti/element/polygon.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e582d3844be8dcbb0c98a829dcf954a7a3629cc724ef04457d3c3a95b092d121"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/src/graffiti/element/image.dart:68-75 | lib/src/graffiti/element/label.dart:217-224 \u2014 These two members are one piece of code written twice and then edited apart: 8 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/graffiti/element/image.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5e0170b2f7eb7123b11301bec7e44f28c57a3b1dd173ca83b9f39340eb2b73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/src/variable/transform/filter.dart:28-34 | lib/src/variable/transform/map.dart:26-32 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/variable/transform/filter.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd1ae99b34046c9274b23bead61558f9944e3749dfe8018f7d25d051be07d3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/src/graffiti/element/segment/conic.dart:32-38 | lib/src/graffiti/element/segment/cubic.dart:30-36 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/graffiti/element/segment/conic.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0712673b5e231f1b855410aaea9cd190cd5cb38824b238eaa15679f0b9fe6b90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/src/coord/polar.dart:289-302 | lib/src/coord/rect.dart:178-184 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/coord/polar.dart"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7415fce4a5e53d5acca8e38f96e9fc70ee7d9dd736187569df09134421d4af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/src/graffiti/element/segment/line.dart:32-42 | lib/src/graffiti/element/segment/quadratic.dart:42-51 \u2014 These two members are one piece of code written twice and then edited apart: 10 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/graffiti/element/segment/line.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"10751f35d5e1f23b207e2fd167fe6c49adf2d05901add7c39236517913e05bf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/src/shape/area.dart:139-142 | lib/src/shape/line.dart:138-141 \u2014 These two members are one piece of code written twice and then edited apart: 4 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/shape/area.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d3d7d62158f75c80e99ad1600f226cc376d5bf9c830f79d2337a57f65abefd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/src/guide/interaction/crosshair.dart:163-184 | lib/src/guide/interaction/tooltip.dart:233-254 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/guide/interaction/crosshair.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ec1b303c38d81465704e93e2e050f0ab7c15ac85c3389b5e8129f569838b22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): lib/src/shape/point.dart:41-56 | lib/src/shape/point.dart:67-81 \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/shape/point.dart:41\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/shape/point.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae4b394696f2383aeeaafb3ee8582e8c3d4c376fbf23fe3fff1a9122ef39bdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/src/guide/interaction/crosshair.dart:150-161 | lib/src/guide/interaction/tooltip.dart:216-227 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/guide/interaction/crosshair.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c9460f595310621d62fe3246c4805ee5805877740b00eae7b626ba98e359e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/src/mark/mark.dart:258-269 | lib/src/mark/mark.dart:303-314 \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/mark/mark.dart:258\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/mark/mark.dart"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"215e715d6ec9ef2092f4d37540f6c63e03f7a8cf6fcadae207078c8fc65eb8ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/coord/polar.dart:186-196 | lib/src/coord/rect.dart:101-111 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/coord/polar.dart:186\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/coord/polar.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2c189c3c17489cb8276a874117cc5c1c741e04d6f869450657fef33a893aa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/mark/mark.dart:271-281 | lib/src/mark/mark.dart:316-326 \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/mark/mark.dart:271\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/mark/mark.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"23742d46d752b9ad312ed01b41e3f1e58e29f920315c4a48f7cb1d7e664d4378"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/shape/area.dart:107-117 | lib/src/shape/area.dart:120-130 \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":"lib/src/shape/area.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f6a39e607753307188e7f418032d5e20ce9277908b74d17bfb98fa4513c8d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): example/lib/pages/combined_polygon_custom.dart:49-58 | lib/src/shape/interval.dart:276-285 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/combined_polygon_custom.dart:49\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":"example/lib/pages/combined_polygon_custom.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df300543cb6055dd106bd2c8fd1ef14427e9f633ab890f15f8070231c2edad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/src/mark/modifier/dodge.dart:38-46 | lib/src/mark/modifier/jitter.dart:30-38 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/mark/modifier/dodge.dart:38\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/mark/modifier/dodge.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd5d896d7fba9f498bae01d62dd93a98619a62dd176d3dd47ee0b6ee21eed56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/shape/interval.dart:81-88 | lib/src/shape/interval.dart:97-104 \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":"lib/src/shape/interval.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"27048212711fb1027a6ba4e2a0847ac02bf064a1873da0b762c054d98c54ab05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/graffiti/element/polygon.dart:32-38 | lib/src/graffiti/element/polyline.dart:51-57 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/graffiti/element/polygon.dart:32\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/src/graffiti/element/polygon.dart:40\u0060 calls \u0060close\u0060 and \u0060lib/src/graffiti/element/polyline.dart:58\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/graffiti/element/polygon.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3501375169aafb7c0dc03b620a71ecf107c83e7fd9b1296ec118a9bb3493a60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/src/graffiti/element/polygon.dart:56-64 | lib/src/graffiti/element/polyline.dart:73-81 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/graffiti/element/polygon.dart:56\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/src/graffiti/element/polygon.dart:66\u0060 calls \u0060add\u0060, \u0060CloseSegment\u0060 and \u0060lib/src/graffiti/element/polyline.dart:83\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/graffiti/element/polygon.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f44c67fdac8d018c48fa9523a2f13b9c5e31b8bb7bcff118a2b6d962dd5517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/shape/interval.dart:86-93 | lib/src/shape/interval.dart:225-231 \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/shape/interval.dart:86\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":"lib/src/shape/interval.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"214c5baa57485e399eb478d6dc9d17733691fe0262aa7ad1f9f4fb703a7656f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/coord/polar.dart:252-257 | lib/src/coord/rect.dart:153-158 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/coord/polar.dart"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce9b2a5ddcd32fa3e469e5be635ccddc4a3304adc88d6edac3408da84fa5f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/graffiti/element/rect.dart:47-52 | lib/src/graffiti/element/sector.dart:253-258 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/graffiti/element/rect.dart:47\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/graffiti/element/rect.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32deeea300eba0a9d557840c4765e73d7c027430c1746d2f1d3d7f9d57eaadb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/guide/interaction/crosshair.dart:231-236 | lib/src/guide/interaction/crosshair.dart:280-285 \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":"lib/src/guide/interaction/crosshair.dart"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f42ec64757098bade213deac01ae68b9a9bc4f002b8dcd14860c2ebe988b143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/shape/interval.dart:495-500 | lib/src/shape/interval.dart:513-518 \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/shape/interval.dart:495\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/shape/interval.dart"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6634f070bcbfc6130da09f04f6625484f0be9e294d7d6af5015de792ba2093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/src/shape/interval.dart:91-95 | lib/src/shape/interval.dart:229-234 | lib/src/shape/interval.dart:503-507 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/shape/interval.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca37dd909357ec07ee2e40e644617ecb760652fe52a608068f397eeeb109603a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/graffiti/element/arc.dart:74-80 | lib/src/graffiti/element/segment/arc.dart:66-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/graffiti/element/arc.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98212e325fa0debd44eae0944de28a9e2b146940906208a2c8909f37c08223a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/src/graffiti/element/segment/line.dart:26-30 | lib/src/graffiti/element/segment/move.dart:22-26 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/graffiti/element/segment/line.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0720458edaf0bbab0e8b9d25fb37a32b20ac9512b5dfc66b1767e8137c670bfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 57 shared lines): example/lib/pages/animation.dart:94-419 | example/lib/pages/combined_polygon_custom.dart:180-911 | example/lib/pages/interaction_stream_dynamic.dart:62-340 | example/lib/pages/interval.dart:11-598 | example/lib/pages/line_area_point.dart:23-775 \u2014 These 5 members are variants of one another: a block of 57 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/animation.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdcfec08255721e5da0b9790020a2fd1795bfcd98b077117014d334d21071cfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): example/lib/pages/animation.dart:58-86 | example/lib/pages/interaction_stream_dynamic.dart:31-54 \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":"example/lib/pages/animation.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3dd337f34761ca9313c902b0e0634b7300276511a70f4366b0f7ea700516da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): example/lib/pages/crosshair.dart:182-215 | example/lib/pages/interaction_stream_dynamic.dart:96-129 \u2014 before extracting anything, compare \u0060example/lib/pages/crosshair.dart\u0060 and \u0060example/lib/pages/interaction_stream_dynamic.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/crosshair.dart:182\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":"example/lib/pages/crosshair.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9679b8f9ad2c63bf14e19abe86affb66581946146e2be6bc103be11f2710f690"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): example/lib/pages/combined_polygon_custom.dart:438-466 | example/lib/pages/combined_polygon_custom.dart:493-521 \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 \u0060example/lib/pages/combined_polygon_custom.dart:438\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060example/lib/pages/combined_polygon_custom.dart:492\u0060 calls \u0060ShapeEncode\u0060, \u0060HeatmapShape\u0060 and \u0060example/lib/pages/combined_polygon_custom.dart:437\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/combined_polygon_custom.dart"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc600941c7e64cc9523aeba6ff618fcb296cd79404c96d1cb79b55dbff5224ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): example/lib/pages/combined_polygon_custom.dart:626-654 | example/lib/pages/combined_polygon_custom.dart:776-804 \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 \u0060example/lib/pages/combined_polygon_custom.dart:626\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":"example/lib/pages/combined_polygon_custom.dart"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"3242d8d63ff7152a6a8dfad01f0428fec827defaa1d4dcd8381e7e80173533d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): example/lib/pages/crosshair.dart:233-261 | example/lib/pages/interaction_stream_dynamic.dart:149-177 \u2014 before extracting anything, compare \u0060example/lib/pages/crosshair.dart\u0060 and \u0060example/lib/pages/interaction_stream_dynamic.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/crosshair.dart:233\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":"example/lib/pages/crosshair.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"236abdf269eb49100622cb22c879e0b164a034d4e434a8ea04936fc4a096e94e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): example/lib/pages/line_area_point.dart:128-156 | example/lib/pages/line_area_point.dart:198-226 \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 \u0060example/lib/pages/line_area_point.dart:128\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":"example/lib/pages/line_area_point.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71e3e3905c6338a040fb2113be544ee209c8f5defa09788a6bc2b90557fc2c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): example/lib/pages/line_area_point.dart:521-546 | example/lib/pages/line_area_point.dart:603-628 | example/lib/pages/line_area_point.dart:676-701 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/line_area_point.dart:521\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060example/lib/pages/line_area_point.dart:673\u0060 calls \u0060LinearScale\u0060 and \u0060example/lib/pages/line_area_point.dart:518\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/line_area_point.dart"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bc94b2ec20166ef2b9dd4266ed66475ab9f8fa9d65ee596d8c888f5357ffc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): example/lib/pages/interaction_stream_dynamic.dart:118-140 | example/lib/pages/interaction_stream_dynamic.dart:166-188 \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 \u0060example/lib/pages/interaction_stream_dynamic.dart:118\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":"example/lib/pages/interaction_stream_dynamic.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2034923144f84d75383ce7416c5ab9af6df61fcf0a1cdae9b17758d10e0c8052"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): example/lib/pages/animation.dart:265-285 | example/lib/pages/line_area_point.dart:699-719 \u2014 before extracting anything, compare \u0060example/lib/pages/animation.dart\u0060 and \u0060example/lib/pages/line_area_point.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 146 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/animation.dart:265\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":"example/lib/pages/animation.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"7517b8703bb94a39e11536588fe741b55bb9d0f8a69a09c6390e81911b2003da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 15): example/lib/pages/animation.dart:165-184 | example/lib/pages/animation.dart:344-363 | example/lib/pages/bigdata.dart:43-62 | example/lib/pages/combined_polygon_custom.dart:194-213 | example/lib/pages/combined_polygon_custom.dart:344-363 | example/lib/pages/combined_polygon_custom.dart:611-630 | example/lib/pages/combined_polygon_custom.dart:819-838 | example/lib/pages/interval.dart:25-44 | example/lib/pages/interval.dart:158-177 | example/lib/pages/interval.dart:212-231 | example/lib/pages/line_area_point.dart:62-81 | example/lib/pages/line_area_point.dart:152-171 | example/lib/pages/line_area_point.dart:222-241 | example/lib/pages/line_area_point.dart:484-503 | example/lib/pages/line_area_point.dart:566-585 \u2014 before extracting anything, compare \u0060example/lib/pages/animation.dart\u0060 and \u0060example/lib/pages/bigdata.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/animation.dart:165\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":"example/lib/pages/animation.dart"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ed4ae02e4ba3e6c399d75e45286789a1f065e7f7c85b77ac9abcd07a7cd6b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5): example/lib/pages/bigdata.dart:29-47 | example/lib/pages/combined_polygon_custom.dart:180-198 | example/lib/pages/interaction_stream_dynamic.dart:62-80 | example/lib/pages/interval.dart:11-29 | example/lib/pages/line_area_point.dart:23-41 \u2014 before extracting anything, compare \u0060example/lib/pages/bigdata.dart\u0060 and \u0060example/lib/pages/combined_polygon_custom.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/bigdata.dart:29\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/bigdata.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f806da085a2a49ef2907236353426dd60cc14c0e55f068c1468039177f15588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): example/lib/pages/interval.dart:240-258 | example/lib/pages/interval.dart:444-462 | example/lib/pages/line_area_point.dart:426-444 \u2014 before extracting anything, compare \u0060example/lib/pages/interval.dart\u0060 and \u0060example/lib/pages/line_area_point.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 139 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/interval.dart:240\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060example/lib/pages/interval.dart:260\u0060 calls \u0060LinearScale\u0060 and \u0060example/lib/pages/line_area_point.dart:446\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/interval.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0cd0319b6d278fa903a491e857fae7b88cc10033eb0d428ae102d1f4b1c2c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): example/lib/pages/animation.dart:190-208 | example/lib/pages/interval.dart:408-426 \u2014 before extracting anything, compare \u0060example/lib/pages/animation.dart\u0060 and \u0060example/lib/pages/interval.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 128 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/animation.dart:190\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":"example/lib/pages/animation.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"29975a96a53d97c6df25d53ea7a3e35262453f82a62ee129c0e3e729b114325c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): example/lib/pages/animation.dart:308-325 | example/lib/pages/combined_polygon_custom.dart:577-594 | example/lib/pages/interval.dart:359-376 \u2014 before extracting anything, compare \u0060example/lib/pages/animation.dart\u0060 and \u0060example/lib/pages/combined_polygon_custom.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 109 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/animation.dart:308\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":"example/lib/pages/animation.dart"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"1744ff013174529e461e7c025b443c848e21b5560bcf35999dced25d413dd7e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): example/lib/pages/combined_polygon_custom.dart:431-448 | example/lib/pages/interaction_stream_dynamic.dart:259-276 \u2014 before extracting anything, compare \u0060example/lib/pages/combined_polygon_custom.dart\u0060 and \u0060example/lib/pages/interaction_stream_dynamic.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/combined_polygon_custom.dart:431\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":"example/lib/pages/combined_polygon_custom.dart"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"c915b0cd1ce07ecc64bf986e8bd700e073c251c957ccd89395e632d8164b321c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): example/lib/pages/combined_polygon_custom.dart:314-330 | example/lib/pages/combined_polygon_custom.dart:428-444 | example/lib/pages/interaction_stream_dynamic.dart:256-272 \u2014 before extracting anything, compare \u0060example/lib/pages/combined_polygon_custom.dart\u0060 and \u0060example/lib/pages/interaction_stream_dynamic.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/combined_polygon_custom.dart:314\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060example/lib/pages/combined_polygon_custom.dart:446\u0060 calls \u0060withAlpha\u0060 and \u0060example/lib/pages/combined_polygon_custom.dart:331\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/combined_polygon_custom.dart"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"750b4de07216fbb6cafd9a5fedcc277f16049ece0a8ca82618300f036e174539"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): example/lib/pages/interaction_stream_dynamic.dart:201-217 | example/lib/pages/interaction_stream_dynamic.dart:244-260 \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 \u0060example/lib/pages/interaction_stream_dynamic.dart:201\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":"example/lib/pages/interaction_stream_dynamic.dart"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"896ddce41ff32412b5ea323f2ec77b75035f71c46d8034d7a41f882ce7a2a08b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): example/lib/pages/combined_polygon_custom.dart:303-318 | example/lib/pages/combined_polygon_custom.dart:361-376 | example/lib/pages/combined_polygon_custom.dart:417-432 | example/lib/pages/combined_polygon_custom.dart:471-486 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/combined_polygon_custom.dart:303\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":"example/lib/pages/combined_polygon_custom.dart"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced626902d5eb996290d5af268af5ad277351d198d59665ce1eb18016295b41c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 30): example/lib/pages/animation.dart:112-126 | example/lib/pages/animation.dart:163-177 | example/lib/pages/animation.dart:288-302 | example/lib/pages/animation.dart:342-356 | example/lib/pages/bigdata.dart:41-55 | example/lib/pages/combined_polygon_custom.dart:192-206 | example/lib/pages/combined_polygon_custom.dart:342-356 | example/lib/pages/combined_polygon_custom.dart:405-419 | example/lib/pages/combined_polygon_custom.dart:459-473 | example/lib/pages/combined_polygon_custom.dart:514-528 | example/lib/pages/combined_polygon_custom.dart:609-623 | example/lib/pages/combined_polygon_custom.dart:766-780 | example/lib/pages/combined_polygon_custom.dart:817-831 | example/lib/pages/interaction_stream_dynamic.dart:74-88 | example/lib/pages/interaction_stream_dynamic.dart:189-203 | example/lib/pages/interaction_stream_dynamic.dart:283-297 | example/lib/pages/interval.dart:23-37 | example/lib/pages/interval.dart:87-101 | example/lib/pages/interval.dart:156-170 | example/lib/pages/interval.dart:210-224 | example/lib/pages/interval.dart:340-354 | example/lib/pages/interval.dart:389-403 | example/lib/pages/interval.dart:435-449 | example/lib/pages/line_area_point.dart:60-74 | example/lib/pages/line_area_point.dart:150-164 | example/lib/pages/line_area_point.dart:220-234 | example/lib/pages/line_area_point.dart:417-431 | example/lib/pages/line_area_point.dart:482-496 | example/lib/pages/line_area_point.dart:564-578 | example/lib/pages/line_area_point.dart:650-664 \u2014 before extracting anything, compare \u0060example/lib/pages/animation.dart\u0060 and \u0060example/lib/pages/bigdata.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/animation.dart:112\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060example/lib/pages/combined_polygon_custom.dart:402\u0060 calls \u0060PointSelection\u0060 and \u0060example/lib/pages/animation.dart:160\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/animation.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a0084dd99c3290af8f72c9c61111d3084df372340f91f8e71ce60081526ff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 13): example/lib/pages/animation.dart:172-186 | example/lib/pages/animation.dart:351-365 | example/lib/pages/combined_polygon_custom.dart:201-215 | example/lib/pages/combined_polygon_custom.dart:351-365 | example/lib/pages/combined_polygon_custom.dart:618-632 | example/lib/pages/interval.dart:39-53 | example/lib/pages/interval.dart:165-179 | example/lib/pages/interval.dart:233-247 | example/lib/pages/line_area_point.dart:90-104 | example/lib/pages/line_area_point.dart:159-173 | example/lib/pages/line_area_point.dart:236-250 | example/lib/pages/line_area_point.dart:498-512 | example/lib/pages/line_area_point.dart:580-594 \u2014 before extracting anything, compare \u0060example/lib/pages/animation.dart\u0060 and \u0060example/lib/pages/combined_polygon_custom.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 109 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/animation.dart:172\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060example/lib/pages/combined_polygon_custom.dart:635\u0060 calls \u0060fromLTRB\u0060 and \u0060example/lib/pages/combined_polygon_custom.dart:218\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/animation.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e53773608c0333142b31b076a7402560cb61df22cdca92a0f3e645b09c8490b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): example/lib/pages/combined_polygon_custom.dart:523-537 | example/lib/pages/interval.dart:46-60 | example/lib/pages/interval.dart:96-110 | example/lib/pages/interval.dart:349-363 \u2014 before extracting anything, compare \u0060example/lib/pages/combined_polygon_custom.dart\u0060 and \u0060example/lib/pages/interval.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/combined_polygon_custom.dart:523\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":"example/lib/pages/combined_polygon_custom.dart"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7f4fe11ced68ee9ef8ba2795d7e821b20c64966fd4bd1a605e01a2081c9bd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): example/lib/pages/combined_polygon_custom.dart:567-581 | example/lib/pages/interval.dart:495-509 \u2014 before extracting anything, compare \u0060example/lib/pages/combined_polygon_custom.dart\u0060 and \u0060example/lib/pages/interval.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/combined_polygon_custom.dart:567\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060example/lib/pages/interval.dart:512\u0060 calls \u0060LinearScale\u0060 and \u0060example/lib/pages/combined_polygon_custom.dart:584\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/combined_polygon_custom.dart"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f0aa085c38dcc12cfac17ab6f0be268d0289be53c37f758f1c7af2917b8588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 28): example/lib/pages/animation.dart:117-130 | example/lib/pages/animation.dart:175-188 | example/lib/pages/animation.dart:293-306 | example/lib/pages/animation.dart:354-367 | example/lib/pages/combined_polygon_custom.dart:204-217 | example/lib/pages/combined_polygon_custom.dart:354-367 | example/lib/pages/combined_polygon_custom.dart:410-423 | example/lib/pages/combined_polygon_custom.dart:464-477 | example/lib/pages/combined_polygon_custom.dart:519-532 | example/lib/pages/combined_polygon_custom.dart:621-634 | example/lib/pages/combined_polygon_custom.dart:771-784 | example/lib/pages/interaction_stream_dynamic.dart:79-92 | example/lib/pages/interaction_stream_dynamic.dart:194-207 | example/lib/pages/interaction_stream_dynamic.dart:288-301 | example/lib/pages/interval.dart:42-55 | example/lib/pages/interval.dart:92-105 | example/lib/pages/interval.dart:168-181 | example/lib/pages/interval.dart:236-249 | example/lib/pages/interval.dart:345-358 | example/lib/pages/interval.dart:394-407 | example/lib/pages/interval.dart:440-453 | example/lib/pages/line_area_point.dart:93-106 | example/lib/pages/line_area_point.dart:162-175 | example/lib/pages/line_area_point.dart:239-252 | example/lib/pages/line_area_point.dart:422-435 | example/lib/pages/line_area_point.dart:501-514 | example/lib/pages/line_area_point.dart:583-596 | example/lib/pages/line_area_point.dart:655-668 \u2014 before extracting anything, compare \u0060example/lib/pages/animation.dart\u0060 and \u0060example/lib/pages/combined_polygon_custom.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 109 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/animation.dart:117\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060example/lib/pages/interaction_stream_dynamic.dart:93\u0060 calls \u0060fromLTRB\u0060 and \u0060example/lib/pages/animation.dart:131\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/animation.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8822b2c438984ae249ad34113fee8700fa8db103bbeb560dec9af6c3da1e16a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 8): example/lib/pages/animation.dart:219-232 | example/lib/pages/combined_polygon_custom.dart:296-309 | example/lib/pages/combined_polygon_custom.dart:563-576 | example/lib/pages/interval.dart:293-306 | example/lib/pages/interval.dart:491-504 | example/lib/pages/interval.dart:530-543 | example/lib/pages/line_area_point.dart:352-365 | example/lib/pages/line_area_point.dart:738-751 \u2014 before extracting anything, compare \u0060example/lib/pages/animation.dart\u0060 and \u0060example/lib/pages/combined_polygon_custom.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 109 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/animation.dart:219\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060example/lib/pages/interval.dart:307\u0060 calls \u0060all\u0060 and \u0060example/lib/pages/animation.dart:233\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/animation.dart"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"3077bd998efb8a2a4dcd0d9f9127f47fe10e57812e838cff584099585dd8e543"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): example/lib/pages/combined_polygon_custom.dart:310-323 | example/lib/pages/combined_polygon_custom.dart:368-381 | example/lib/pages/combined_polygon_custom.dart:424-437 | example/lib/pages/combined_polygon_custom.dart:478-491 | example/lib/pages/interaction_stream_dynamic.dart:209-222 | example/lib/pages/interaction_stream_dynamic.dart:252-265 \u2014 before extracting anything, compare \u0060example/lib/pages/combined_polygon_custom.dart\u0060 and \u0060example/lib/pages/interaction_stream_dynamic.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/combined_polygon_custom.dart:310\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060example/lib/pages/combined_polygon_custom.dart:382\u0060 calls \u0060ShapeEncode\u0060, \u0060HeatmapShape\u0060, \u0060circular\u0060 and \u0060example/lib/pages/combined_polygon_custom.dart:324\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/combined_polygon_custom.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"157ac07e14b9a51ff248e469adb08ac4d1e0243905606057fbe6c7195beb1fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): example/lib/pages/combined_polygon_custom.dart:526-539 | example/lib/pages/combined_polygon_custom.dart:570-583 | example/lib/pages/interval.dart:49-62 | example/lib/pages/interval.dart:99-112 | example/lib/pages/interval.dart:352-365 | example/lib/pages/interval.dart:498-511 \u2014 before extracting anything, compare \u0060example/lib/pages/combined_polygon_custom.dart\u0060 and \u0060example/lib/pages/interval.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/combined_polygon_custom.dart:526\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060example/lib/pages/interval.dart:512\u0060 calls \u0060LinearScale\u0060 and \u0060example/lib/pages/combined_polygon_custom.dart:584\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/combined_polygon_custom.dart"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"269b959845fa5770a0788f537bf6482bc00be86969a4f301978cfd8715d5df9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): example/lib/pages/interaction_stream_dynamic.dart:224-237 | example/lib/pages/interaction_stream_dynamic.dart:266-279 \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 \u0060example/lib/pages/interaction_stream_dynamic.dart:224\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060example/lib/pages/interaction_stream_dynamic.dart:223\u0060 calls \u0060ShapeEncode\u0060, \u0060HeatmapShape\u0060 and \u0060example/lib/pages/interaction_stream_dynamic.dart:265\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/interaction_stream_dynamic.dart"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"52112883b890a57a749718b56221e75b31bf503ded20c1a44040d0218335c3b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 14): example/lib/pages/animation.dart:172-184 | example/lib/pages/animation.dart:351-363 | example/lib/pages/bigdata.dart:50-62 | example/lib/pages/combined_polygon_custom.dart:201-213 | example/lib/pages/combined_polygon_custom.dart:351-363 | example/lib/pages/combined_polygon_custom.dart:618-630 | example/lib/pages/interval.dart:39-51 | example/lib/pages/interval.dart:165-177 | example/lib/pages/interval.dart:233-245 | example/lib/pages/line_area_point.dart:90-102 | example/lib/pages/line_area_point.dart:159-171 | example/lib/pages/line_area_point.dart:236-248 | example/lib/pages/line_area_point.dart:498-510 | example/lib/pages/line_area_point.dart:580-592 \u2014 before extracting anything, compare \u0060example/lib/pages/animation.dart\u0060 and \u0060example/lib/pages/bigdata.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/animation.dart:172\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":"example/lib/pages/animation.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"255fbeb59cb24732a9916364a7eb896282c1536e397a3fe511171bca9497c2ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): example/lib/pages/combined_polygon_custom.dart:454-466 | example/lib/pages/combined_polygon_custom.dart:509-521 | example/lib/pages/interval.dart:488-500 \u2014 before extracting anything, compare \u0060example/lib/pages/combined_polygon_custom.dart\u0060 and \u0060example/lib/pages/interval.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/combined_polygon_custom.dart:454\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":"example/lib/pages/combined_polygon_custom.dart"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa61ed0b850c7e8be01ee164858f66668b8558b15cd7b9bb68ab9645bfdc96b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): example/lib/pages/animation.dart:369-381 | example/lib/pages/line_area_point.dart:176-188 \u2014 before extracting anything, compare \u0060example/lib/pages/animation.dart\u0060 and \u0060example/lib/pages/line_area_point.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 146 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/animation.dart:369\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":"example/lib/pages/animation.dart"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cdbf04cc6edf392ff81c268fcbd4346ed9460d2171a1856e0b4a021af8e3f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): example/lib/pages/echarts.dart:143-155 | example/lib/pages/line_area_point.dart:324-336 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/echarts.dart:143\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":"example/lib/pages/echarts.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"751edaead17630bdc6aff0f66aecc6a909de08e8ee20e648577bd4172f037a5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): example/lib/pages/combined_polygon_custom.dart:677-688 | example/lib/pages/combined_polygon_custom.dart:695-706 | example/lib/pages/combined_polygon_custom.dart:713-724 | example/lib/pages/combined_polygon_custom.dart:731-742 | example/lib/pages/combined_polygon_custom.dart:749-760 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/combined_polygon_custom.dart:677\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":"example/lib/pages/combined_polygon_custom.dart"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"158b90b7bf6baf33378ece482ac19d8c5c1a030abf962daf6de4316c16eafce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): example/lib/pages/animation.dart:234-245 | example/lib/pages/line_area_point.dart:670-681 \u2014 before extracting anything, compare \u0060example/lib/pages/animation.dart\u0060 and \u0060example/lib/pages/line_area_point.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 146 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/animation.dart:234\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":"example/lib/pages/animation.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"146f034c296d9fa20a176d1dc5869bfb311c49f2c46bb1c7b96eccb9a7ce7bd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): example/lib/pages/interaction_stream_dynamic.dart:86-97 | example/lib/pages/interaction_stream_dynamic.dart:139-150 \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 \u0060example/lib/pages/interaction_stream_dynamic.dart:86\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":"example/lib/pages/interaction_stream_dynamic.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"397e735c4205e0f11201a2315f598818becce0370ace7ae8b415c95848351ee0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): example/lib/pages/crosshair.dart:178-188 | example/lib/pages/crosshair.dart:229-239 | example/lib/pages/interaction_stream_dynamic.dart:92-102 | example/lib/pages/interaction_stream_dynamic.dart:145-155 \u2014 before extracting anything, compare \u0060example/lib/pages/crosshair.dart\u0060 and \u0060example/lib/pages/interaction_stream_dynamic.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/crosshair.dart:178\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":"example/lib/pages/crosshair.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dba7bf426383d167f0448c68c179eb5059b3d8ea1a8e44d696d6521c87e079f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): example/lib/pages/combined_polygon_custom.dart:493-503 | example/lib/pages/interaction_stream_dynamic.dart:224-234 \u2014 before extracting anything, compare \u0060example/lib/pages/combined_polygon_custom.dart\u0060 and \u0060example/lib/pages/interaction_stream_dynamic.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/combined_polygon_custom.dart"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"9091346b54164687de51addf2b5eae30910a662d5ca0a1aeba8d0b182c14be9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): example/lib/pages/combined_polygon_custom.dart:636-645 | example/lib/pages/combined_polygon_custom.dart:786-795 | example/lib/pages/interval.dart:250-259 | example/lib/pages/interval.dart:454-463 | example/lib/pages/line_area_point.dart:436-445 \u2014 before extracting anything, compare \u0060example/lib/pages/combined_polygon_custom.dart\u0060 and \u0060example/lib/pages/interval.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/combined_polygon_custom.dart:636\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060example/lib/pages/combined_polygon_custom.dart:635\u0060 calls \u0060fromLTRB\u0060 and \u0060example/lib/pages/line_area_point.dart:435\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/combined_polygon_custom.dart"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52281c16952ed90cc240abce04d577a5f8d85ad2b91f1f43583fbb8142ab235"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): example/lib/pages/echarts.dart:95-104 | example/lib/pages/echarts.dart:105-114 \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":"example/lib/pages/echarts.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1bd72b1a49827c6a595794eac741eaba4032369d1ae6151f53996510c0ea21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): example/lib/pages/animation.dart:238-246 | example/lib/pages/line_area_point.dart:519-527 | example/lib/pages/line_area_point.dart:601-609 | example/lib/pages/line_area_point.dart:674-682 \u2014 before extracting anything, compare \u0060example/lib/pages/animation.dart\u0060 and \u0060example/lib/pages/line_area_point.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 146 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/animation.dart:238\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060example/lib/pages/animation.dart:237\u0060 calls \u0060LinearScale\u0060 and \u0060example/lib/pages/line_area_point.dart:518\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/animation.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"16492e2f7db6a770522f658fe2aaef404dda3cd06725b4c902a70d36c04d079c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): example/lib/pages/combined_polygon_custom.dart:552-560 | example/lib/pages/interval.dart:74-82 \u2014 before extracting anything, compare \u0060example/lib/pages/combined_polygon_custom.dart\u0060 and \u0060example/lib/pages/interval.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/combined_polygon_custom.dart:552\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":"example/lib/pages/combined_polygon_custom.dart"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f50d8a3cca217b001c4462f895abfc1b783bfdffbbd915349345502b6728760"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): example/lib/pages/combined_polygon_custom.dart:866-874 | example/lib/pages/interval.dart:186-194 \u2014 before extracting anything, compare \u0060example/lib/pages/combined_polygon_custom.dart\u0060 and \u0060example/lib/pages/interval.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/combined_polygon_custom.dart:866\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":"example/lib/pages/combined_polygon_custom.dart"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50d67f0999c2301a2589fd5f93bc022d15887a6a40930c9d4e6cf105437d27d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): example/lib/pages/combined_polygon_custom.dart:877-884 | example/lib/pages/interval.dart:189-196 \u2014 before extracting anything, compare \u0060example/lib/pages/combined_polygon_custom.dart\u0060 and \u0060example/lib/pages/interval.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/combined_polygon_custom.dart:877\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":"example/lib/pages/combined_polygon_custom.dart"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"7838c310968f016d2fd687afe19351d1846d9c50b32aaf09f9459b7b5a7abfbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 4): example/lib/pages/animation.dart:64-69 | example/lib/pages/animation.dart:74-77 | example/lib/pages/interaction_stream_dynamic.dart:37-42 | example/lib/pages/interaction_stream_dynamic.dart:46-49 \u2014 before extracting anything, compare \u0060example/lib/pages/animation.dart\u0060 and \u0060example/lib/pages/interaction_stream_dynamic.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/animation.dart:64\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060example/lib/pages/animation.dart:81\u0060 calls \u0060toList\u0060 and \u0060example/lib/pages/interaction_stream_dynamic.dart:50\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/animation.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cd19ca5da6397ddced109f3c799d5deac54d4e24d7750d6e4a473c08bc9061"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CandlestickShape (LCOM4 4): CandlestickShape\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/shape/custom.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"383b701415e2a79660f924bcb07a8f6f02226eaf69210e781c2b8b505c105304"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PointShape (LCOM4 4): PointShape\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/shape/point.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcedc2545c4e9723952c8d0f11c0ec9f6756f4562fb7392be2ae2ec006f582d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Image loading functions. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/graffiti/element/image.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd2b3b01be41c735734cf30a9b9a3aaa72027ec23f9657199c7ba542e6701fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Image width height pixel ratio. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/graffiti/element/image.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81b7cf5521355ace432db5ceed2fae8db55c2b002684c615ddd9a62ff5f1334"}},{"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":"09c73dc0ab4ef79abeb2428d351bdd42c86871563aaa369d32b44d5dfdd2ae8b"},"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":"8e7aae12564b8b45702e64fc9a0ae4a8867663c0a73bbedb1467c05bfef07abd"},"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":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"38a095c61dfa586153901d53fa65af6611dd45241d707bb1fab018b873b53c83"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 54 of 54 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 54 separate risks. Counted over 54 of the 118 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/chart.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5110c31f03c63e6352a3f1d6d16d6a0a7acba9335b862ad4d79ea8fa80a3686"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/parse/parse.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef65dbc6dabb70e0ca5c48899b9101d5441f56143ad98a2b93ff1cb5a1a43d44"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/interaction/gesture.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"379de1357b61e26a05eb6b775ced16b312a4b2e1b8c0d387a54c03a3d46ed831"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/shape/interval.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73233875871463f4d483a1911269d5b83c145dc8c180b314507416035fdb65ec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/graffiti/element/element.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe89f518d8c79174de410bf2e683913e21be04c71ef4a7eafb6f4fac64c87e40"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/guide/interaction/crosshair.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad90a6f904eb274a8bc6b182af61f2f0930fa3eb0476b7ee47cd84fbd21395cf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/interaction/selection/selection.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ddf258eed827bdbc5c839e005f8813cd8440089f4b2ea68c12aa8bd2e2340b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/guide/interaction/tooltip.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"534f7be15a0cace724036ab516b2dde8ee267913eb74a15e9a1ab2e1cb808d73"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/mark/mark.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1b1358af61dd2b2578aaa37de92be7a8be75aa7dbb680a8b32e68778736920"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/guide/axis/axis.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b456d4a54472f5a948a32136aa5ab2841d8aa7bb0450c2fcacc753447e0808"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/graphic.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2bfc25e3c41d001cadc492c4e9135507b5ec817beb1187eeefa4c94dc7778c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/coord/polar.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c180197b9858b25d6cf43e04423b69a7790578798872ce11de7b94a3232f3453"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/algebra/varset.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2f33de046b4da93da5b0b64d9e1a631048e9a9799ff2b9949bbf43523ed55e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/graffiti/element/sector.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0145f1cd465fe7a1652abdc08c7e816a47d09ce757e2d7e2067eba0737ff01b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/graffiti/element/label.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16774ab96163d11d7283feba3f2608df3e421af5c20b2ace1efda8a3248086a1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/dataflow/tuple.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"104ac1836d7552a9c737132e81023b8061805b8c987c6de7e12394b68b0fe029"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/graffiti/element/segment/segment.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f676adb5cd07c0ad32b03fb3d59fe0f59150dabddaf4c75678a630eaa428d76a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/common/defaults.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b48263fc46b5739969b7c3a725152f6955c363dcb950be6922c2fbb9182f8f0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/coord/rect.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9a218d0fade595d6478d69b84a25bab614597f661c4dd1f086862e38d1dece"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/graffiti/scene.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f7b238e647365ea4cb86d35e26f8d17d208189ade0146685926526c4afd7ae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/shape/polygon.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68819a72cdc2c5b1f43af0ad40b95a0bf47d6d302a31a4747f9a5e05a32cd77"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/encode/channel.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba0621f1886823889cf2aadc51bebf733951dc484a33049ad4c4c57f9a6f442"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/scale/scale.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14dbf2b8cfeb44830c634ef805ae91f28b05d5a302b114f0225c693b8e88e512"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/graffiti/element/segment/arc_to_point.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c4483dd0d2b0e1588190bb512628964a143cc8a84a3b025eefd1f16b77f327"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/scale/util/nice_numbers.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5b357003643d876ff8c517827d32441d2f82da8234a34a986a2a956d0b46b8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/shape/area.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df171312d3eac3cac1e82f76ce5bc24578648d23572884d2b1da995175b9c1d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/coord/coord.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fb120abb86b525127d6557743a1ec726911698176f3ad64e37dd2a2ebb00c0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/encode/encode.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5bf0545d27f831082355596a8e393d6810f28358c6ef7bff0598bca3216c3ed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/dataflow/operator.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a763f52e965fb7c561fcc8714f7a4fc3c49b66af799771ecee78b0d9117b5b0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/dataflow/dataflow.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfac2060cad601d5023353f73e248e99c5873d955ae0ea7aa330d690786111b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/shape/custom.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea4b3e676c2a4214cfb659878c4d60d2ebc0eacb8f0c27329098c0afbc77459"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/guide/annotation/region.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a44b7a3fc648cb4d5c90f71ac3677f9b7c63bb9a840a7d8a1e64568e42a4854"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/shape/line.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e86f8b8f2a214e15480e69e5acf91610d656df72d44b8df14c1cf911a0d5cf2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/shape/point.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1704a5afb8f7a0a74027d48c2d40c23c7998390b99818211a3ffd6e758fb06"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/interaction/selection/point.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d411a4e4c153a05df21e780e45967d01380bac52490ca698b3c6d1270f72ea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/graffiti/element/rect.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1887ca610b892dd92741701be137b9d9816ba5c3247839c61f263967791a30ae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/guide/annotation/element.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"726bd173eb87e7deb587fac8d2413c893df8d26aba8f0e605bad2bb9d6d38523"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/scale/discrete.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c50f1084d75a2dea6878bd85019d9c04de9eda58a87881a15f144049b38971"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/guide/axis/radial.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c303f1716564374cd6d3c4b5fd12ed3fdc81994cc21e7c7d1e9d06af1e7a59e1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/encode/position.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f047bc02d721949ccaedf1ff58582f8c17d782d019ae43bab1e5e225ac9aaf01"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/variable/transform/proportion.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbe3b8e2a67d372aa7eed149b9a104278667180a7265bce9983173bf7cdefb6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/util/path.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6cf59b907e34efc17e662a4489ce8403c6c149e084588a5f2eec1e040316ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/scale/time.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"984c146063c79f771f81eef9a9fd23b51bd86d50d7038ed27bd3b22c6ab2560d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/interaction/selection/interval.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06dc3cdd1068e02f238ed655f527b7f1f0be347f3334a812a4aa538877b1005e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/guide/annotation/line.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0e88d8a56d8e77bff2619aab8d3c376fdb55923be168cdf33588ec69207140"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/guide/axis/circular.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3184a0036a4e74331752a3b8657273e21a9f4f8676133c9a8d80cc50acb0cc3e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/scale/linear.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4cbf5fbbc65f888bd1c710bc6fcd2a3c72ab124382b612127c5998a02053aa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/interaction/event.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1e50d8644eb50a3d825d1c65e5ff84d1f76a8863269eeb2c38846f4cb3b923"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/view.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7e8da1aea820c5ad462f71d71f758d5e5002ac09ff7fdeb82305e535eb7b00"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/graffiti/element/spline.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4606106280624061fcf3f793781f5d08c03e5aefa773af9598a9f9d4715e17f2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/mark/interval.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4374956a86f942e9a5bc0c0bd1b6498910a730a0decde49ff4d6781eb56bb896"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/guide/axis/horizontal.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac31e440b9497ec89e489e34231d4af274889738319cd548a5eb0ac27c765c1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/guide/axis/vertical.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a911eb0532d46698346889e5a94b028a0cc052fd5ab6eab4ba89f11b0e2e2782"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/graffiti/element/circle.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e040a36ccbb13287608fd38bed3a6c0c09b0633a0d4a4d566780b2afce1dd0a4"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d4416c7d211b1f7e2b85089bba2af19c21e1cc75ba189dff54f20a1d0474024"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"P1","level":"note","message":{"text":"CI build step not evidenced: A CI pipeline exists but no build step was matched \u2014 changes may merge without the build ever running. A build step may be invoked directly as a command, or declared as a task that a runner named in the pipeline resolves."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"251015acef1a259fcc13b7c60660cc8917ccb3ae8056cb5165ae03312dd586e8"}},{"ruleId":"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/pull_request.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060example/android/app/build.gradle\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":"example/android/app/build.gradle"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"85db46012cab16800c27f0a8efecfa565c041a10ffddda32241f9144f7506466"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060borderRadius == null || borderRadius == BorderRadius.zero\u0060 appears character-identically in 2 files \u2014 lib/src/graffiti/element/rect.dart, lib/src/graffiti/element/sector.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/graffiti/element/rect.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03a6b9def855fbb5abde57947d77cdfae86a0af7daac95155b5a3759a643ed1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060coord is PolarCoordConv \u0026\u0026 coord.transposed\u0060 appears character-identically in 2 files \u2014 lib/src/shape/area.dart, lib/src/shape/line.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/shape/area.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f348ab4a3c61eb6be35bdc7de1435b4c68a60e75ec0590116f1d541d72d91ea9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.label != null \u0026\u0026 item.label!.haveText\u0060 appears character-identically in 4 files \u2014 lib/src/shape/interval.dart, lib/src/shape/line.dart, lib/src/shape/point.dart, lib/src/shape/polygon.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/shape/interval.dart"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"1119fe9b54466f422d70c3321d038aaeb1fbf171e2d888eee454938d29f07b96"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060position.length == 1 || position.length == 2\u0060 appears character-identically in 2 files \u2014 lib/src/mark/area.dart, lib/src/mark/interval.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/mark/area.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9e0a22ced31b30e0d006f39b16a750f556b84fa102c259c28bfc8c694a77f5"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override null safety: ~23.3 \u0060!\u0060 null assertions per 1k Dart product lines \u2014 357 across the 15352 line(s) of the 117 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: lib/src/chart/chart.dart (49), lib/src/graffiti/scene.dart (37), lib/src/graffiti/element/element.dart (35). 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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-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-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/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"}]}],"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":5,"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."]}]}