{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"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":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ApiExtractor._defaultValue (cyclomatic 26): ApiExtractor._defaultValue has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tool/api_docs/src/api_extractor.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdedf6df2c1bacf12a25c77b002e98b7ae37b8aa74c80d17d8894921d9de4de"}},{"ruleId":"D1","level":"warning","message":{"text":"LineChartPainter.drawTouchTooltip (cyclomatic 24): LineChartPainter.drawTouchTooltip has cyclomatic complexity 24 (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/chart/line_chart/line_chart_painter.dart"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d88d3dc589066a4636f10fca9554607b5910cff4d100cbdce280f295d315c04"}},{"ruleId":"D1","level":"warning","message":{"text":"LineChartPainter.paint (cyclomatic 23): LineChartPainter.paint has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/line_chart/line_chart_painter.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"91eaf41ac78410f0dc2510e9ba14d4b2f2a6de4083ad031aa89d4a1c404831bb"}},{"ruleId":"D1","level":"warning","message":{"text":"BarChartPainter.handleTouch (cyclomatic 21): BarChartPainter.handleTouch has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/bar_chart/bar_chart_painter.dart"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"147bcebce70817ecf853c48ff8fc7647552537eada0c969b8d462c37f7e4e463"}},{"ruleId":"D1","level":"warning","message":{"text":"ScatterChartPainter.drawSpots (cyclomatic 19): ScatterChartPainter.drawSpots has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/scatter_chart/scatter_chart_painter.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a2cf143e3dc206af5cbfa4a4fb0d5f12f5659e34a17eade5c4a8947b7ae8a3"}},{"ruleId":"D1","level":"warning","message":{"text":"BarChartPainter.drawTouchTooltip (cyclomatic 18): BarChartPainter.drawTouchTooltip 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/chart/bar_chart/bar_chart_painter.dart"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0a617af20465a6e0ef995200e2f4376d618cdb2178cd80addd6165533cc4a4"}},{"ruleId":"D1","level":"warning","message":{"text":"index.ApiProperty (cyclomatic 18): index.ApiProperty has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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":"website/src/components/ApiReference/index.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3f2f7bdf1f9e05f6f2e0e050c4308e32f08d7486f410d90d19c6b6415887b4"}},{"ruleId":"D1","level":"warning","message":{"text":"BarChartPainter.drawBars (cyclomatic 17): BarChartPainter.drawBars 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/chart/bar_chart/bar_chart_painter.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbf49232d611a83b4e658c38fbec9ee7dd77f804375f02b42d7368a1e52e812"}},{"ruleId":"D2","level":"warning","message":{"text":"BarChartPainter.drawBars (cognitive 64): BarChartPainter.drawBars has cognitive complexity 64 (threshold 15). Drivers by points: if/else 11 (43 pts), ternaries 2 (11 pts), loops 3 (8 pts), boolean chains 2 (nesting depth added 46). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/src/chart/bar_chart/bar_chart_painter.dart holds 4 of the 16 methods over the threshold \u2014 including the worst \u2014 and 84 of the 225 points over it (37%), 2\u00D7 the next-largest file (lib/src/chart/line_chart/line_chart_painter.dart at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/bar_chart/bar_chart_painter.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"88de079f71582a226ba7db7213b70b349290f0e19d661b5dc3fe10b0968ad753"}},{"ruleId":"D2","level":"warning","message":{"text":"ApiExtractor._defaultValue (cognitive 41): ApiExtractor._defaultValue has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (22 pts), ternaries 6 (9 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tool/api_docs/src/api_extractor.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"6faf10a09fa318af31330a8411fea4956902d7cca590f5459550f3b3304a867f"}},{"ruleId":"D2","level":"warning","message":{"text":"PieChartPainter.generateRoundedSectionPath (cognitive 38): PieChartPainter.generateRoundedSectionPath has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (32 pts), ternaries 3 (6 pts) (nesting depth added 17). 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/chart/pie_chart/pie_chart_painter.dart"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5740280314eb030211a46577220c3af5109efb8cea628a7dc174dea9b43d46e"}},{"ruleId":"D2","level":"warning","message":{"text":"BarChartPainter.handleTouch (cognitive 36): BarChartPainter.handleTouch has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 10, loops 3 (7 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/src/chart/bar_chart/bar_chart_painter.dart holds 4 of the 16 methods over the threshold \u2014 including the worst \u2014 and 84 of the 225 points over it (37%), 2\u00D7 the next-largest file (lib/src/chart/line_chart/line_chart_painter.dart at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/bar_chart/bar_chart_painter.dart"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a71c3e64766018324586fd45f8efe7f7919449fb35c26e45a27734070d6044d"}},{"ruleId":"D2","level":"warning","message":{"text":"ScatterChartPainter.drawSpots (cognitive 35): ScatterChartPainter.drawSpots has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (20 pts), ternaries 3 (9 pts), boolean chains 3, loops 2 (3 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/chart/scatter_chart/scatter_chart_painter.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"277e9203043fcf20f8dc3f64ee01b1567bb1603f3ed785f9533992bf0d2983ed"}},{"ruleId":"D2","level":"warning","message":{"text":"LineChartPainter.paint (cognitive 34): LineChartPainter.paint has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (23 pts), loops 6 (8 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/line_chart/line_chart_painter.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ddcaf138839d9c5e25fc4c62e9487b783f4ef3fdd16f9c6497a73203905a24"}},{"ruleId":"D2","level":"warning","message":{"text":"LineChartPainter.drawTouchTooltip (cognitive 31): LineChartPainter.drawTouchTooltip has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (24 pts), loops 4, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/line_chart/line_chart_painter.dart"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50454864292942197132e74d8b79189e50555e3a1971b2a7916b2bc11a7fd05"}},{"ruleId":"D2","level":"warning","message":{"text":"AxisChartPainter.drawHorizontalLines (cognitive 24): AxisChartPainter.drawHorizontalLines has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (11 pts), ternaries 1 (5 pts), match/switch 1 (4 pts), boolean chains 3, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AxisChartPainter.drawVerticalLines) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/base/axis_chart/axis_chart_painter.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f81de35478b754137ba8a7290ae5bdaa8d423973f89fa970be05c8064fed7c"}},{"ruleId":"D2","level":"warning","message":{"text":"AxisChartPainter.drawVerticalLines (cognitive 24): AxisChartPainter.drawVerticalLines has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (11 pts), ternaries 1 (5 pts), match/switch 1 (4 pts), boolean chains 3, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AxisChartPainter.drawHorizontalLines) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/base/axis_chart/axis_chart_painter.dart"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d8e7111d7bb383b4e44556fdac02981dd72abcfdb98ae1d6ac57abe56a1914"}},{"ruleId":"D2","level":"warning","message":{"text":"LineChartBarData.LineChartBarData (cognitive 24): LineChartBarData.LineChartBarData has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 4, loops 1 (2 pts), error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/line_chart/line_chart_data.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"485c88752e91529d6a3d733407ca7ecd45822be749c34bd636c8501e58eb50fe"}},{"ruleId":"D2","level":"warning","message":{"text":"BarChartPainter.drawTouchTooltip (cognitive 23): BarChartPainter.drawTouchTooltip has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 4, ternaries 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/src/chart/bar_chart/bar_chart_painter.dart holds 4 of the 16 methods over the threshold \u2014 including the worst \u2014 and 84 of the 225 points over it (37%), 2\u00D7 the next-largest file (lib/src/chart/line_chart/line_chart_painter.dart at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/bar_chart/bar_chart_painter.dart"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ec1e9f4afa238aa105cda0408fdbb6d60a16bca63be15debb521a49c10b6a4"}},{"ruleId":"D2","level":"warning","message":{"text":"BarChartPainter.drawStackItemBorderStroke (cognitive 21): BarChartPainter.drawStackItemBorderStroke has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 4, boolean chains 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/src/chart/bar_chart/bar_chart_painter.dart holds 4 of the 16 methods over the threshold \u2014 including the worst \u2014 and 84 of the 225 points over it (37%), 2\u00D7 the next-largest file (lib/src/chart/line_chart/line_chart_painter.dart at 41). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/bar_chart/bar_chart_painter.dart"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb31488d6002858015b69d6de98683c1a21a24540833b7c277615c7a3043a93b"}},{"ruleId":"D2","level":"warning","message":{"text":"LineChartPainter.generateNormalBarPath (cognitive 21): LineChartPainter.generateNormalBarPath has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 3 (6 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/line_chart/line_chart_painter.dart"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e5a12cf9b07121fa212c70c84752650d43543ba75d8ae6f2e5d2efbc084197"}},{"ruleId":"D2","level":"warning","message":{"text":"_NumberEditor.build (cognitive 17): _NumberEditor.build has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 3 (4 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/lib/src/property_editor.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e7b6709c89dddc0315dd2b7b499bb3d2cb1c7bae603de69b025271b021cffd"}},{"ruleId":"D2","level":"warning","message":{"text":"ApiExtractor._fieldNames (cognitive 16): ApiExtractor._fieldNames has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 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":"tool/api_docs/src/api_extractor.dart"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adf1aa1034f63eb5e26376c197eb20b46975697005f72d7d78465545113a4fe"}},{"ruleId":"D2","level":"warning","message":{"text":"index.ApiProperty (cognitive 16): index.ApiProperty has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 12, if/else 3 (4 pts) (nesting depth added 1). Of this number, 11 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. 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":"website/src/components/ApiReference/index.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1739bf55d4e9318bae8cf519257905fea04f864e3765cfe158f88f03bbe6e6e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: axis_chart/axis_chart_data.dart: FileTooLong \u2014 1411 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 911 over it, 2.82\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/base/axis_chart/axis_chart_data.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"279a7ce49746dc45152d61ba6cfd6a009b42b79af0cc37ca05f87ad02d4bc0e4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LineChartPainter: ClassTooLong \u2014 941 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 541 over it, 2.35\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/line_chart/line_chart_painter.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ade08b8a999e7d7bd76482151881e4b2865b89cc8ae117882e2f165f698461"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: line_chart/line_chart_painter.dart: FileTooLong \u2014 965 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: LineChartPainter (15-1471). The bar is 500 significant lines; this is 465 over it, 1.93\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/line_chart/line_chart_painter.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98aaf1c311f7bc1977ce3546ccf1277cba46168a564fe753802f3a09e2f50832"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BarChartPainter.drawBars: MethodTooLong \u2014 drawBars runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\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/bar_chart/bar_chart_painter.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e686e17502dafec599e2bb443f8e3c731f15d73f1637f39259f164b49a4d3ee"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BarChartPainter: ClassTooLong \u2014 666 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 266 over it, 1.67\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/bar_chart/bar_chart_painter.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"33dc37deeed1e0ac69cbcedeaa63c4c95ae697b4a03079e5151397e0e811fe86"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PieChartPainter: ClassTooLong \u2014 629 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 229 over it, 1.57\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/pie_chart/pie_chart_painter.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd41af48896a8cf3adecd38453b7bc64e4a2a46ae5264f97125520bc05fcd66b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LineChartPainter.drawTouchTooltip: MethodTooLong \u2014 drawTouchTooltip runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/line_chart/line_chart_painter.dart"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea3ac99c1096e882b6f987a6e091fedcaeb447fc14be6a019aaa1c070562aa5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: base/custom_interactive_viewer.dart: FileTooLong \u2014 756 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 256 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/base/custom_interactive_viewer.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6467ac30ac411c0e617bdf631a1c8f689caea1861f1c34c717a56b7fbed9a84"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: line_chart/line_chart_data.dart: FileTooLong \u2014 752 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 252 over it, 1.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/line_chart/line_chart_data.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f151a765b44cde21be7993f7027986b6f23281bcbfcc35c407a22f531d50178f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gauge_chart/gauge_chart_data.dart: FileTooLong \u2014 733 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 233 over it, 1.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/gauge_chart/gauge_chart_data.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b599c9034775dceafe9a249b5fb4bf94686c1cc08cd11b09d0cfcb16589a7e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BarChartPainter.drawTouchTooltip: MethodTooLong \u2014 drawTouchTooltip runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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/bar_chart/bar_chart_painter.dart"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a4d7994758a39246de43bf26fe4248f29647811282c9c037acc7acf0c8b177"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PieChartPainter.generateRoundedSectionPath: MethodTooLong \u2014 generateRoundedSectionPath runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\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/pie_chart/pie_chart_painter.dart"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ddd369f9cd314ca61521f14e8f36398589b9a06413eb6360e23923e7ee5f15b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bar_chart/bar_chart_painter.dart: FileTooLong \u2014 683 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: BarChartPainter (16-966). The bar is 500 significant lines; this is 183 over it, 1.37\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/bar_chart/bar_chart_painter.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde674a0d2bd8805ba2e15e50460a31408161f2eb2f62b6d8c19a9d510cfb858"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pie_chart/pie_chart_painter.dart: FileTooLong \u2014 637 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: PieChartPainter (12-977). The bar is 500 significant lines; this is 137 over it, 1.27\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/pie_chart/pie_chart_painter.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8dde0adc3a2ff3037c63827d56ebc547e30aeb033d3e36c83f2ea14707b7ded"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bar_chart/bar_chart_data.dart: FileTooLong \u2014 631 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 131 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/bar_chart/bar_chart_data.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc167f094191bcb05100c65787941379ecf891b7467b283dee1c3a3f8ec0b16"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: candlestick_chart/candlestick_chart_data.dart: FileTooLong \u2014 619 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 119 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/candlestick_chart/candlestick_chart_data.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca2e467037bb726d4972759650875c62ef4762620113b8dc89c14873c249282"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CandlestickChartPainter.drawTouchTooltip: MethodTooLong \u2014 drawTouchTooltip runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\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/candlestick_chart/candlestick_chart_painter.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b754e0daba67b73875a9a9c25fb65c75e62ec38ae07139ca355bf28d1420c3e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _CustomInteractiveViewerState: ClassTooLong \u2014 446 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 46 over it, 1.12\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/base/custom_interactive_viewer.dart"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"122441f288aa864f859b583bfd503729dad45f62c1f8e57d8a6a5d69cce42fcd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ScatterChartPainter.drawTouchTooltip: MethodTooLong \u2014 drawTouchTooltip runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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/scatter_chart/scatter_chart_painter.dart"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7590e2b730b1f03326a1c187e48faeb77518a50747c56b989bcf5ac2a045de8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BarChartPainter.handleTouch: MethodTooLong \u2014 handleTouch runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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/bar_chart/bar_chart_painter.dart"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac56b9264ecef19f72bc454a2602fa7aa6453b70be0f5a29ebc33aaf45c0a7a7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AxisChartPainter: ClassTooLong \u2014 402 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 2 over it, 1.01\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/base/axis_chart/axis_chart_painter.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad656823f8a5e1dc42ec000eaca81b4b047bebbb5182b351a6d675477c7155d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 90 shared lines): lib/src/chart/bar_chart/bar_chart_painter.dart:537-753 | lib/src/chart/candlestick_chart/candlestick_chart_painter.dart:145-306 | lib/src/chart/line_chart/line_chart_painter.dart:1084-1320 | lib/src/chart/scatter_chart/scatter_chart_painter.dart:278-436 \u2014 These 4 members are variants of one another: a block of 90 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 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/bar_chart/bar_chart_painter.dart"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7aaf014bdb03853f6b0ffe87284b42630afbb5ea2e46b21b3d9bd59b57fdff"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 39 shared lines): lib/src/chart/base/axis_chart/axis_chart_data.dart:2267-2362 | lib/src/chart/base/axis_chart/axis_chart_data.dart:2364-2462 | lib/src/chart/base/axis_chart/axis_chart_painter.dart:243-363 | lib/src/chart/base/axis_chart/axis_chart_painter.dart:365-486 \u2014 These 4 members are variants of one another: a block of 39 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 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/base/axis_chart/axis_chart_data.dart"},"region":{"startLine":2267}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88461b6178599d83343b07ca741ea0f7643e76528f71235da8d607751530c0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): lib/src/chart/bar_chart/bar_chart_renderer.dart:110-121 | lib/src/chart/candlestick_chart/candlestick_chart_renderer.dart:117-128 | lib/src/chart/gauge_chart/gauge_chart_renderer.dart:104-115 | lib/src/chart/line_chart/line_chart_renderer.dart:110-121 | lib/src/chart/radar_chart/radar_chart_renderer.dart:90-101 | lib/src/chart/scatter_chart/scatter_chart_renderer.dart:114-125 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/bar_chart/bar_chart_renderer.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3a9fb3a31e21f32b56906250cde61b1f310a699f1157dd8d4d390b5fb7ef21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): lib/src/chart/line_chart/line_chart_painter.dart:391-451 | lib/src/chart/scatter_chart/scatter_chart_painter.dart:196-253 \u2014 These two members are one piece of code written twice and then edited apart: 58 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/chart/line_chart/line_chart_painter.dart"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9eb931d90a60c86f48e6c689667ff4d6452ea81fd941fa7b4d4d0a7c480409"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/src/chart/bar_chart/bar_chart.dart:112-132 | lib/src/chart/line_chart/line_chart.dart:94-124 \u2014 These two members are one piece of code written twice and then edited apart: 21 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/chart/bar_chart/bar_chart.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a53c9d937b63415f08c1f615733d3c1259070c16001918f0b8c05471abfb3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/src/chart/candlestick_chart/candlestick_chart_painter.dart:121-143 | lib/src/chart/scatter_chart/scatter_chart_painter.dart:255-276 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/candlestick_chart/candlestick_chart_painter.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfa01dea1b23f8c04d48783dd1a02cae29f18b2c2ba54dc983b80e8a5d05264"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): lib/src/chart/bar_chart/bar_chart.dart:73-88 | lib/src/chart/candlestick_chart/candlestick_chart.dart:57-74 | lib/src/chart/line_chart/line_chart.dart:58-75 | lib/src/chart/scatter_chart/scatter_chart.dart:54-70 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 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/chart/bar_chart/bar_chart.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a88ea47d972dc3fb5cd53615749e9f6ca6a58ad5f96d224a427c6fc40748fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/src/chart/base/axis_chart/axis_chart_data.dart:1595-1605 | lib/src/chart/base/axis_chart/axis_chart_data.dart:1705-1715 \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/chart/base/axis_chart/axis_chart_data.dart"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"541c6326729adf10f9b283a8d10255c7e613f1782c6ca7f22377b012d6053900"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/src/chart/gauge_chart/gauge_chart_data.dart:718-737 | lib/src/chart/gauge_chart/gauge_chart_data.dart:925-945 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/gauge_chart/gauge_chart_data.dart"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"0819467f54a9508c0fafd0f772f2ce48927d4298197bdc0ccea6c0a2a3b7450b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): lib/src/chart/gauge_chart/gauge_chart_data.dart:742-753 | lib/src/chart/gauge_chart/gauge_chart_data.dart:877-888 | lib/src/chart/gauge_chart/gauge_chart_data.dart:953-965 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/gauge_chart/gauge_chart_data.dart"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a4eaae50e8c21f8c0b84b30d5996bcf89abcc93358f63e987c73e2eb98412a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/src/chart/candlestick_chart/candlestick_chart.dart:126-137 | lib/src/chart/scatter_chart/scatter_chart.dart:83-93 \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/chart/candlestick_chart/candlestick_chart.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"bceff1e43d889fbad615e5a50508dd975afb6c31678421c24050edf7766460c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/src/chart/base/axis_chart/side_titles/side_titles_widget.dart:82-93 | lib/src/chart/base/axis_chart/side_titles/side_titles_widget.dart:95-106 \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/chart/base/axis_chart/side_titles/side_titles_widget.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8968107f843524497807a20d8c34816eff133cfabcd1f11d0e8f08cc6cc8388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 4): lib/src/chart/bar_chart/bar_chart_painter.dart:660-714 | lib/src/chart/candlestick_chart/candlestick_chart_painter.dart:213-267 | lib/src/chart/line_chart/line_chart_painter.dart:1195-1249 | lib/src/chart/scatter_chart/scatter_chart_painter.dart:343-397 \u2014 \u0060lib/src/chart/bar_chart/bar_chart_painter.dart\u0060 and \u0060lib/src/chart/candlestick_chart/candlestick_chart_painter.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 136 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/chart/bar_chart/bar_chart_painter.dart:660\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/chart/bar_chart/bar_chart_painter.dart"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"896725f73a79f28fc0191ca4de1ad518a8f27a52334c6ee6bb14e5bfeaee8580"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): lib/src/chart/base/axis_chart/axis_chart_data.dart:2389-2420 | lib/src/chart/base/axis_chart/axis_chart_painter.dart:396-427 \u2014 before extracting anything, compare \u0060lib/src/chart/base/axis_chart/axis_chart_data.dart\u0060 and \u0060lib/src/chart/base/axis_chart/axis_chart_painter.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 124 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 \u0060lib/src/chart/base/axis_chart/axis_chart_data.dart:2389\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/chart/base/axis_chart/axis_chart_data.dart"},"region":{"startLine":2389}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0e6bf0625861a1d2733e91bae9778e83c014c2e64c74622720bf147ec537ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): lib/src/chart/candlestick_chart/candlestick_chart_painter.dart:53-84 | lib/src/chart/scatter_chart/scatter_chart_painter.dart:59-90 \u2014 \u0060lib/src/chart/candlestick_chart/candlestick_chart_painter.dart\u0060 and \u0060lib/src/chart/scatter_chart/scatter_chart_painter.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 192 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/chart/candlestick_chart/candlestick_chart_painter.dart:53\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060holder\u0060 to \u0060PaintHolder\u003CCandlestickChartData\u003E\u0060 in one and \u0060PaintHolder\u003CScatterChartData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/candlestick_chart/candlestick_chart_painter.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6589391e78dbb3a2d82ed702f4b0c959e428a2dba01120c824346adc46a3f7b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): lib/src/chart/base/axis_chart/axis_chart_data.dart:2290-2320 | lib/src/chart/base/axis_chart/axis_chart_painter.dart:274-304 \u2014 before extracting anything, compare \u0060lib/src/chart/base/axis_chart/axis_chart_data.dart\u0060 and \u0060lib/src/chart/base/axis_chart/axis_chart_painter.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 124 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 \u0060lib/src/chart/base/axis_chart/axis_chart_data.dart:2290\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/chart/base/axis_chart/axis_chart_data.dart"},"region":{"startLine":2290}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20dd8250ebfd9fa465335883dd59cd12087c724713c1b8f23f8a74ec2bfde84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 4): lib/src/chart/base/axis_chart/axis_chart_data.dart:2310-2339 | lib/src/chart/base/axis_chart/axis_chart_data.dart:2410-2439 | lib/src/chart/base/axis_chart/axis_chart_painter.dart:294-323 | lib/src/chart/base/axis_chart/axis_chart_painter.dart:417-446 \u2014 before extracting anything, compare \u0060lib/src/chart/base/axis_chart/axis_chart_data.dart\u0060 and \u0060lib/src/chart/base/axis_chart/axis_chart_painter.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 124 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 \u0060lib/src/chart/base/axis_chart/axis_chart_data.dart:2310\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/chart/base/axis_chart/axis_chart_data.dart"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e587d9fa1ede5746319d296dc60121665e65d61b7b6fe7464a239d1b92ab95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 2): lib/src/chart/line_chart/line_chart_painter.dart:407-435 | lib/src/chart/scatter_chart/scatter_chart_painter.dart:213-239 \u2014 \u0060lib/src/chart/line_chart/line_chart_painter.dart\u0060 and \u0060lib/src/chart/scatter_chart/scatter_chart_painter.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 147 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/chart/line_chart/line_chart_painter.dart:407\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060holder\u0060 to \u0060PaintHolder\u003CLineChartData\u003E\u0060 in one and \u0060PaintHolder\u003CScatterChartData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/line_chart/line_chart_painter.dart"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"8480c9a09a98dc405cc3a2c0d8d9580bc27b1a683347d0606ada8de6954c3974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 3): lib/src/chart/bar_chart/bar_chart_painter.dart:732-753 | lib/src/chart/candlestick_chart/candlestick_chart_painter.dart:283-306 | lib/src/chart/scatter_chart/scatter_chart_painter.dart:413-436 \u2014 \u0060lib/src/chart/bar_chart/bar_chart_painter.dart\u0060 and \u0060lib/src/chart/candlestick_chart/candlestick_chart_painter.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 136 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/chart/bar_chart/bar_chart_painter.dart:732\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/chart/bar_chart/bar_chart_painter.dart"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0a7c139f5a9421bc7cd1fac3c168341034c2594384e2563b08a246254bbb24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): lib/src/chart/candlestick_chart/candlestick_chart_painter.dart:76-99 | lib/src/chart/line_chart/line_chart_painter.dart:210-233 | lib/src/chart/scatter_chart/scatter_chart_painter.dart:82-105 \u2014 \u0060lib/src/chart/candlestick_chart/candlestick_chart_painter.dart\u0060 and \u0060lib/src/chart/line_chart/line_chart_painter.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 118 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/chart/candlestick_chart/candlestick_chart_painter.dart:76\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/chart/candlestick_chart/candlestick_chart_painter.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd73bd9d1c0a9a596b654fbd23a94233b28a83e52731def7d8db89737234891"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/src/chart/base/axis_chart/axis_chart_painter.dart:258-279 | lib/src/chart/base/axis_chart/axis_chart_painter.dart:380-401 \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/chart/base/axis_chart/axis_chart_painter.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/chart/base/axis_chart/axis_chart_painter.dart"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0bbd2c1c79e973881309b5cfdf4f62834730b7f0618878230e7ce11a8afc13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 4): lib/src/chart/bar_chart/bar_chart_painter.dart:732-749 | lib/src/chart/candlestick_chart/candlestick_chart_painter.dart:285-302 | lib/src/chart/line_chart/line_chart_painter.dart:1268-1281 | lib/src/chart/scatter_chart/scatter_chart_painter.dart:415-432 \u2014 \u0060lib/src/chart/bar_chart/bar_chart_painter.dart\u0060 and \u0060lib/src/chart/candlestick_chart/candlestick_chart_painter.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 136 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/chart/bar_chart/bar_chart_painter.dart:732\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/chart/bar_chart/bar_chart_painter.dart"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"51652e19a1a6de22d1c60151550375282376bfd0a451dd3c1ea57b33b48c9ae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 3): lib/src/chart/bar_chart/bar_chart_painter.dart:558-575 | lib/src/chart/candlestick_chart/candlestick_chart_painter.dart:160-177 | lib/src/chart/scatter_chart/scatter_chart_painter.dart:290-305 \u2014 \u0060lib/src/chart/bar_chart/bar_chart_painter.dart\u0060 and \u0060lib/src/chart/candlestick_chart/candlestick_chart_painter.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 136 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/chart/bar_chart/bar_chart_painter.dart:558\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060holder\u0060 to \u0060PaintHolder\u003CBarChartData\u003E\u0060 in one and \u0060PaintHolder\u003CCandlestickChartData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/bar_chart/bar_chart_painter.dart"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f76324cd193c72f67b3e50908e4a5e0b5dfdfe3fbf8319a5a9d536bed6433a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/src/chart/bar_chart/bar_chart_painter.dart:207-222 | lib/src/chart/bar_chart/bar_chart_painter.dart:261-276 \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/chart/bar_chart/bar_chart_painter.dart:207\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/bar_chart/bar_chart_painter.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43d0119cfb5c064f814416c3bcb8150830f1e9e8347ff8e989e8cf4f6551229"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/src/chart/base/axis_chart/axis_chart_data.dart:2283-2295 | lib/src/chart/base/axis_chart/axis_chart_data.dart:2382-2394 \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/chart/base/axis_chart/axis_chart_data.dart:2283\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/chart/base/axis_chart/axis_chart_data.dart"},"region":{"startLine":2283}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed751722ac81ac99c778568d462458c7d25a41eb2ab991f362dcdf0f37ddd08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): lib/src/chart/bar_chart/bar_chart_renderer.dart:110-121 | lib/src/chart/candlestick_chart/candlestick_chart_renderer.dart:117-128 | lib/src/chart/gauge_chart/gauge_chart_renderer.dart:104-115 | lib/src/chart/line_chart/line_chart_renderer.dart:110-121 | lib/src/chart/radar_chart/radar_chart_renderer.dart:90-101 | lib/src/chart/scatter_chart/scatter_chart_renderer.dart:114-125 \u2014 \u0060lib/src/chart/bar_chart/bar_chart_renderer.dart\u0060 and \u0060lib/src/chart/candlestick_chart/candlestick_chart_renderer.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 52 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/bar_chart/bar_chart_renderer.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"97af2702920bea658e7b55362d071f2a830ced245f2fc72bc0af23f51d67597d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): lib/src/chart/bar_chart/bar_chart_painter.dart:564-575 | lib/src/chart/candlestick_chart/candlestick_chart_painter.dart:166-177 | lib/src/chart/line_chart/line_chart_painter.dart:1122-1133 | lib/src/chart/scatter_chart/scatter_chart_painter.dart:294-305 \u2014 \u0060lib/src/chart/bar_chart/bar_chart_painter.dart\u0060 and \u0060lib/src/chart/candlestick_chart/candlestick_chart_painter.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 136 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060holder\u0060 to \u0060PaintHolder\u003CBarChartData\u003E\u0060 in one and \u0060PaintHolder\u003CCandlestickChartData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/bar_chart/bar_chart_painter.dart"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c158c1d0392515c775bc2861c11416dba2c5d3cb567acba79576c139365a2c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/chart/base/axis_chart/axis_chart_data.dart:2349-2359 | lib/src/chart/base/axis_chart/axis_chart_painter.dart:335-345 \u2014 before extracting anything, compare \u0060lib/src/chart/base/axis_chart/axis_chart_data.dart\u0060 and \u0060lib/src/chart/base/axis_chart/axis_chart_painter.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 124 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":"lib/src/chart/base/axis_chart/axis_chart_data.dart"},"region":{"startLine":2349}}}],"partialFingerprints":{"codehealthFindingId/v1":"8807b3f707fc458a4033c843e1a5838c20ace717e8e0011d36770ecc93b25ebe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/chart/base/axis_chart/axis_chart_data.dart:2449-2459 | lib/src/chart/base/axis_chart/axis_chart_painter.dart:458-468 \u2014 before extracting anything, compare \u0060lib/src/chart/base/axis_chart/axis_chart_data.dart\u0060 and \u0060lib/src/chart/base/axis_chart/axis_chart_painter.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 124 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":"lib/src/chart/base/axis_chart/axis_chart_data.dart"},"region":{"startLine":2449}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38b3c1a2c2642b1c93b7a52d01fe6c090ab68aade632a288a36fd900cda01d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201310 lines \u00D7 3): lib/src/chart/bar_chart/bar_chart_painter.dart:169-178 | lib/src/chart/bar_chart/bar_chart_painter.dart:416-425 | lib/src/chart/bar_chart/bar_chart_painter.dart:480-483 \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 \u0060lib/src/chart/bar_chart/bar_chart_painter.dart:169\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/chart/bar_chart/bar_chart_painter.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"decf2046c503eee2fe5529e50baa695d12ffb5093f43677a3664fe4db2d700cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): lib/src/chart/bar_chart/bar_chart_painter.dart:717-725 | lib/src/chart/candlestick_chart/candlestick_chart_painter.dart:269-277 | lib/src/chart/line_chart/line_chart_painter.dart:1258-1266 | lib/src/chart/scatter_chart/scatter_chart_painter.dart:399-407 \u2014 \u0060lib/src/chart/bar_chart/bar_chart_painter.dart\u0060 and \u0060lib/src/chart/candlestick_chart/candlestick_chart_painter.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 136 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/bar_chart/bar_chart_painter.dart"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7452b5c56bd0f5c79cc355c53ca1ab838c11c1bdaa0bb41d4a6273ea59764e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): lib/src/chart/base/axis_chart/axis_chart_data.dart:2299-2307 | lib/src/chart/base/axis_chart/axis_chart_data.dart:2398-2406 | lib/src/chart/base/axis_chart/axis_chart_painter.dart:283-291 | lib/src/chart/base/axis_chart/axis_chart_painter.dart:405-413 \u2014 before extracting anything, compare \u0060lib/src/chart/base/axis_chart/axis_chart_data.dart\u0060 and \u0060lib/src/chart/base/axis_chart/axis_chart_painter.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 124 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 \u0060lib/src/chart/base/axis_chart/axis_chart_data.dart:2299\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/chart/base/axis_chart/axis_chart_data.dart"},"region":{"startLine":2299}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9f1ffac459c979dc1b62c06483f653e25a7a9e9067db7a7dd3bc1201453432"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/src/chart/bar_chart/bar_chart.dart:173-181 | lib/src/chart/line_chart/line_chart.dart:198-206 \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/chart/bar_chart/bar_chart.dart"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"693ab4f372b49f4faa598092d44dab22b59e43015b8f43fb9b5ac29795258d31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): lib/src/chart/bar_chart/bar_chart_renderer.dart:25-33 | lib/src/chart/candlestick_chart/candlestick_chart_renderer.dart:25-34 | lib/src/chart/line_chart/line_chart_renderer.dart:26-34 | lib/src/chart/scatter_chart/scatter_chart_renderer.dart:25-34 \u2014 \u0060lib/src/chart/bar_chart/bar_chart_renderer.dart\u0060 and \u0060lib/src/chart/candlestick_chart/candlestick_chart_renderer.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 52 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/bar_chart/bar_chart_renderer.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1696865042567968f86798cb64ab688c0f52c50f9d28eb09dc075c440b196cf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/chart/bar_chart/bar_chart_renderer.dart:35-44 | lib/src/chart/line_chart/line_chart_renderer.dart:36-45 \u2014 \u0060lib/src/chart/bar_chart/bar_chart_renderer.dart\u0060 and \u0060lib/src/chart/line_chart/line_chart_renderer.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 45 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/bar_chart/bar_chart_renderer.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"203c3ef2199061de691bdc9604cbfd578c3b680d82042954f2e17f34d9309986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): lib/src/chart/bar_chart/bar_chart_renderer.dart:75-80 | lib/src/chart/candlestick_chart/candlestick_chart_renderer.dart:82-87 | lib/src/chart/gauge_chart/gauge_chart_renderer.dart:77-82 | lib/src/chart/line_chart/line_chart_renderer.dart:77-82 | lib/src/chart/radar_chart/radar_chart_renderer.dart:64-69 | lib/src/chart/scatter_chart/scatter_chart_renderer.dart:79-84 \u2014 \u0060lib/src/chart/bar_chart/bar_chart_renderer.dart\u0060 and \u0060lib/src/chart/candlestick_chart/candlestick_chart_renderer.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 52 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060BarChartData\u0060 in one and \u0060CandlestickChartData\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/bar_chart/bar_chart_renderer.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a4d2b7e46f64196ebbc2efa7ea30bee48a878cc94a7fa433f1c5af107a435a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): lib/src/chart/bar_chart/bar_chart_renderer.dart:123-129 | lib/src/chart/candlestick_chart/candlestick_chart_renderer.dart:130-136 | lib/src/chart/line_chart/line_chart_renderer.dart:123-129 | lib/src/chart/pie_chart/pie_chart_renderer.dart:162-168 | lib/src/chart/radar_chart/radar_chart_renderer.dart:103-109 | lib/src/chart/scatter_chart/scatter_chart_renderer.dart:127-133 \u2014 \u0060lib/src/chart/bar_chart/bar_chart_renderer.dart\u0060 and \u0060lib/src/chart/candlestick_chart/candlestick_chart_renderer.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 52 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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/chart/bar_chart/bar_chart_renderer.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bf618e6418570c2eba5f517608f4c56c132aae4417879182c48dad53365e04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): lib/src/chart/bar_chart/bar_chart_renderer.dart:131-147 | lib/src/chart/candlestick_chart/candlestick_chart_renderer.dart:138-154 | lib/src/chart/scatter_chart/scatter_chart_renderer.dart:135-151 \u2014 \u0060lib/src/chart/bar_chart/bar_chart_renderer.dart\u0060 and \u0060lib/src/chart/candlestick_chart/candlestick_chart_renderer.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 52 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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/chart/bar_chart/bar_chart_renderer.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e79936b670db641127dcd57396bd9dd02e2bec4614fc3e5333cb113f6c5582"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/chart/candlestick_chart/candlestick_chart.dart:173-183 | lib/src/chart/scatter_chart/scatter_chart.dart:130-140 \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/chart/candlestick_chart/candlestick_chart.dart"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e05960052c24db156cc077bc28660324c7ad95e9554a3e1fcfee626fec51719"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/src/chart/candlestick_chart/candlestick_chart_renderer.dart:36-48 | lib/src/chart/scatter_chart/scatter_chart_renderer.dart:36-48 \u2014 \u0060lib/src/chart/candlestick_chart/candlestick_chart_renderer.dart\u0060 and \u0060lib/src/chart/scatter_chart/scatter_chart_renderer.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 65 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/candlestick_chart/candlestick_chart_renderer.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab2085037019ec703f4ad3ae74bc1ac7b271c7976072a403620d17a469b16a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lib/src/chart/gauge_chart/gauge_chart.dart:36-44 | lib/src/chart/pie_chart/pie_chart.dart:53-61 | lib/src/chart/radar_chart/radar_chart.dart:37-45 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/src/chart/pie_chart/pie_chart.dart:65\u0060 calls \u0060_getData\u0060 and \u0060lib/src/chart/gauge_chart/gauge_chart.dart:46\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":"lib/src/chart/gauge_chart/gauge_chart.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc85866ff03bef7f5e96138c2e0536cc035e82a710161959a72fd35cddf70a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lib/src/chart/gauge_chart/gauge_chart.dart:46-54 | lib/src/chart/pie_chart/pie_chart.dart:69-77 | lib/src/chart/radar_chart/radar_chart.dart:49-57 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/src/chart/radar_chart/radar_chart.dart:47\u0060 calls \u0060_getDate\u0060 and \u0060lib/src/chart/gauge_chart/gauge_chart.dart:44\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/chart/gauge_chart/gauge_chart.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9526a712b6b43a5da87579b579257fa0e9fb35c13aae0e9b429e290ee89283cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/src/chart/gauge_chart/gauge_chart_renderer.dart:29-36 | lib/src/chart/pie_chart/pie_chart_renderer.dart:32-39 | lib/src/chart/radar_chart/radar_chart_renderer.dart:29-36 \u2014 \u0060lib/src/chart/gauge_chart/gauge_chart_renderer.dart\u0060 and \u0060lib/src/chart/radar_chart/radar_chart_renderer.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 37 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/gauge_chart/gauge_chart_renderer.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3ce381ee72ea6f8a68f5dc4c00be793568ff371b87c6189e873f3779602db1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/src/chart/gauge_chart/gauge_chart_renderer.dart:92-102 | lib/src/chart/pie_chart/pie_chart_renderer.dart:170-180 | lib/src/chart/radar_chart/radar_chart_renderer.dart:111-121 \u2014 \u0060lib/src/chart/gauge_chart/gauge_chart_renderer.dart\u0060 and \u0060lib/src/chart/radar_chart/radar_chart_renderer.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 37 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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/chart/gauge_chart/gauge_chart_renderer.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1c7b40fa0e97339004959922f151bb089aea31087cdd1816d3890863c935d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (81 shared lines): example/lib/presentation/samples/candlestick/candlestick_chart_sample1.dart:82-255 | example/lib/presentation/samples/line/line_chart_sample13.dart:73-256 \u2014 These two members are variants of one another: 81 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/presentation/samples/candlestick/candlestick_chart_sample1.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"616d44299a48d4f820479d51ec15808b0686900f8c24c50917f0d9027a34d328"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): example/lib/presentation/samples/pie/pie_chart_sample1.dart:16-102 | example/lib/presentation/samples/pie/pie_chart_sample2.dart:16-98 | example/lib/presentation/samples/pie/pie_chart_sample3.dart:16-48 | example/lib/presentation/samples/pie/pie_chart_sample4.dart:15-47 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/presentation/samples/pie/pie_chart_sample1.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f69fed04122a0ad42e7ac102b75421b2f2c25515aa69470535b5ad26076fbc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): example/lib/presentation/samples/line/line_chart_sample11.dart:75-93 | example/lib/presentation/samples/line/line_chart_sample11.dart:95-114 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/presentation/samples/line/line_chart_sample11.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"340d4dcd3dbe73a51e01dc601ae0868f35d2165631a70ed6799aa9da7a1b18c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): example/lib/presentation/samples/line/line_chart_sample4.dart:22-51 | example/lib/presentation/samples/line/line_chart_sample7.dart:20-46 \u2014 These two members are one piece of code written twice and then edited apart: 27 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/presentation/samples/line/line_chart_sample4.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a67d9ce4c8215b806c34e539d7bac5a5bab85e70fd3913c21003f04c737c817"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): example/lib/presentation/samples/bar/bar_chart_sample5.dart:68-86 | example/lib/presentation/samples/bar/bar_chart_sample5.dart:88-106 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/presentation/samples/bar/bar_chart_sample5.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea869f33f88214bac2b6f178a0de6f70870f8e3f3d88c8ede12d9eb39f23f9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): example/lib/presentation/samples/candlestick/candlestick_chart_sample1.dart:280-300 | example/lib/presentation/samples/line/line_chart_sample13.dart:301-325 \u2014 These two members are one piece of code written twice and then edited apart: 21 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/presentation/samples/candlestick/candlestick_chart_sample1.dart"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d6145c4f7ec452f7f41716c7de16188024bf1dad1c65d981e1f7e125f4a15b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): example/lib/presentation/samples/line/line_chart_sample6.dart:66-87 | example/lib/presentation/samples/line/line_chart_sample6.dart:89-102 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/presentation/samples/line/line_chart_sample6.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a943272ba55273641c0ce85aad1940d85c00d83ebfa996d3aca8690458c9805"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 15\u002B corresponding lines): example/lib/presentation/samples/line/line_chart_sample1.dart:165-181 | example/lib/presentation/samples/line/line_chart_sample1.dart:183-201 | example/lib/presentation/samples/line/line_chart_sample1.dart:203-217 | example/lib/presentation/samples/line/line_chart_sample1.dart:219-236 | example/lib/presentation/samples/line/line_chart_sample1.dart:238-256 | example/lib/presentation/samples/line/line_chart_sample1.dart:258-273 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 15 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/presentation/samples/line/line_chart_sample1.dart"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d29203e012cc4406a87e63e577394b4bf8d9d753600bd17e96bae599744667"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): example/lib/presentation/samples/bar/bar_chart_sample4.dart:18-32 | example/lib/presentation/samples/bar/bar_chart_sample6.dart:46-67 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/presentation/samples/bar/bar_chart_sample4.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"953463d9152fd13bba8a30063cdf4939b3c4498c2e8eee81b5eb1d12a7b969f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): example/lib/presentation/samples/bar/bar_chart_sample1.dart:233-254 | example/lib/presentation/samples/bar/bar_chart_sample3.dart:30-51 | example/lib/presentation/samples/line/line_chart_sample1.dart:96-117 | example/lib/presentation/samples/line/line_chart_sample1.dart:126-143 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 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":"example/lib/presentation/samples/bar/bar_chart_sample1.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b0331b9148e483cd3ecb61f815deddb7c9e17d5a9067aa0426aebd4327f269"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): example/lib/presentation/samples/line/line_chart_sample11.dart:116-130 | example/lib/presentation/samples/line/line_chart_sample11.dart:132-146 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/presentation/samples/line/line_chart_sample11.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"565aaf74826a6417ae7af215c23a94e6b00610b4f7828689aaa059e2a2240465"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): example/lib/presentation/samples/line/line_chart_sample10.dart:111-124 | example/lib/presentation/samples/line/line_chart_sample10.dart:126-139 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/presentation/samples/line/line_chart_sample10.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43714a46d0ef44c5a98aa063ac3dac2c7da93c890870939fb9ef243929d436c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): example/lib/presentation/samples/line/line_chart_sample9.dart:15-29 | example/lib/presentation/samples/line/line_chart_sample9.dart:31-42 \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":"example/lib/presentation/samples/line/line_chart_sample9.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"af75187a53f4abb186b24e8e4274584d35be64fc5daeabd783cd5d7181c2d175"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): example/lib/presentation/samples/line/line_chart_sample2.dart:62-77 | example/lib/presentation/samples/line/line_chart_sample2.dart:79-92 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/presentation/samples/line/line_chart_sample2.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfff65f1e5eeb4c0617bd116341a1bcf1f9a0bae8520b0b266d87838271056e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): example/lib/presentation/samples/line/line_chart_sample1.dart:50-63 | example/lib/presentation/samples/line/line_chart_sample1.dart:75-88 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/presentation/samples/line/line_chart_sample1.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0613b650024b103d3b63e85260ae229b1928ee6aee4fcfd6cee3c7c8da1907a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): example/lib/presentation/samples/line/line_chart_sample4.dart:53-62 | example/lib/presentation/samples/line/line_chart_sample7.dart:48-58 \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":"example/lib/presentation/samples/line/line_chart_sample4.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae6e18b68c999ade337508b500c878e3542442b6a20157c7f4d976205b13d5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): example/lib/presentation/samples/pie/pie_chart_sample3.dart:16-48 | example/lib/presentation/samples/pie/pie_chart_sample4.dart:15-47 \u2014 before extracting anything, compare \u0060example/lib/presentation/samples/pie/pie_chart_sample3.dart\u0060 and \u0060example/lib/presentation/samples/pie/pie_chart_sample4.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 73 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. 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/presentation/samples/pie/pie_chart_sample3.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad5d157fb1535d8d9e2b8f8be466e286cef2caef7392bfa085784e23734eced"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): example/lib/presentation/samples/line/line_chart_sample4.dart:68-97 | example/lib/presentation/samples/line/line_chart_sample7.dart:62-91 \u2014 before extracting anything, compare \u0060example/lib/presentation/samples/line/line_chart_sample4.dart\u0060 and \u0060example/lib/presentation/samples/line/line_chart_sample7.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 82 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/presentation/samples/line/line_chart_sample4.dart:68\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/presentation/samples/line/line_chart_sample4.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26783ef18c873bc4a92c6206734eeeecd4d4c2fbd8eaf8e013a2e70facbf86b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): example/lib/presentation/samples/gauge/gauge_chart_sample1.dart:86-111 | example/lib/presentation/samples/gauge/gauge_chart_sample4.dart:79-104 \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/presentation/samples/gauge/gauge_chart_sample1.dart:86\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":"example/lib/presentation/samples/gauge/gauge_chart_sample1.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de639301f200b0dd02ae29311e7af4285814be22f94a77d98fb084d740b350c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 4): example/lib/presentation/samples/bar/bar_chart_sample4.dart:113-137 | example/lib/presentation/samples/bar/bar_chart_sample4.dart:169-193 | example/lib/presentation/samples/bar/bar_chart_sample4.dart:225-249 | example/lib/presentation/samples/bar/bar_chart_sample4.dart:281-305 \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/presentation/samples/bar/bar_chart_sample4.dart:113\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/presentation/samples/bar/bar_chart_sample4.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda531cc8291a73542d323d14c2e88e652c1ca176ec6ee512671483de6fb044f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): example/lib/presentation/samples/candlestick/candlestick_chart_sample1.dart:185-208 | example/lib/presentation/samples/line/line_chart_sample13.dart:215-238 \u2014 before extracting anything, compare \u0060example/lib/presentation/samples/candlestick/candlestick_chart_sample1.dart\u0060 and \u0060example/lib/presentation/samples/line/line_chart_sample13.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/presentation/samples/candlestick/candlestick_chart_sample1.dart:185\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/presentation/samples/candlestick/candlestick_chart_sample1.dart"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a4f2d7c9128d1a3e0b59a2de2bdd05d306594e2e043d231c4c4d3889e9836a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): example/lib/presentation/samples/pie/pie_chart_sample2.dart:31-52 | example/lib/presentation/samples/pie/pie_chart_sample3.dart:25-46 | example/lib/presentation/samples/pie/pie_chart_sample4.dart:24-45 \u2014 before extracting anything, compare \u0060example/lib/presentation/samples/pie/pie_chart_sample2.dart\u0060 and \u0060example/lib/presentation/samples/pie/pie_chart_sample3.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 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/presentation/samples/pie/pie_chart_sample2.dart:31\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":"example/lib/presentation/samples/pie/pie_chart_sample2.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c093fde2331afba300291e5363421ad8cf89e9e8d1231ccca342baa3ab17c472"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): example/lib/presentation/samples/candlestick/candlestick_chart_sample1.dart:119-139 | example/lib/presentation/samples/line/line_chart_sample13.dart:124-144 \u2014 before extracting anything, compare \u0060example/lib/presentation/samples/candlestick/candlestick_chart_sample1.dart\u0060 and \u0060example/lib/presentation/samples/line/line_chart_sample13.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/presentation/samples/candlestick/candlestick_chart_sample1.dart:119\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/presentation/samples/candlestick/candlestick_chart_sample1.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"29efa84dc50e353f54d5fd85720e0c5351a00f6e5943ff852406908e8ea66ead"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): example/lib/presentation/samples/candlestick/candlestick_chart_sample1.dart:98-117 | example/lib/presentation/samples/line/line_chart_sample13.dart:103-122 \u2014 before extracting anything, compare \u0060example/lib/presentation/samples/candlestick/candlestick_chart_sample1.dart\u0060 and \u0060example/lib/presentation/samples/line/line_chart_sample13.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/presentation/samples/candlestick/candlestick_chart_sample1.dart:98\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/presentation/samples/candlestick/candlestick_chart_sample1.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba12ee9302eea1f0a56db165bc632f0c55b3e33b7d7b144b2cf869ca988ebc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): example/lib/presentation/samples/bar/bar_chart_sample1.dart:236-254 | example/lib/presentation/samples/bar/bar_chart_sample3.dart:33-51 \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/presentation/samples/bar/bar_chart_sample1.dart:236\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":"example/lib/presentation/samples/bar/bar_chart_sample1.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"96053c5139b21a6c6010c4775b84ce264004dd8d1d53a7eeec16797d72fecae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): example/lib/presentation/samples/line/line_chart_sample4.dart:25-43 | example/lib/presentation/samples/line/line_chart_sample7.dart:27-43 \u2014 before extracting anything, compare \u0060example/lib/presentation/samples/line/line_chart_sample4.dart\u0060 and \u0060example/lib/presentation/samples/line/line_chart_sample7.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 82 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/presentation/samples/line/line_chart_sample4.dart:25\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/presentation/samples/line/line_chart_sample4.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7186314c4207c508bdff7a6ecdb8309bff45de5a3b29535eb33d0c95df75aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): example/lib/presentation/samples/pie/pie_chart_sample1.dart:70-87 | example/lib/presentation/samples/pie/pie_chart_sample2.dart:26-43 | example/lib/presentation/samples/pie/pie_chart_sample3.dart:20-37 | example/lib/presentation/samples/pie/pie_chart_sample4.dart:19-36 \u2014 before extracting anything, compare \u0060example/lib/presentation/samples/pie/pie_chart_sample2.dart\u0060 and \u0060example/lib/presentation/samples/pie/pie_chart_sample3.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 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/presentation/samples/pie/pie_chart_sample1.dart:70\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/presentation/samples/pie/pie_chart_sample1.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbdff76900a8fb7fadd2e3cc3edb9142efc2ca77252a6d440989edafa6ad0b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): example/lib/presentation/samples/bar/bar_chart_sample6.dart:48-64 | example/lib/presentation/samples/line/line_chart_sample4.dart:23-40 | example/lib/presentation/samples/line/line_chart_sample7.dart:25-42 \u2014 before extracting anything, compare \u0060example/lib/presentation/samples/line/line_chart_sample4.dart\u0060 and \u0060example/lib/presentation/samples/line/line_chart_sample7.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 82 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/presentation/samples/bar/bar_chart_sample6.dart:48\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/presentation/samples/bar/bar_chart_sample6.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bbc81d6ec987541534cce386fef22798eeb2482372b6afa7887a2632550828"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): example/lib/presentation/samples/bar/bar_chart_sample1.dart:273-290 | example/lib/presentation/samples/bar/bar_chart_sample8.dart:121-138 \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/presentation/samples/bar/bar_chart_sample1.dart:273\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/presentation/samples/bar/bar_chart_sample1.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcf6e6ae19a4d00bc764da848f58f56af3a3dcdbbcdd9060390857250296c77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): example/lib/presentation/samples/line/line_chart_sample2.dart:142-159 | example/lib/presentation/samples/line/line_chart_sample2.dart:229-246 \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/presentation/samples/line/line_chart_sample2.dart:142\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/presentation/samples/line/line_chart_sample2.dart"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"1358ba0eebd8945d8bafe64bec16313aceb3a8276f26e1d5b9ddb550db9dc5aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): example/lib/presentation/samples/line/line_chart_sample11.dart:78-93 | example/lib/presentation/samples/line/line_chart_sample11.dart:98-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/presentation/samples/line/line_chart_sample11.dart:78\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The 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/presentation/samples/line/line_chart_sample11.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"491ed2a26b790ca3367850f78b3ba7025d81bf1d82a6a6ef1c0ae0a46e8d36c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): example/lib/presentation/samples/pie/pie_chart_sample3.dart:61-76 | example/lib/presentation/samples/pie/pie_chart_sample3.dart:79-94 | example/lib/presentation/samples/pie/pie_chart_sample3.dart:97-112 | example/lib/presentation/samples/pie/pie_chart_sample3.dart:115-130 \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/presentation/samples/pie/pie_chart_sample3.dart:61\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":"example/lib/presentation/samples/pie/pie_chart_sample3.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6acb768edc497e011a605ef380a9e41783145072d20ba1ab5fc58c28671d95c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): example/lib/presentation/samples/bar/bar_chart_sample5.dart:33-48 | example/lib/presentation/samples/bar/bar_chart_sample5.dart:51-66 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/presentation/samples/bar/bar_chart_sample5.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"880f6d01c6ac90674a3b3096dd4008df5dd78195e3466640cce19ee565b2b46d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): example/lib/presentation/samples/candlestick/candlestick_chart_sample1.dart:168-183 | example/lib/presentation/samples/line/line_chart_sample13.dart:191-206 \u2014 before extracting anything, compare \u0060example/lib/presentation/samples/candlestick/candlestick_chart_sample1.dart\u0060 and \u0060example/lib/presentation/samples/line/line_chart_sample13.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/presentation/samples/candlestick/candlestick_chart_sample1.dart:168\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/presentation/samples/candlestick/candlestick_chart_sample1.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"5820decac9b5528e7e4ea7e4024d48426ffc1d37538a1b71b29b55377b3c2b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): example/lib/presentation/samples/pie/pie_chart_sample4.dart:67-81 | example/lib/presentation/samples/pie/pie_chart_sample4.dart:92-106 | example/lib/presentation/samples/pie/pie_chart_sample4.dart:117-131 | example/lib/presentation/samples/pie/pie_chart_sample4.dart:142-156 | example/lib/presentation/samples/pie/pie_chart_sample4.dart:167-181 \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/presentation/samples/pie/pie_chart_sample4.dart:67\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/presentation/samples/pie/pie_chart_sample4.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6b2993a4bfbb5df25c57f85d7720785fe0f6266a0b47a2271feaab9c7e841b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): example/lib/presentation/samples/line/line_chart_sample4.dart:81-95 | example/lib/presentation/samples/line/line_chart_sample7.dart:75-89 | example/lib/presentation/samples/line/line_chart_sample7.dart:97-111 \u2014 before extracting anything, compare \u0060example/lib/presentation/samples/line/line_chart_sample4.dart\u0060 and \u0060example/lib/presentation/samples/line/line_chart_sample7.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 82 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/presentation/samples/line/line_chart_sample4.dart:81\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/presentation/samples/line/line_chart_sample4.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fb96de7b5e2351704c57792d86d95bc6f3f8997649f4ba682b1d301dacd84c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): example/lib/presentation/samples/line/line_chart_sample2.dart:142-154 | example/lib/presentation/samples/line/line_chart_sample2.dart:229-241 | example/lib/presentation/samples/line/line_chart_sample8.dart:259-272 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/presentation/samples/line/line_chart_sample2.dart:142\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/presentation/samples/line/line_chart_sample2.dart"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1169886ddea66f62a0e8be653e7f2a7326d2155924d5aa4bf090443fe38de5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): example/lib/presentation/samples/line/line_chart_sample1.dart:126-139 | example/lib/presentation/samples/line/line_chart_sample2.dart:62-74 \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/presentation/samples/line/line_chart_sample1.dart:126\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/presentation/samples/line/line_chart_sample1.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbab2c2ba4869ad714ced51e2dfa175f6ae5f7a6a7cfa3edbbfd9f2d15ec51c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): example/lib/presentation/samples/bar/bar_chart_sample4.dart:156-168 | example/lib/presentation/samples/bar/bar_chart_sample4.dart:212-224 | example/lib/presentation/samples/bar/bar_chart_sample4.dart:268-280 | example/lib/presentation/samples/bar/bar_chart_sample4.dart:324-336 \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/presentation/samples/bar/bar_chart_sample4.dart:156\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/presentation/samples/bar/bar_chart_sample4.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fae6d3c5fc486e9709f45c290189e6c0f7f55b6fb41638bafca50cb49d42e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): example/lib/presentation/samples/bar/bar_chart_sample1.dart:202-214 | example/lib/presentation/samples/bar/bar_chart_sample2.dart:138-150 \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/presentation/samples/bar/bar_chart_sample1.dart:202\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/presentation/samples/bar/bar_chart_sample1.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"11090c6da3ccc9dc772af33010285c100de5dd30c1cb07115f8fee0dbb8e5ce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): example/lib/presentation/samples/line/line_chart_sample11.dart:118-130 | example/lib/presentation/samples/line/line_chart_sample11.dart:134-146 \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/presentation/samples/line/line_chart_sample11.dart:118\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":"example/lib/presentation/samples/line/line_chart_sample11.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4af90aff6638495640a21b5b1d7e66e74aacbb2c4c9c37303eb173e789d2fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): example/lib/presentation/samples/pie/pie_chart_sample2.dart:103-114 | example/lib/presentation/samples/pie/pie_chart_sample3.dart:54-66 \u2014 before extracting anything, compare \u0060example/lib/presentation/samples/pie/pie_chart_sample2.dart\u0060 and \u0060example/lib/presentation/samples/pie/pie_chart_sample3.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 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/presentation/samples/pie/pie_chart_sample2.dart:103\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/presentation/samples/pie/pie_chart_sample2.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"312a580fe2dc34bd67e6d890b8d922a1e044e09e587ea6db1ca201af64c13028"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): example/lib/presentation/samples/line/line_chart_sample1.dart:170-181 | example/lib/presentation/samples/line/line_chart_sample1.dart:225-236 \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/presentation/samples/line/line_chart_sample1.dart:170\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":"example/lib/presentation/samples/line/line_chart_sample1.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7de3965597e1fcfcd803b8f1bc6d711aae31426327c443d8a2fb2fd46c5ce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): example/lib/presentation/samples/line/line_chart_sample6.dart:168-179 | example/lib/presentation/samples/line/line_chart_sample6.dart:198-209 \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/presentation/samples/line/line_chart_sample6.dart:168\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/presentation/samples/line/line_chart_sample6.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"140344c1e1d3434f333b919f229a476e214edb810ed0648cefded09bea834dfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): example/lib/presentation/samples/line/line_chart_sample1.dart:191-201 | example/lib/presentation/samples/line/line_chart_sample1.dart:246-256 \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/presentation/samples/line/line_chart_sample1.dart:191\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":"example/lib/presentation/samples/line/line_chart_sample1.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d80903161c90c149d5f9858c937419148424e50c8eadf4e8d75cafe0f79f180"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): example/lib/presentation/samples/line/line_chart_sample1.dart:168-177 | example/lib/presentation/samples/line/line_chart_sample1.dart:206-215 | example/lib/presentation/samples/line/line_chart_sample1.dart:223-232 \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/presentation/samples/line/line_chart_sample1.dart:168\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/presentation/samples/line/line_chart_sample1.dart:178\u0060 calls \u0060FlSpot\u0060 and \u0060example/lib/presentation/samples/line/line_chart_sample1.dart:216\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/presentation/samples/line/line_chart_sample1.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"207e76079576c3733c96f588b70d364ef21b7d2cd3cf95f6b43ed9373f4c695e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): example/lib/presentation/samples/bar/bar_chart_sample5.dart:69-76 | example/lib/presentation/samples/bar/bar_chart_sample5.dart:89-96 \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/presentation/samples/bar/bar_chart_sample5.dart:69\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/presentation/samples/bar/bar_chart_sample5.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda016549c4c7ce1450bb2f8e6cde28877040b424ac87769459c0d3c728e572c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _LineChart (LCOM4 18): _LineChart\u0027s methods fall into 18 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 18 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":"example/lib/presentation/samples/line/line_chart_sample1.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f582b7816a4047079cb8127bc9814525ff84d8623e29fb83b743e37b35e09f9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _AxisChartScaffoldWidgetState (LCOM4 9): _AxisChartScaffoldWidgetState\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/base/axis_chart/axis_chart_scaffold_widget.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bc18e5ec9b3baba9155567b00a434cbe855ff9620e86ce2d18ddc86f379a88"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RenderPieChart (LCOM4 9): RenderPieChart\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/pie_chart/pie_chart_renderer.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"005f9c8d627600754109e1276f3153b14d7491901ae95854b2062ff70fd78b96"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RenderBarChart (LCOM4 7): RenderBarChart\u0027s methods fall into 7 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 7 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/chart/bar_chart/bar_chart_renderer.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b3b23a189825e8abfa64835b1cbb4de42af758c3b46dac73bd8e7eddabb427"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AxisSideTitlesRenderFlex (LCOM4 7): AxisSideTitlesRenderFlex\u0027s methods fall into 7 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 7 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/chart/base/axis_chart/side_titles/side_titles_flex.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7160091adafed7111e21fbae5a7184bab42e0858b00db8e988cc9f55eef1441a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RenderCandlestickChart (LCOM4 7): RenderCandlestickChart\u0027s methods fall into 7 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 7 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/chart/candlestick_chart/candlestick_chart_renderer.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd61f8f20168fb42f92ef3e76f25e6c2d139847ac72c80ad045ce7fa03fb60f6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RenderLineChart (LCOM4 7): RenderLineChart\u0027s methods fall into 7 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 7 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/chart/line_chart/line_chart_renderer.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"709c175c6da4f3dc242e1082b1c6a17eb6c046871a9d02d53eaaf2c8f08e62f7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RenderScatterChart (LCOM4 7): RenderScatterChart\u0027s methods fall into 7 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 7 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/chart/scatter_chart/scatter_chart_renderer.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a870ff66bb1bb856ff98a535d280977c8a61e70fb2ee3f3536a2f5230c539c13"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BarChartSample3State (LCOM4 6): BarChartSample3State\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/presentation/samples/bar/bar_chart_sample3.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"68585dfa05a0b00f0b93a2b235ee4d270baad19dc1d02ff67ad56b801e1a5321"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BarChartSample5State (LCOM4 6): BarChartSample5State\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/presentation/samples/bar/bar_chart_sample5.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6295e11dbf53ad0204892c61624bfd5e5fee9421441ec8fb3866cd8b179fd74e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RenderBaseChart (LCOM4 6): RenderBaseChart\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/base/base_chart/render_base_chart.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54107f6c89b9812395106ad0bbf9dda9f19286c1b05894013d0e3dd73a936d7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RenderRadarChart (LCOM4 6): RenderRadarChart\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/radar_chart/radar_chart_renderer.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"832eadc70a2d6876422245a7d702d284ce6861f1d4fdb090c1df88d635421c98"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RenderGaugeChart (LCOM4 5): RenderGaugeChart\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/gauge_chart/gauge_chart_renderer.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f4dfc1d1bd14fed0c20619d6be5135848e361d59160bc5ec899efca7eee23a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _LineChartSample13State (LCOM4 4): _LineChartSample13State\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":"example/lib/presentation/samples/line/line_chart_sample13.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40f4cef77e957c8d2b67ef125773a489378184176598d76a15a77159d1eb290"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _LineChartSample8State (LCOM4 4): _LineChartSample8State\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":"example/lib/presentation/samples/line/line_chart_sample8.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b737ecab28a82752293d86d1fece81dbfe571bee1015ba171f49705b551e696"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/src/chart/line_chart/line_chart_painter.dart: lib/src/chart/line_chart/line_chart_painter.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in LineChartPainter.paint at line 61. 2 of those changes were fix/bug commits, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 21:28:23 \u002B01:00\u0027 --until=\u00272026-11-09 21:28:23 \u002B01:00\u0027 --full-history --no-merges -- lib/src/chart/line_chart/line_chart_painter.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/line_chart/line_chart_painter.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cfb00550def65b4f4fafe6de98fde5dda4dc188ff2a20536d67eeeb15ffa7f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/src/chart/bar_chart/bar_chart_painter.dart: lib/src/chart/bar_chart/bar_chart_painter.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in BarChartPainter.handleTouch at line 815. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 21:28:23 \u002B01:00\u0027 --until=\u00272026-11-09 21:28:23 \u002B01:00\u0027 --full-history --no-merges -- lib/src/chart/bar_chart/bar_chart_painter.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/bar_chart/bar_chart_painter.dart"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40ca1948c13e5c7a808fd36c0ef93504c1fe5cdee1df0257854f85b7d0828e5"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 5 significant file(s) lose their only recent owner: lib/src/chart/line_chart/line_chart.dart, lib/src/chart/candlestick_chart/candlestick_chart.dart, lib/src/chart/bar_chart/bar_chart.dart, lib/src/chart/scatter_chart/scatter_chart.dart, lib/src/chart/base/axis_chart/axis_chart_widgets.dart. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e31d4d7d18b43c55cc6a23be1048517eed95de7d41e7ed91d2c4f0129ee6cb61"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(imaNNeo): Is there some way to determine how much of a path would be visible today? \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/utils/path_drawing/dash_path.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f716196757c83f0b1be393ad5058a7f943a57389937da869d3792f607bd63601"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 3 project(s) overshoot their size bounds, lowering Project Cohesion to 3.3/10. The most over is \u0060(repository root)\u0060 (20533 LoC, 227 module-visible types across 15 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"49e9df15abb5f92add0830591936c7eef68c563b22208cadcbe80ba32728ab96"},"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":"d2bbf4db0c0e09606afc98b04e17df3bfe887cdfdd807d54822b0c9b8316e441"},"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":"0957cc7f47d1931c56662464cd3ce406765637560a7f96e94ab37853c0558962"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43e8023d5f8f0309c745dfcd3d450b300091d5b0f1efbedc4aea55c48e35fe93"},"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":"dd2a52d2cc3294eacfe0a445cac9f93e9770b48b5ca16218ee62c17a9b725930"},"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":"5c41ca32837597fc90d24df02adc515d730f8c310b129cb937a600c8d525c542"},"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":"389b51faa917ce950b21a49118d2a875424502cf2de786f7ef0e45a2a86346e5"},"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":"b146bb0a24a8cc4fe4b02cf25abff0cc1cf42e58dd77aebcc6b620ca15eacdd7"},"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":"4fb5d88c0e79c0336b15e3a2809d7253a9a46ce3e5aaa1291ad38766250766b4"},"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":"2b805f3d3ee7e3f00e36fc70c4cd5896ee10a6a48546c14a0fdb08089cb7253c"},"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":"db58a5578713dd045533c631e54e78c3ab59568dea4d9406e9ff92f3db3b2118"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"afc61dd7180bf071e14c176a8e81d2deef9037afe871ff6ea40f38a30c45b8a7"},"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":"08ef298f67305795840c2263ce9c485ee55cba625837cb6084191ee0773dd703"},"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":"a033fd55afcb84c4a869743e3b865f426b635cda6a7dd0c034bc31f0950643ab"},"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":"6c5dc7ebc1521f53cc942f9e2b213780e764afebab3fc92ebb0b9b80b8c01096"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"72006caaaad7ba0bbd1c4f369f6cab9bd2d5a484247c5cb81c8f10eb3280bcb3"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"5796def50336a138baf506217ffdc43a0ebe08848e353b849674d6e2ded6857b"},"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":"6b006b2713f6458540bcb0ed6cc6230d6f3f7636e85961e091eaa09124231cd0"},"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":"00d6847272cd694ccf429d1493d65a28dee18ddc142e7aa8050ae0acf1f2e6a8"},"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":"a27025635b32c2ab0a0f0959b1acee855038fd53fe7bc0cfe692d97c4ed8c9ca"},"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":"a917adc1cdb30e287c81e7ec5016f976b27ed652c917a3a77a08a7471e49c6e0"},"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":"a3c626d2c3aedc2b2a2751db1e5b6db112e7305da924c78a203e8116162a517f"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ecb8f4ad6773da83f1b523fe65dbced93308a9b38e94a5a243e7e6614b8b1003"},"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":"6d3f74522b346ed4faf6cf2c5544c2d841ce1947c8b38d09df18d61cf1b85071"},"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":"9d76e4899378029646a771759aa31b99e9bb4f6e12d2ababc9890e99ac087f6a"},"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":"4a6765f5ed3b169b672d75a8445b8a6418ba7f21139ebc729e47fc250060cad1"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"ce96762b7130b7fce3aafd515c3eb5b179d188f34408317bf723fa9bc1896ca4"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"7d8233b2d134bf50c66234cad562a0e73c1731380c8403ce6ad007ba9fb0cf83"},"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":"7d51bccb9a45e2685207964b62d694bb213c6f1a75976fc37c7af19f35dacc9f"},"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":"c8055cc05b09ac89c5c3606a4943cf1348bd36235fbf3219d314d8fca5590a64"},"taxa":[{"id":"CWE-269","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6911a1a8469d02ad2e7f4e5320ad7001a87a14fb496596be71379db68f5c43d7"},"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":"ff359b34e71819ba80649bd993e9a73e876c7023c1d1607eb25844d66e85525b"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4fbc6df3d72864219648f8a5e2a3fe4857d204776cc76785ab693bf45ade35c2"},"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":"89b833dfa41594672dcdbb814a7514fb43471e08d0e5028c7d56617d94606d8d"},"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":"47377aa8659f8aadcdd7c9ce0cea201eb0d99596c65fcff940d7ef089d615860"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"01c0f0c5c2ad1e6830697fa55e5775c3fee0a6175c2994b78f599f3e21462987"},"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":"630fbea5a9ea4adf369f892a6e61db3c9575576e3bbb4c10c2f6251150d1dc6d"},"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":"a9ecd0c8cbd418dca16158aa204668d3d37be28e7a1a3241b23f51dce6ff928b"},"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":"92767a3099b45d15d7c907170a3acfaf9cbf26291c077dd1d425486f995b1aca"},"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":"07d4fa15029102939f6fd4f3be6ab3d6889469435dd0b5b90898ecdf51d48ce9"},"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":"d2d68814332671e64429d37dd5cdbfe1d404ddc6ecea27b4daa94b95e7cb5d74"},"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":"eff2187e4a76cb5c742acf4ef47f97be67f3817ac1e1f1f5e891cb5aa10585fe"},"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":"c905cc285b6e0808cd24f85015edc384f15ecddab106d0771ce76687ffe849d0"},"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":"727be93b1ff5fa1d40ee39f31c134c4d185ed002f369cc9acc7d9ec84de83efe"},"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":"282ec85a979a749c36883dee7414066ac687d60317116e6afc121b33aa83e154"},"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":"b20cd60b8379fdaf97459483f88fa2fab3257f61b1c86d85a4863dfb1af99e6c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/gauge_chart/gauge_chart_painter.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3943ccc94d09ea5871176ec799538b426c7ec461d7f3aeee071da306de67f3fa"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 2 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: lib/src/chart/radar_chart/radar_chart_painter.dart, lib/src/chart/gauge_chart/gauge_chart_renderer.dart (3 orphaned of 48 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 48 of the 75 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/radar_chart/radar_chart_painter.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e5441a22792aa68dcf4f643e5092a245f0ebe67407e8a5f3c45797e0b259dc"}},{"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/gauge_chart/gauge_chart_renderer.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cdd00374fa20c9bdc3addfd7457f0df0c87075eb82ed625f7fcd793119962a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: bar_chart.dart, line_chart.dart, scatter_chart.dart: 3 files \u2014 \u0060lib/src/chart/bar_chart/bar_chart.dart\u0060, \u0060lib/src/chart/line_chart/line_chart.dart\u0060, \u0060lib/src/chart/scatter_chart/scatter_chart.dart\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/chart/bar_chart/bar_chart.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"888cc6fd1886eaec73f62de6ba8fc7d8755b83c0a75c1967563d171b3d7a592c"}},{"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":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","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":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"3e4777a987ad2c00aa3e6746f065e5e260543a1b7d21c960ee7ba141d77da58d"}},{"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":"5484ebc100852c82624b2f9d29d22b26290a1daeb6a0823c13bb92fe667a9888"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"cfcd82fdb168b13bb41affabdcb2cb35cf5ac7f10a66641c54fea8dc5b92503c"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"c3800dd09218b175d36edc753aed7300a1a76977f4e5a5f936946515773bd9ba"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"4a27156e6e4e25b0f37030d95ac10c8194b60b6ed08c50f4f4686435b0b794f8"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"2840eb872cbea102ca09446f978b570d0b5d28137f89f4380fa8ac727bb990fd"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","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":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add the Dart analyzer\u0027s security lints plus \u0060semgrep --config=auto\u0060 as a CI step. What was searched, so you can tell an absence from a miss: the 7 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/codecov.yml"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch npm/gradle/bundler: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060npm\u0060, \u0060gradle\u0060, \u0060bundler\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a466360ca25569deaf7e8b9bf6330c64624d6005d10564f38478a31344052c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!desiredTouch || touchResponse == null || touchResponse.touchedSpot == null\u0060 appears character-identically in 2 files \u2014 lib/src/chart/candlestick_chart/candlestick_chart.dart, lib/src/chart/scatter_chart/scatter_chart.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/chart/candlestick_chart/candlestick_chart.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ffadd19867418a3b83299c89d097c5fba0103cc2caa830994aaa294c6409a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060spot.xError == null \u0026\u0026 spot.yError == null\u0060 appears character-identically in 2 files \u2014 lib/src/chart/line_chart/line_chart_painter.dart, lib/src/chart/scatter_chart/scatter_chart_painter.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/chart/line_chart/line_chart_painter.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1bc501e8f617c89f827653932b60653143551084dc4735403ec4175571748f"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.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-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_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-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"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"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"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":57,"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."]}]}