{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"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":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"_SettingsState.lgSection (cyclomatic 25): _SettingsState.lgSection has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/homepages/settings_page.dart"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"6005b0ab6b843e6e19d20f24d0fc9f10ecf7793bc8063520db16a7e929f87e7a"}},{"ruleId":"D1","level":"warning","message":{"text":"_AppBarState.build (cyclomatic 18): _AppBarState.build has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/panels/app_bar.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7a6358b8d33ebf09f1b7d8d29fa279a91d9f304c5819c8e3019ed14b5cde84"}},{"ruleId":"D1","level":"warning","message":{"text":"LineChartParser.chartParser (cyclomatic 16): LineChartParser.chartParser has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This shape REPEATS in the file: one other method here (LineChartParser.chartParserForVisualizer) 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/pages/dashboard/widgets/charts/line_chart_parser.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6128232ef9cba77d4bf8300a34734e7d7407e5fa4b58fa58dca05e065db4ff58"}},{"ruleId":"D1","level":"warning","message":{"text":"LineChartParser.chartParserForVisualizer (cyclomatic 16): LineChartParser.chartParserForVisualizer has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This shape REPEATS in the file: one other method here (LineChartParser.chartParser) 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/pages/dashboard/widgets/charts/line_chart_parser.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a100e2338598d13329b1854021a31b4191786938ff8633ea78a3287c9e4c39"}},{"ruleId":"D2","level":"warning","message":{"text":"LineChartParser.chartParserWithDuplicate (cognitive 35): LineChartParser.chartParserWithDuplicate has cognitive complexity 35 (threshold 15). Drivers by points: loops 7 (18 pts), if/else 5 (9 pts), error handling 2 (8 pts) (nesting depth added 21). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/pages/dashboard/widgets/charts/line_chart_parser.dart holds 3 of the 12 methods over the threshold \u2014 including the worst \u2014 and 44 of the 79 points over it (56%), 2.4\u00D7 the next-largest file (lib/pages/homepages/settings_page.dart at 18). 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/pages/dashboard/widgets/charts/line_chart_parser.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a07cd919db6e81da07b231b68154ff978d2abdef2a6a292ba0000dc8bfdfa5e"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsState.lgSection (cognitive 32): _SettingsState.lgSection has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16, ternaries 16. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/homepages/settings_page.dart"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5367fa85746cc692b35816712b89040ceab9c2b0e1ea03e62f63026dbef0642"}},{"ruleId":"D2","level":"warning","message":{"text":"LineChartParser.chartParser (cognitive 27): LineChartParser.chartParser has cognitive complexity 27 (threshold 15). Drivers by points: loops 9 (12 pts), error handling 2 (6 pts), ternaries 2 (5 pts), if/else 3 (4 pts) (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. This shape REPEATS in the file: one other method here (LineChartParser.chartParserForVisualizer) 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/pages/dashboard/widgets/charts/line_chart_parser.dart holds 3 of the 12 methods over the threshold \u2014 including the worst \u2014 and 44 of the 79 points over it (56%), 2.4\u00D7 the next-largest file (lib/pages/homepages/settings_page.dart at 18). 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/pages/dashboard/widgets/charts/line_chart_parser.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1b15f2cc32d7138dbf234e08c0ac76ee3ef8e0e860c1599f1f14de154e382d"}},{"ruleId":"D2","level":"warning","message":{"text":"LineChartParser.chartParserForVisualizer (cognitive 27): LineChartParser.chartParserForVisualizer has cognitive complexity 27 (threshold 15). Drivers by points: loops 9 (12 pts), error handling 2 (6 pts), ternaries 2 (5 pts), if/else 3 (4 pts) (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. This shape REPEATS in the file: one other method here (LineChartParser.chartParser) 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/pages/dashboard/widgets/charts/line_chart_parser.dart holds 3 of the 12 methods over the threshold \u2014 including the worst \u2014 and 44 of the 79 points over it (56%), 2.4\u00D7 the next-largest file (lib/pages/homepages/settings_page.dart at 18). 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/pages/dashboard/widgets/charts/line_chart_parser.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23ac5fe2f7c3800580081b3b82ff489269d835a97de3a50a64fc23215cd7f56"}},{"ruleId":"D2","level":"warning","message":{"text":"_DashboardState.build (cognitive 21): _DashboardState.build has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (3 pts) (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/pages/dashboard/dashboard.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"03bafc818e2c5a9367c9b75545c3ec50d16ba3d85ba1465f4f5f7625ef9755d9"}},{"ruleId":"D2","level":"warning","message":{"text":"PieChartParser.chartParser (cognitive 18): PieChartParser.chartParser has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 4 (5 pts), ternaries 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard/widgets/charts/pie_chart_parser.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6226d9a985eb7ce8beaa2afc764ebdb06da61803a9c6e24f288e729afb5164c6"}},{"ruleId":"D2","level":"warning","message":{"text":"_AppBarState.build (cognitive 18): _AppBarState.build has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 15, if/else 2, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/panels/app_bar.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3520ae0ccd9c29d86e7b2d9dfb040a0e4b8b2bd36a9bbdcb3655b60457b37a2"}},{"ruleId":"D2","level":"warning","message":{"text":"PieChartParser.chartParserForVisualizer (cognitive 17): PieChartParser.chartParserForVisualizer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 4 (5 pts), ternaries 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard/widgets/charts/pie_chart_parser.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"55be12f168996f276014fd743ec2911dcbce3fa34e23844a9a15ec8e0c957d84"}},{"ruleId":"D2","level":"warning","message":{"text":"SSH.imageFileUpload (cognitive 16): SSH.imageFileUpload has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 1 (2 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/connections/ssh.dart"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f47a39d67d8b5dfdc2552bc574575d343290a642ae2896db2c9d1f231df905"}},{"ruleId":"D2","level":"warning","message":{"text":"_AboutTabRightState.build (cognitive 16): _AboutTabRightState.build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 2, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard/about_tab/right_panel.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a79cff6f87957c61464b51868b4d60c5acd36ce13029a10c181ec5a4c640b29"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsState.connectionSection (cognitive 16): _SettingsState.connectionSection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/homepages/settings_page.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"43df6cd31b207da148992e57eb404c0335cb300ba25c4b5777a365358428860d"}},{"ruleId":"D2","level":"warning","message":{"text":"_MainPageState.orbitPlay (cognitive 16): _MainPageState.orbitPlay has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/main_page.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"79562e36ff9c1f5e5c64129ee93367c2a26be5f1f310dbb71b3948061e3e1d91"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _TabPanelState.build: MethodTooLong \u2014 build runs 291 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 191 over it, 2.91\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/pages/panels/tab_panel.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"637e27f579f874cffa0191129ae0402f013f51228be81ac1ddffc71a48458114"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _VisualizerPageState.csvSection: MethodTooLong \u2014 csvSection runs 254 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 154 over it, 2.54\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/pages/homepages/visualizer_page.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21cdadc59be8bcc9718c5b109d5eec02d36debabc402839f6062149e094532c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsState.lgSection: MethodTooLong \u2014 lgSection runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.06\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/pages/homepages/settings_page.dart"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"14abfd31739b31ceef63d73e85bde9c137f9f1edc0973efb95d0a352cc049124"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CityCard.build: MethodTooLong \u2014 build runs 201 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 101 over it, 2.01\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/pages/homepages/home_page.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb395b767dbcd636a4a1a768cf6b135f2aa83d6f3fcffff85691838df80f6860"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AboutPageState.build: MethodTooLong \u2014 build runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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/pages/homepages/about_page.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a4f6afe2d41ffa1f3f1dbf45333cce5352bd83165174cb0bbe88df956da129"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DownloadableContent: ClassTooLong \u2014 692 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 292 over it, 1.73\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/data/downloadable_content.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd1dad87724fb82fb83b10f5feadc70cddc1eb0250a453aa8ff0937739e658f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _RightPanelState.build: MethodTooLong \u2014 build runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\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/pages/dashboard/widgets/google_map.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4822d09b6b98b0f13fc7f326ffe535afe1451a55a31fab36ac214dbae58352e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsState.connectionSection: MethodTooLong \u2014 connectionSection runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\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/pages/homepages/settings_page.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c72e208d21a283e68ff9652b567627abcba94b90e973ae857243345a538f8a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AppBarState.build: MethodTooLong \u2014 build runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/panels/app_bar.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f7c8e9f0c5ab5741a4937d8ecb6fb39c58e4105f241528f43a4aa30f55116f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SeattleTransportationTabLeftState.build: MethodTooLong \u2014 build runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\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/pages/dashboard/Seattle/transportation.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8171a538a93ac3e46b322a080125526e993443638a90ad9ff8ac825285d9e0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/downloadable_content.dart: FileTooLong \u2014 695 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: DownloadableContent (7-844). The bar is 500 significant lines; this is 195 over it, 1.39\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/data/downloadable_content.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e12a9478909e406dbe0a5660fb46027ba0730eef578e17ddb4454cf2d42372"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: homepages/visualizer_page.dart: FileTooLong \u2014 675 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: _VisualizerPageState (37-651). The bar is 500 significant lines; this is 175 over it, 1.35\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/pages/homepages/visualizer_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c6ae55a8712ef7f13f51e12467c35ead69844bffd45617a4adfff4ff1ac15f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DashboardState.build: MethodTooLong \u2014 build runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\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/pages/dashboard/dashboard.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c891edcfc93cb4e20fd3e3a9ffa407e4bbb8887b54fb4632fa67148b6382916b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: homepages/settings_page.dart: FileTooLong \u2014 656 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: _SettingsState (32-716). The bar is 500 significant lines; this is 156 over it, 1.31\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/pages/homepages/settings_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"176b513b2988a80e3b4a9ac1c0717c2a6a2a6eb5640d4ef26f1d192cb12ca13f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SettingsState: ClassTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 123 over it, 1.31\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/pages/homepages/settings_page.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"681394c54dd6788b8945dfd4d79a5d67294f029396ddbc59d3d4dae65b3e5e01"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AboutTabLeftState.build: MethodTooLong \u2014 build runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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/pages/dashboard/about_tab/left_panel.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f555bbbd6f084af0613e47f059cb688f2ff2326a3ea60640784f03119121a8e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LeftPanelState.today: MethodTooLong \u2014 today runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\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/pages/dashboard/weather_tab/left_panel.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b1bcb3babf3d5bddb83e7b9cb679b4bdf4dc34a3b21c5ae536014b134469ac"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _VisualizerPageState: ClassTooLong \u2014 469 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 69 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/homepages/visualizer_page.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"098a0a3897e7e3d2e9a4c98401add17ee845d32ebde81ad8bebbca39e25aacc5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AustinEnvironmentTabLeftState.build: MethodTooLong \u2014 build runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\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/pages/dashboard/austin/environment.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f419113cc9490c93ae1212afb3d74cc3ccf26ab28dd078c7adb96e98a783a7c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AustinTransportTabLeftState.build: MethodTooLong \u2014 build runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\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/pages/dashboard/austin/transport.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e429733feb043d8f7bcaf943fa6d474e143f8ef8eb85423a2632c0bc0bcbcaf5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _KmlDownloaderButtonState.build: MethodTooLong \u2014 build runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\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/pages/dashboard/widgets/kml_download_button.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c878d67b7e3522fc121bbcda513b7ca043a2cf2f2994f73f67afd3148635e12c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): lib/pages/dashboard/widgets/charts/pie_chart_parser.dart:16-70 | lib/pages/dashboard/widgets/charts/pie_chart_parser.dart:72-116 \u2014 These two members are one piece of code written twice and then edited apart: 41 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/pages/dashboard/widgets/charts/pie_chart_parser.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"188d23ae5992b0cd6474cf157ef0241c6d6a8c190395dcafeea666a7bf6706eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (18 members, 50\u002B identical tokens): lib/pages/dashboard/Seattle/education.dart:69-168 | lib/pages/dashboard/Seattle/finance.dart:82-192 | lib/pages/dashboard/Seattle/transportation.dart:93-274 | lib/pages/dashboard/about_tab/left_panel.dart:108-252 | lib/pages/dashboard/austin/environment.dart:87-214 | lib/pages/dashboard/austin/health.dart:80-170 | lib/pages/dashboard/austin/transport.dart:81-201 | lib/pages/dashboard/boulder/government.dart:82-151 | lib/pages/dashboard/boulder/health.dart:74-172 | lib/pages/dashboard/boulder/livable.dart:68-147 | lib/pages/dashboard/charlotte/misc.dart:63-116 | lib/pages/dashboard/charlotte/society.dart:58-103 | lib/pages/dashboard/chicago/ethics.dart:81-178 | lib/pages/dashboard/monterrey/environment.dart:75-130 | lib/pages/dashboard/new_york/education.dart:69-150 | lib/pages/dashboard/new_york/environment.dart:67-141 | lib/pages/dashboard/new_york/health.dart:74-180 | lib/pages/dashboard/toronto/government.dart:75-198 \u2014 These 18 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 18 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 18 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard/Seattle/education.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c777a8ebf8986e3aa0a37373fe320dc6beaf7de734b8b5ecde47ddf685c28da"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/pages/homepages/help_page.dart:23-83 | lib/pages/homepages/help_page.dart:85-124 | lib/pages/homepages/help_page.dart:126-175 | lib/pages/homepages/help_page.dart:177-259 | lib/pages/homepages/help_page.dart:261-341 \u2014 These 5 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 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/homepages/help_page.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"671011493e7d801c5dba39d206531e48b286da6589486700b24d5abd1649d21f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/pages/dashboard/austin/health.dart:32-72 | lib/pages/dashboard/austin/transport.dart:33-73 | lib/pages/dashboard/boulder/government.dart:34-74 | lib/pages/dashboard/chicago/ethics.dart:33-73 \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":"lib/pages/dashboard/austin/health.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ddff2016ae503f80cb36a0942597c00ff778ceb01327ae7202dd0c7c46acd59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (97 corresponding lines): lib/pages/dashboard/widgets/charts/line_chart_parser.dart:98-195 | lib/pages/dashboard/widgets/charts/line_chart_parser.dart:197-293 \u2014 These two members are one piece of code written twice and then edited apart: 97 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/pages/dashboard/widgets/charts/line_chart_parser.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8159a6fa9f671904b99d47b5bbc8fe4a1b0a8492d13a8bc4c2ee1e6daec1f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (113 corresponding lines): lib/pages/dashboard/weather_tab/left_panel.dart:61-204 | lib/pages/dashboard/weather_tab/left_panel.dart:206-318 \u2014 These two members are one piece of code written twice and then edited apart: 113 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/pages/dashboard/weather_tab/left_panel.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"94893bdaf1d27d04ae19b521a497d5015cac5bac2679aa3d188ea07410ca60e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): lib/pages/dashboard/widgets/charts/line_chart.dart:53-116 | lib/pages/dashboard/widgets/charts/line_chart.dart:295-357 \u2014 These two members are one piece of code written twice and then edited apart: 63 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/pages/dashboard/widgets/charts/line_chart.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e3d2bac6f75162756fdd58ee65e22449e4931cd55eaf707008944116af5253"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): lib/pages/homepages/settings_page.dart:797-830 | lib/pages/homepages/visualizer_page.dart:803-836 | lib/pages/homepages/visualizer_page.dart:849-887 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 34 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/pages/homepages/settings_page.dart"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb69ad9cf188a47fbfcf3b4f483d1593e0a39f36521fb2a3f0a24fbdfd296c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): lib/pages/panels/tab_button.dart:24-57 | lib/pages/panels/tab_button.dart:72-107 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/panels/tab_button.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c350dcca25beb742b7a900d6fa9536a10e968b83e44be22058d04868bd7c6da2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/pages/dashboard/widgets/charts/line_chart.dart:408-432 | lib/pages/dashboard/widgets/charts/pie_chart.dart:188-221 \u2014 These two members are one piece of code written twice and then edited apart: 25 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/pages/dashboard/widgets/charts/line_chart.dart"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"f568c15238ee76b07a8f798f29be145cc4c9495d6ec291954317452d523d3c43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/pages/dashboard/widgets/dashboard_container.dart:212-237 | lib/pages/dashboard/widgets/dashboard_container.dart:243-263 \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/pages/dashboard/widgets/dashboard_container.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd480ff99371effdcf19af8a6cc696d9fa1ba9c3c3e1dae4a1a66561d470eb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/pages/dashboard/widgets/charts/line_chart.dart:118-135 | lib/pages/dashboard/widgets/charts/line_chart.dart:359-376 \u2014 These two members are one piece of code written twice and then edited apart: 18 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/pages/dashboard/widgets/charts/line_chart.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"96286713d8dad0b7e4c9804272e50d0d822e666051f9784a5ee22ff3abacc7ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/connections/ssh.dart:197-213 | lib/connections/ssh.dart:231-256 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/connections/ssh.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"86319e30bc830fb666f46b003fcf210448392a6ffa34189f29485f258aabd73d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/connections/ssh.dart:297-316 | lib/connections/ssh.dart:318-333 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/connections/ssh.dart"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c9a87098fdee0840a2286a2989d3797483a9601ed236fb77f977e505008070"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/pages/homepages/help_page.dart:412-428 | lib/pages/homepages/settings_page.dart:840-859 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/homepages/help_page.dart"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d17b39a843f08bf5d668e3dabafcb8af331c452dbfbe1f908ad7d5a27d6f739"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): lib/pages/dashboard/dashboard.dart:36-47 | lib/pages/homepages/visualizer_page.dart:221-232 | lib/pages/main_page.dart:138-149 \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/pages/dashboard/dashboard.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2489fbc19228a9a0e735d1aaf8fc198c24946905b29a79fcd473c353c86e29de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): lib/connections/ssh.dart:335-344 | lib/connections/ssh.dart:346-355 | lib/connections/ssh.dart:357-366 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/connections/ssh.dart"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16373ceeb21f804c98294113a67ee20291f0c35e059e3cfe6a53aac1b64b5b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/pages/homepages/about_page.dart:25-31 | lib/pages/homepages/settings_page.dart:692-699 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/homepages/about_page.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06687aa22e59b4afef42881008a21b3d02f97ba4e4eb42b53dd2cb9c129c291"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): lib/pages/dashboard/widgets/charts/line_chart.dart:53-106 | lib/pages/dashboard/widgets/charts/line_chart.dart:295-348 \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/pages/dashboard/widgets/charts/line_chart.dart:53\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/pages/dashboard/widgets/charts/line_chart.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9a702b30563d6edc4f1b8ecd388ede837f5cafed4a6952e2926a7ef5e370c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48\u201350 lines \u00D7 2): lib/pages/homepages/home_page.dart:303-350 | lib/pages/homepages/home_page.dart:353-402 \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/pages/homepages/home_page.dart:353\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/homepages/home_page.dart"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e37f69b591978f0bddb3bff310fd2b2c88bba040ed3b917977fe86368456b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201346 lines \u00D7 2): lib/pages/dashboard/widgets/charts/pie_chart.dart:31-76 | lib/pages/dashboard/widgets/charts/pie_chart.dart:143-186 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard/widgets/charts/pie_chart.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efdf91cfc8787123fb0b8d58cf5a962ce9371e96c5fc016c36bf8e4d39febfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): lib/pages/homepages/home_page.dart:216-249 | lib/pages/homepages/home_page.dart:251-285 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/homepages/home_page.dart:216\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/homepages/home_page.dart"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"23536c58c65b38b1fa3c0e4451a396a69ef0f0e7d521f491800da93adcf3e720"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): lib/pages/dashboard/widgets/charts/line_chart_parser.dart:125-180 | lib/pages/dashboard/widgets/charts/line_chart_parser.dart:225-280 \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/pages/dashboard/widgets/charts/line_chart_parser.dart:125\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/pages/dashboard/widgets/charts/line_chart_parser.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca76b71283025737ee8b18f82eea56e027012cd9a46967cfc368b142a2254fd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): lib/pages/dashboard/widgets/charts/pie_chart_parser.dart:24-62 | lib/pages/dashboard/widgets/charts/pie_chart_parser.dart:73-111 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/pages/dashboard/widgets/charts/pie_chart_parser.dart:72\u0060 calls \u0060chartParserForVisualizer\u0060 and \u0060lib/pages/dashboard/widgets/charts/pie_chart_parser.dart:22\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/pages/dashboard/widgets/charts/pie_chart_parser.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca165677ca0b2f2b6eef486237e201c14131e1f2dd097945d904f416cffffc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): lib/pages/dashboard/widgets/charts/line_chart.dart:167-193 | lib/pages/dashboard/widgets/charts/pie_chart.dart:78-104 \u2014 before extracting anything, compare \u0060lib/pages/dashboard/widgets/charts/line_chart.dart\u0060 and \u0060lib/pages/dashboard/widgets/charts/pie_chart.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 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/pages/dashboard/widgets/charts/line_chart.dart:167\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":"lib/pages/dashboard/widgets/charts/line_chart.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0bc7adcf9bc1b29079c31b2b81f025d6590c70e58e854549207ab47758ddd53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): lib/pages/panels/tab_panel.dart:174-196 | lib/pages/panels/tab_panel.dart:232-255 \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/pages/panels/tab_panel.dart:174\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/pages/panels/tab_panel.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"793fffd26cd93bc2c7fffd33eb2ab73204a79b41d9d9cf3af44501978884b966"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/pages/homepages/help_page.dart:440-462 | lib/pages/homepages/visualizer_page.dart:662-684 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/homepages/help_page.dart"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fe167fc835236b64dcb0818a4734dc4be9b653434bc28477b601751c444f3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/pages/homepages/settings_page.dart:345-367 | lib/pages/homepages/settings_page.dart:523-545 \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/pages/homepages/settings_page.dart:345\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/pages/homepages/settings_page.dart"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"5348e4c2e8911b4fdc99d80aa4b472ac80e93f1244b240bee79abff5eb196ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/connections/ssh.dart:387-407 | lib/connections/ssh.dart:464-484 \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/connections/ssh.dart:387\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/connections/ssh.dart"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc41e51d6af22cbb21e98562ec2f4751a24481e013db02f7de52581a7a1966c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/pages/homepages/settings_page.dart:117-137 | lib/pages/homepages/settings_page.dart:592-612 \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/pages/homepages/settings_page.dart:117\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/homepages/settings_page.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7babcd5407dabb570244eb110addb1a21254fad0a0cd5254985cc839dd585f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/pages/homepages/visualizer_page.dart:235-255 | lib/pages/homepages/visualizer_page.dart:568-588 \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/pages/homepages/visualizer_page.dart:235\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":"lib/pages/homepages/visualizer_page.dart"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd5c45c93bcd8ad907ab60511a063eb37bd103bb4a565faf5f66952c77eec30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 12): lib/pages/dashboard/Seattle/education.dart:71-89 | lib/pages/dashboard/Seattle/transportation.dart:95-114 | lib/pages/dashboard/austin/environment.dart:89-106 | lib/pages/dashboard/austin/health.dart:82-99 | lib/pages/dashboard/austin/transport.dart:83-101 | lib/pages/dashboard/boulder/health.dart:76-94 | lib/pages/dashboard/boulder/livable.dart:70-88 | lib/pages/dashboard/charlotte/misc.dart:65-81 | lib/pages/dashboard/charlotte/society.dart:60-78 | lib/pages/dashboard/chicago/ethics.dart:83-101 | lib/pages/dashboard/new_york/education.dart:71-89 | lib/pages/dashboard/toronto/government.dart:77-95 \u2014 before extracting anything, compare \u0060lib/pages/dashboard/Seattle/education.dart\u0060 and \u0060lib/pages/dashboard/Seattle/transportation.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/dashboard/Seattle/education.dart:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/pages/dashboard/austin/health.dart:101\u0060 calls \u0060translate\u0060 and \u0060lib/pages/dashboard/austin/transport.dart:103\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/pages/dashboard/Seattle/education.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d082dd31745ddf9366057eac2d9db44dba57ff1f55da259c43cd3fb1c982812e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): lib/pages/panels/app_bar.dart:99-118 | lib/pages/panels/app_bar.dart:120-137 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/panels/app_bar.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d52e73428c41247c6c7aa7c84d4bb523ca198194892afa6eaa8b98e3bfd215"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/pages/dashboard/Seattle/transportation.dart:130-148 | lib/pages/dashboard/Seattle/transportation.dart:155-173 \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/pages/dashboard/Seattle/transportation.dart:130\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/pages/dashboard/Seattle/transportation.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c91919186c55a91f94bf61ed68876cdbf1ed19b14a2a45d11f15408f4765da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/pages/homepages/settings_page.dart:453-471 | lib/pages/homepages/settings_page.dart:502-520 \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/pages/homepages/settings_page.dart:453\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/homepages/settings_page.dart"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"446b2973cd101065e076783aa26df51164d61fd527912970b34c67bfdde87031"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/pages/homepages/settings_page.dart:548-566 | lib/pages/homepages/settings_page.dart:571-589 \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/pages/homepages/settings_page.dart:548\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/homepages/settings_page.dart"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3847ecd28ca58362de66b64da187d6fba8a2f1cb84d89634d51208305b12b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): lib/pages/dashboard/Seattle/finance.dart:84-100 | lib/pages/dashboard/boulder/government.dart:84-101 | lib/pages/dashboard/monterrey/environment.dart:77-94 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/dashboard/Seattle/finance.dart:84\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard/Seattle/finance.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"090ddb8f947c5799d17fd6a182d991a915246e0c586d56f450a84a2af64c4f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/pages/dashboard/widgets/charts/line_chart.dart:137-154 | lib/pages/dashboard/widgets/charts/line_chart.dart:378-395 \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. 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/pages/dashboard/widgets/charts/line_chart.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"264c12236dbaefc79e9e41775788c31cfd23be16433d5268dd9fa02b5429f19c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201317 lines \u00D7 6): lib/pages/dashboard/Seattle/education.dart:105-120 | lib/pages/dashboard/austin/environment.dart:162-175 | lib/pages/dashboard/boulder/livable.dart:123-135 | lib/pages/dashboard/charlotte/misc.dart:93-104 | lib/pages/dashboard/toronto/government.dart:130-145 | lib/pages/dashboard/toronto/government.dart:153-169 \u2014 before extracting anything, compare \u0060lib/pages/dashboard/Seattle/education.dart\u0060 and \u0060lib/pages/dashboard/austin/environment.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 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 \u0060lib/pages/dashboard/Seattle/education.dart:105\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard/Seattle/education.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d782fe9a8af281361965614353930be4a7774bfb40621b609a88b1397f837f44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): lib/pages/dashboard/Seattle/transportation.dart:108-124 | lib/pages/dashboard/Seattle/transportation.dart:133-149 | lib/pages/dashboard/Seattle/transportation.dart:158-174 \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/pages/dashboard/Seattle/transportation.dart:108\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/pages/dashboard/Seattle/transportation.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e52987befb6b06362cba4a76f32f35e13a09a4d3740d6a407b4ba0016912b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/pages/dashboard/weather_tab/left_panel.dart:63-79 | lib/pages/dashboard/weather_tab/left_panel.dart:211-227 \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/pages/dashboard/weather_tab/left_panel.dart:63\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/pages/dashboard/weather_tab/left_panel.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1643a41eafd3bea4bd2736f65bab375acf12b98bfe6ab47cd80906bab3b49c2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/pages/dashboard/widgets/dashboard_container.dart:41-57 | lib/pages/dashboard/widgets/dashboard_container.dart:147-163 \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/pages/dashboard/widgets/dashboard_container.dart:41\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":"lib/pages/dashboard/widgets/dashboard_container.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff35395f7b0ddc40eb1f5f807ae15cc25598348e8bf4c3c06370caf010b1892e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): lib/pages/homepages/settings_page.dart:116-131 | lib/pages/homepages/settings_page.dart:344-359 | lib/pages/homepages/settings_page.dart:522-537 | lib/pages/homepages/settings_page.dart:591-606 \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 \u0060lib/pages/homepages/settings_page.dart:116\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/pages/homepages/settings_page.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8495e42a7dd9201cc1b12a9677c9c573100a34275d23c346810cba104aa799f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/models/forecast_weather.dart:113-128 | lib/models/forecast_weather.dart:457-472 \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/models/forecast_weather.dart:113\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/models/forecast_weather.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"901dea4d8bd115bd30c86671bc9d71ee2111a1c96debafd6297a42cdcf655ddb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/pages/dashboard/new_york/environment.dart:69-84 | lib/pages/dashboard/new_york/health.dart:76-91 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/dashboard/new_york/environment.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard/new_york/environment.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"44117b2510a1ad9def2aba81f5f45a7fd9dcf5eed3b8011fa52f0559108fe8e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): lib/pages/dashboard/widgets/charts/line_chart.dart:408-422 | lib/pages/dashboard/widgets/charts/pie_chart.dart:188-203 \u2014 before extracting anything, compare \u0060lib/pages/dashboard/widgets/charts/line_chart.dart\u0060 and \u0060lib/pages/dashboard/widgets/charts/pie_chart.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 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/pages/dashboard/widgets/charts/line_chart.dart:408\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/pages/dashboard/widgets/charts/pie_chart.dart:204\u0060 calls \u0060ClipRRect\u0060 and \u0060lib/pages/dashboard/widgets/charts/line_chart.dart:423\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/pages/dashboard/widgets/charts/line_chart.dart"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"93085b45a5257f32762bb6d097375d6da9db434eacc159a4ea4756525cc6b30c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/pages/dashboard/widgets/charts/line_chart_parser.dart:101-116 | lib/pages/dashboard/widgets/charts/line_chart_parser.dart:201-216 \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/pages/dashboard/widgets/charts/line_chart_parser.dart:101\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/pages/dashboard/widgets/charts/line_chart_parser.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a045736da8b92327e2499f907e3d762dd130ca202e2dc851cfdf52f4eae8e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 18): lib/pages/dashboard/Seattle/education.dart:69-83 | lib/pages/dashboard/Seattle/finance.dart:82-96 | lib/pages/dashboard/Seattle/transportation.dart:93-107 | lib/pages/dashboard/about_tab/left_panel.dart:108-122 | lib/pages/dashboard/austin/environment.dart:87-101 | lib/pages/dashboard/austin/health.dart:80-94 | lib/pages/dashboard/austin/transport.dart:81-95 | lib/pages/dashboard/boulder/government.dart:82-96 | lib/pages/dashboard/boulder/health.dart:74-88 | lib/pages/dashboard/boulder/livable.dart:68-82 | lib/pages/dashboard/charlotte/misc.dart:63-77 | lib/pages/dashboard/charlotte/society.dart:58-72 | lib/pages/dashboard/chicago/ethics.dart:81-95 | lib/pages/dashboard/monterrey/environment.dart:75-89 | lib/pages/dashboard/new_york/education.dart:69-83 | lib/pages/dashboard/new_york/environment.dart:67-81 | lib/pages/dashboard/new_york/health.dart:74-88 | lib/pages/dashboard/toronto/government.dart:75-89 \u2014 before extracting anything, compare \u0060lib/pages/dashboard/Seattle/education.dart\u0060 and \u0060lib/pages/dashboard/Seattle/transportation.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/dashboard/Seattle/education.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/pages/dashboard/Seattle/transportation.dart:109\u0060 calls \u0060translate\u0060 and \u0060lib/pages/dashboard/boulder/health.dart:90\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/pages/dashboard/Seattle/education.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc37e8bd82f2f4aa43985f24c624f73575068e20efb2222423773bc134adc15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): lib/pages/dashboard/Seattle/education.dart:104-118 | lib/pages/dashboard/Seattle/transportation.dart:130-145 | lib/pages/dashboard/Seattle/transportation.dart:155-170 | lib/pages/dashboard/Seattle/transportation.dart:222-237 | lib/pages/dashboard/toronto/government.dart:129-143 | lib/pages/dashboard/toronto/government.dart:152-167 \u2014 before extracting anything, compare \u0060lib/pages/dashboard/Seattle/education.dart\u0060 and \u0060lib/pages/dashboard/Seattle/transportation.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/dashboard/Seattle/education.dart:104\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/pages/dashboard/Seattle/education.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"76643dba476725ec429e01fa8336c4d1c30c6c35ad630e9d5e39e5f8bba10ff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): lib/pages/dashboard/Seattle/transportation.dart:180-196 | lib/pages/dashboard/Seattle/transportation.dart:201-217 | lib/pages/dashboard/Seattle/transportation.dart:247-261 | lib/pages/dashboard/toronto/government.dart:108-123 \u2014 before extracting anything, compare \u0060lib/pages/dashboard/Seattle/transportation.dart\u0060 and \u0060lib/pages/dashboard/toronto/government.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 84 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 \u0060lib/pages/dashboard/Seattle/transportation.dart:180\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/pages/dashboard/Seattle/transportation.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b81ce0fb8ec94b67b68ace075b771c1f9a04203abaca0c736201b561ae37154"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): lib/connections/ssh.dart:41-55 | lib/connections/ssh.dart:84-97 | lib/connections/ssh.dart:127-141 \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/connections/ssh.dart:41\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/connections/ssh.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2c2590a6539055feb3c38433514742c7a2c321991d44144afd6c14d1f188e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201315 lines \u00D7 4): lib/pages/dashboard/austin/transport.dart:107-121 | lib/pages/dashboard/austin/transport.dart:126-140 | lib/pages/dashboard/austin/transport.dart:145-159 | lib/pages/dashboard/austin/transport.dart:163-171 \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 \u0060lib/pages/dashboard/austin/transport.dart:107\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard/austin/transport.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1240761ee73c58dfee5f22ce54152ef764519f718fa9475ddad935f359ee8140"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/models/forecast_weather.dart:88-102 | lib/models/forecast_weather.dart:422-436 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/forecast_weather.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc53c7a40912a31a04b6370f6987ed3183b73c262a263a4149bd2e7b435337d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/pages/dashboard/Seattle/education.dart:84-98 | lib/pages/dashboard/Seattle/education.dart:107-121 \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/pages/dashboard/Seattle/education.dart:84\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/pages/dashboard/Seattle/education.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fe912c7141bc6ff68036f69dbef4830ac9c2dc0e2bba772bd240777e2cbcf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lib/pages/dashboard/about_tab/right_panel.dart:97-110 | lib/pages/dashboard/about_tab/right_panel.dart:141-155 \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/pages/dashboard/about_tab/right_panel.dart:97\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note 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/pages/dashboard/about_tab/right_panel.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe23a5b6b13eb5e90406e29c5ec92f79824fbd84915c3ed30e50f4119f19c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lib/pages/dashboard/widgets/charts/pie_chart.dart:105-119 | lib/pages/dashboard/widgets/charts/pie_chart.dart:205-218 \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/pages/dashboard/widgets/charts/pie_chart.dart:205\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard/widgets/charts/pie_chart.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7281cb87f5d1f994af8dcaabedb60f2661e2b6ab94d1cd347ae0ec571938a01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lib/pages/homepages/settings_page.dart:811-824 | lib/pages/homepages/visualizer_page.dart:817-830 | lib/pages/homepages/visualizer_page.dart:860-873 \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 \u0060lib/pages/homepages/settings_page.dart:811\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/homepages/settings_page.dart"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"7339a4c5597d88b817537e7078788ee581a45aa9c8f977ae9c1c584a7aa8799a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/pages/dashboard/about_tab/right_panel.dart:82-95 | lib/pages/dashboard/about_tab/right_panel.dart:126-139 \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/pages/dashboard/about_tab/right_panel.dart:82\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/pages/dashboard/about_tab/right_panel.dart:80\u0060 calls \u0060showSnackBar\u0060, \u0060toString\u0060 and \u0060lib/pages/dashboard/about_tab/right_panel.dart:125\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/pages/dashboard/about_tab/right_panel.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4f0bcdc1161b752d1674ea88e451e34f1946b67cffdb4b2ea16ebb17bfb77f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/pages/homepages/visualizer_page.dart:396-409 | lib/pages/homepages/visualizer_page.dart:485-498 \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/pages/homepages/visualizer_page.dart:396\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/pages/homepages/visualizer_page.dart"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"5416209a76902b03ade6d704c0514f08c7f49dd28f27a7f83774aa359924b971"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): lib/pages/homepages/help_page.dart:88-100 | lib/pages/homepages/help_page.dart:129-141 | lib/pages/homepages/help_page.dart:180-192 \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/pages/homepages/help_page.dart:88\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":"lib/pages/homepages/help_page.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"250518fb7855066cb894af42b93cfa96ddaae590ef4c72c149343e27737770e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): lib/pages/panels/tab_panel.dart:144-156 | lib/pages/panels/tab_panel.dart:174-186 | lib/pages/panels/tab_panel.dart:232-244 \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/pages/panels/tab_panel.dart:144\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/pages/panels/tab_panel.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd0da1a49e2679b3afb3216c59794e792360d5db44c25475374722363455386"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/connections/ssh.dart:449-461 | lib/connections/ssh.dart:488-500 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/connections/ssh.dart"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc435e763fd8232e13eee65e8b1724f650435fd48d03fcbe148596bb6d8d14eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/pages/dashboard/Seattle/finance.dart:129-141 | lib/pages/dashboard/Seattle/transportation.dart:223-238 \u2014 before extracting anything, compare \u0060lib/pages/dashboard/Seattle/finance.dart\u0060 and \u0060lib/pages/dashboard/Seattle/transportation.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 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/pages/dashboard/Seattle/finance.dart:129\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/pages/dashboard/Seattle/finance.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbbb5248921b473545c1ce44c109cb20f6e3e50ee304a95fc79e8ffa6dc734a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/pages/dashboard/about_tab/left_panel.dart:43-55 | lib/pages/dashboard/widgets/load_balloon.dart:32-44 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard/about_tab/left_panel.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c7e5c16459d20dd0698ede47442e22970126dae6bf6d6c0a008205a0c4d06a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/pages/dashboard/widgets/dashboard_container.dart:225-237 | lib/pages/dashboard/widgets/dashboard_container.dart:252-263 \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/pages/dashboard/widgets/dashboard_container.dart:225\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard/widgets/dashboard_container.dart"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf7d0a6233a2fdef7cad511317e394e3ecf1236ed273a3188f2218a17e30429"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/pages/homepages/help_page.dart:417-428 | lib/pages/homepages/settings_page.dart:847-859 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/homepages/help_page.dart:417\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/homepages/help_page.dart"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"020a973786bfc88f039227e39e35ad75aec0739eac8d08d4f4dbe88abba32a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/pages/panels/tab_panel.dart:349-361 | lib/pages/panels/tab_panel.dart:387-399 \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/pages/panels/tab_panel.dart:349\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/pages/panels/tab_panel.dart"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54de5ef50834d49165bd41dbd3949202498dd0e614552f203081490134eefe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): lib/pages/dashboard/Seattle/education.dart:104-118 | lib/pages/dashboard/Seattle/finance.dart:129-140 | lib/pages/dashboard/Seattle/transportation.dart:222-237 | lib/pages/dashboard/toronto/government.dart:129-143 | lib/pages/dashboard/toronto/government.dart:152-167 \u2014 before extracting anything, compare \u0060lib/pages/dashboard/Seattle/education.dart\u0060 and \u0060lib/pages/dashboard/Seattle/transportation.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/dashboard/Seattle/education.dart:104\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/pages/dashboard/Seattle/education.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2702b771f3269639c047ee155d094c81d45ba9748dd63243c2301315491e8226"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): lib/pages/homepages/help_page.dart:24-35 | lib/pages/homepages/help_page.dart:86-97 | lib/pages/homepages/help_page.dart:127-138 | lib/pages/homepages/help_page.dart:178-189 | lib/pages/homepages/help_page.dart:262-273 \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 \u0060lib/pages/homepages/help_page.dart:24\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/pages/homepages/help_page.dart:190\u0060 calls \u0060Expanded\u0060, \u0060Text\u0060, \u0060translate\u0060 and \u0060lib/pages/homepages/help_page.dart:36\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/pages/homepages/help_page.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d090f3347c3b17b304e04e0325a9004d4f598e391b32b0bef7e61e56d6204d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 4): lib/pages/dashboard/austin/environment.dart:141-153 | lib/pages/dashboard/austin/environment.dart:161-173 | lib/pages/dashboard/austin/environment.dart:179-188 | lib/pages/dashboard/boulder/livable.dart:122-133 \u2014 before extracting anything, compare \u0060lib/pages/dashboard/austin/environment.dart\u0060 and \u0060lib/pages/dashboard/boulder/livable.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 65 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 \u0060lib/pages/dashboard/austin/environment.dart:141\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard/austin/environment.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"8471935fdcf6d9adab52ec889120a3ec6aa2c163216144bee444a675f285000e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): lib/pages/dashboard/boulder/health.dart:103-114 | lib/pages/dashboard/boulder/health.dart:118-129 | lib/pages/dashboard/boulder/health.dart:132-143 | lib/pages/dashboard/boulder/health.dart:149-161 \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 \u0060lib/pages/dashboard/boulder/health.dart:103\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard/boulder/health.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"660472864496fac9ae0ba67d96f9d527a25cb963d363b788e2f4cd08f15a096c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/pages/dashboard/widgets/google_map.dart:262-273 | lib/pages/homepages/visualizer_page.dart:303-314 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/pages/dashboard/widgets/google_map.dart:262\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/pages/dashboard/widgets/google_map.dart"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7ecf68783a335f6aee929d1d5b6fee8cdc879272afd614698c71df5d12def8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/pages/dashboard/widgets/google_map.dart:269-280 | lib/pages/dashboard/widgets/google_map.dart:288-299 \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/pages/dashboard/widgets/google_map.dart:269\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/pages/dashboard/widgets/google_map.dart"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6cbaee714c8e9fba9e67b2638ff150cd2b231f535e9f9f0589d5d12b93df94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): lib/pages/homepages/help_page.dart:204-214 | lib/pages/homepages/help_page.dart:226-236 | lib/pages/homepages/help_page.dart:277-287 | lib/pages/homepages/help_page.dart:299-309 | lib/pages/homepages/help_page.dart:321-331 \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 \u0060lib/pages/homepages/help_page.dart:204\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/pages/homepages/help_page.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cf903e3a7be677dc3ad7f99a7608aede069194969c69ea240620770c141307"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): lib/pages/dashboard/widgets/charts/line_chart.dart:411-420 | lib/pages/dashboard/widgets/charts/pie_chart.dart:191-201 | lib/pages/dashboard/widgets/dashboard_container.dart:246-255 \u2014 before extracting anything, compare \u0060lib/pages/dashboard/widgets/charts/line_chart.dart\u0060 and \u0060lib/pages/dashboard/widgets/charts/pie_chart.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 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/pages/dashboard/widgets/charts/line_chart.dart:411\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/pages/dashboard/widgets/charts/pie_chart.dart:204\u0060 calls \u0060ClipRRect\u0060 and \u0060lib/pages/dashboard/widgets/charts/line_chart.dart:423\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/pages/dashboard/widgets/charts/line_chart.dart"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da6e1ed761a6e16381c2d875ebc25a7baa4bba14287de3dc53a1c1f33bac498"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/pages/dashboard/about_tab/right_panel.dart:50-60 | lib/pages/dashboard/about_tab/right_panel.dart:65-75 \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/pages/dashboard/about_tab/right_panel.dart:50\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard/about_tab/right_panel.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"88647b03f687744b53964edd0da82217e29c7814795821cd0a8ba8948d7da2c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/connections/ssh.dart:259-268 | lib/connections/ssh.dart:271-280 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/connections/ssh.dart"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcadeadc5f0ed6b752e0926d130132d41968c28729d95bab357008ace9ff80c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/pages/dashboard/widgets/charts/line_chart.dart:118-126 | lib/pages/dashboard/widgets/charts/line_chart.dart:359-367 \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/pages/dashboard/widgets/charts/line_chart.dart:118\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/pages/dashboard/widgets/charts/line_chart.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"32140381d51c7b2845a15ba65fff2f5d7ac0834587c2e91f7706ee63928c6062"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/connections/ssh.dart:198-205 | lib/connections/ssh.dart:216-223 \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/connections/ssh.dart:198\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/connections/ssh.dart:206\u0060 calls \u0060read\u0060, \u0060run\u0060 and \u0060lib/connections/ssh.dart:224\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":"lib/connections/ssh.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09e454e660f8f19139563e902fa87205459a0748282a203c213ffe01f1c90e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/connections/ssh.dart:29-35 | lib/connections/ssh.dart:74-80 \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/connections/ssh.dart:29\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/connections/ssh.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"64eb79420aff8810b4e0e6e895667fd5a119d042a9c8af022887ee6a4921900b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/connections/ssh.dart:207-213 | lib/connections/ssh.dart:223-229 \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/connections/ssh.dart:207\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/connections/ssh.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"0251bbbf7b98996d13545413247b81ff44b8308594967ad9d2664fb6163f13b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3): lib/pages/dashboard/Seattle/education.dart:31-61 | lib/pages/dashboard/boulder/livable.dart:30-60 | lib/pages/dashboard/new_york/education.dart:31-61 \u2014 before extracting anything, compare \u0060lib/pages/dashboard/Seattle/education.dart\u0060 and \u0060lib/pages/dashboard/boulder/livable.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 83 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard/Seattle/education.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4791eb23ae1e5b9d56e901f3a5d581b6b0f8592b734f1cbcb8f6476814ecdbe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 4): lib/pages/dashboard/austin/health.dart:32-72 | lib/pages/dashboard/austin/transport.dart:33-73 | lib/pages/dashboard/boulder/government.dart:34-74 | lib/pages/dashboard/chicago/ethics.dart:33-73 \u2014 before extracting anything, compare \u0060lib/pages/dashboard/austin/health.dart\u0060 and \u0060lib/pages/dashboard/austin/transport.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 76 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/pages/dashboard/austin/health.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"459e7a8745235600465c207464d379d5af62bea5dbe8e53458198b54d7f0d12a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 3): lib/pages/dashboard/boulder/health.dart:31-66 | lib/pages/dashboard/monterrey/environment.dart:32-67 | lib/pages/dashboard/toronto/government.dart:32-67 \u2014 before extracting anything, compare \u0060lib/pages/dashboard/boulder/health.dart\u0060 and \u0060lib/pages/dashboard/toronto/government.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 71 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard/boulder/health.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"554d43dc7413c90c65a3a0cb97b43fdcee8e786fa226822225c35ceab25c106d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/pages/dashboard/charlotte/misc.dart:30-55 | lib/pages/dashboard/new_york/environment.dart:34-59 \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/pages/dashboard/charlotte/misc.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b875ba0f68102ba8a006a5625dc0f7801828bc2f579c40c32083d23c7489f1fe"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (the \u0060test\u0060 package (\u0060dart test\u0060 / \u0060flutter test\u0060)), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D13","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":"b7bb6ce1e17ab297d829e527187fbb61e3889cdbbde331268d1c22b8b9e19684"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"df492961bb01f45cd789d86ea5f6e9cc5acc307d16a4b7d621ecee6edfd9b5f3"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D16","level":"warning","message":{"text":"bus factor 1 \u2014 one contributor carries this repository: 2 contributor(s) have commits in this repository (automation and bot accounts excluded), but the commits of a single one of them cover most of its history \u2014 85% of the 243 commit(s) sampled \u2014 so the number of people who actually carry it is 1. This is not the ambient state of a solo project: there ARE other contributors, and if the one who carries the repository becomes unavailable, the knowledge behind most of its history goes with them. Spread the next changes deliberately \u2014 have a second contributor review or pair on them \u2014 and write down the parts only one person can currently change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a99f114ab4dfee37ae0bf0665b44c7468d85b809d361949e2b6258101fa1e5a2"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060lib/main.dart\u0060 makes this repository a deployable product (line 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8716bba673c3075887c415d08f1c9dd48ba3b1fdb124bf3e079c529efec988ec"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (12959 LoC, 98 module-visible types across 25 directories) overshoots its size bounds. 1 of 3 build unit(s) (Gradle, Xcode, pub) overshoot their size bounds, lowering Project Cohesion to 3.3/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pubspec.yaml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9fee3010c053c10733ebad6b156234032ce361c46f8c03bb63f2bdc3c8adbd"}},{"ruleId":"D28","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":"c635885db5f94815ee11a5282772b5858e988af95436159ff0f7903e3f44ec4f"},"properties":{"commitSha":"43375da97f641605e75f1285cd97108118d22220"}},{"ruleId":"D28","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":"59bb7c9bc187e6f580a818bedcb2c8e1cf397a8940e8fddb3fe2ab08740f1850"},"properties":{"commitSha":"f864acfc9371a4b69f6b3e5de0e69adec4014b9e"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D30","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":"b4aa02d3e7346579a5faa9ef5462a3aeadca6b38b91f7df6450b1ac8fe6efce1"},"properties":{"dependency":{"package":"archive","version":"3.3.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.3.8","reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 52 of 52 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 52 separate risks. Counted over 52 of the 74 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/homepages/settings_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26b46e4f9b4de246c76b66e726f42423e0af145a04657755a51f7d1c6d214a5"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/homepages/visualizer_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90309c53df52b68376f303eb61a17328e6ac6cfb5aee1e96560a03026e77ceec"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/connections/ssh.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea670032580b312acde389196cfede9f0f39aa41e8c4891ab95848fde0f02425"}},{"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/data/downloadable_content.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bc56a9432fd1aa6328ff343f221c3807dd766a2bf51fbc0c6b9ca41683ccdb"}},{"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/pages/panels/tab_panel.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efe93a361c4ff3300c069355db50c5137e46e3807511227b063249c454b65f7"}},{"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/pages/homepages/home_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ca3921bdba80cd6a93151dddfc6b32c47b59e349774c59a0332155a8345562"}},{"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/models/forecast_weather.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d610ffd2c6e93a2f6330d60e704f6fcc840d1712cc7593846d5dfcbebec3b5c0"}},{"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/pages/dashboard/widgets/charts/line_chart.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b902fda86de84b572b8e8ad102d84118e968fb59b64246bccdbe2e3cb4ce43"}},{"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/pages/homepages/help_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f023ea9ed44db88a40bb77494ef46cd089e9edaad2e774fe6dfec5defe956a3"}},{"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/data/city_data.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54dff5da1d73dca4320c7e1fb6461338f28f045165e2bd9f24355de2c523df3"}},{"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/pages/dashboard/widgets/google_map.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d1180340a5edfb033caf48a135d058eb667752e0a2d2c859cbf5d12a656dce"}},{"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/pages/dashboard/weather_tab/left_panel.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c53198ca65ad6d41831d8c28354db79b473803157276c2aefdeabd0186bea6"}},{"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/pages/homepages/about_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccbf691e1465626a0abcbf74853121e223d8e4d2ce1630bdc3c0e40e7f5849b"}},{"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/pages/panels/app_bar.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3105ea1c2e3178d80c1f889aef30e5878bfd0f83b0addf7421f52e6c06c6bbc"}},{"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/pages/dashboard/Seattle/transportation.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1f37af8b87041800158d7ae1e5026a479573caad19c8d158ae69918f65c53f"}},{"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/pages/dashboard/about_tab/left_panel.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fd883a6cc67bf95cc3250f00d176bc924003d22744baa88f16745a719e23b9"}},{"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/pages/dashboard/dashboard.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d5d2e16e01bbf3cbc09ab9f71902e3e27f2e46e2f726be7230fa2b0147f723"}},{"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/pages/dashboard/widgets/charts/line_chart_parser.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a32773353bd8939dd79d8117a62027a2a75178463772c63efa3f1b7f0248e61"}},{"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/pages/dashboard/widgets/dashboard_container.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02eea3c2694c8a5b862e1e3d834f976403c4f6c82e711a1a69e68c2f081bd33"}},{"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/pages/dashboard/widgets/charts/pie_chart.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb00b1d62936eb2c479aad413d17694c1d08683f59d45f136ed4071bf07950df"}},{"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/pages/main_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aeffc614a273a26ba831544ef0884f390636d3dbd6c97866b3fb43f21002d5f"}},{"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/pages/dashboard/austin/environment.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8e31cb08a99717c35314c906bd590f429da93ebb37d5dd1f2b1d45cb1ce8d4"}},{"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/pages/dashboard/austin/transport.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e13df3009b4b47a418e97242cd2f6bfff1e63bb7217eb5c7de5b90a4581021"}},{"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/pages/dashboard/toronto/government.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fb4bc3d123ee91e138a3f51bed1a919695efdfa482a2b6235d34be88f23d52"}},{"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/pages/dashboard/Seattle/finance.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4630af198c065eff90a755dd9a92818f22a21c758d3639b4ea1008877cc1f1cd"}},{"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/pages/dashboard/new_york/health.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e50a92dc0722fc75a9375af93dd6e3d35af8b5c48e38c699d2c996e29b7464"}},{"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/pages/dashboard/boulder/health.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c32c149e2a70c08220ace3e1069ddb0c505bca26b59d7e4bb0dda435d6dfb7d"}},{"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/pages/dashboard/austin/health.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6118e99471da182a910b9294feed8b63f6b150d1bf7160bdf9557371a11afeab"}},{"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/pages/dashboard/chicago/ethics.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8d6c24d84d1ae009d251e92cadc2bf4b2b483f6e69ef762b8d72a276b98ef5"}},{"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/pages/dashboard/weather_tab/right_panel.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c75dd3cd80f0e78243ef461da7ee73a8eef1adbf70c97eed229eaaf729507c9"}},{"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/pages/dashboard/Seattle/education.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d6b238d236dbe3afc7b8436c493bd893017a1e66cce5efe7cbb5cf6fe69d03"}},{"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/pages/dashboard/widgets/kml_download_button.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b57891e5a86fd2873450ab05d5eda99653b9e70ca2710ab2d5eddee58dd4e03"}},{"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/pages/dashboard/new_york/education.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca0b6a5f945e0e96896adb3672b04e46c932dda80770744c2dc58dffc15f565"}},{"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/pages/dashboard/boulder/government.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56417e641c319bb51ae2349042e7f6ec61b99dcad04ff02a2b41730270931214"}},{"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/pages/dashboard/about_tab/right_panel.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7cb9e0b7fc2fecc2ca7768e8e9bc0d547edd3db8ae2bd0ba80d63067764b83"}},{"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/pages/dashboard/boulder/livable.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"778f6c97bc26ea77d81c67bc136266502299970a5becb406b8bc9e6166815316"}},{"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/pages/dashboard/new_york/environment.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e3207773e68c3df33d6f55f4e4644d61abcbc7eac039a42b6367c0ae0d529f"}},{"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/constants/images.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c213397b1d8d163f7ea06f38c98329296d50beafac06ac742252beed4abd02"}},{"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/kml_makers/balloon_makers.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a904fa725d72d60d0250ed7e538c6b3530b0a8d2fdf716f9979d747079598675"}},{"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/pages/dashboard/monterrey/environment.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f135c6dda08bcd308261dc7461b7a728edda5e1960ef61377199cbe87e4d59"}},{"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/pages/dashboard/charlotte/misc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a1ced6f1c8d34f1f69fd0cd07159cba3ebbef134ab5a51386632798a1944e3"}},{"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/pages/dashboard/widgets/dashboard_right_panel.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9496f1f98a551f2601968e3b13d130358a31648da4d632d6ddc7060fcd03697c"}},{"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/pages/dashboard/charlotte/society.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9c7a56c6c4d9956b26383dd9099ae05cd074c73616351f871c5c23044667b7"}},{"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/kml_makers/kml_makers.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7ed885577eca15547f573e157be4555681b3fb91e450a47be2fa881b909deb"}},{"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/main.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7640bdf659bc2ebf7ab791fe9de8b4a3b244b3456b58da3fb45dc1cf30f2c6b"}},{"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/pages/panels/tab_button.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d15d96db13869cfc2a9325de036011125d87608cfcc17a96bc7a58c177a5a66"}},{"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/pages/dashboard/widgets/charts/pie_chart_parser.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff163fe62536d08fda3990d733fc8b7d6716d527dfdda1b1902cf1d43f95d254"}},{"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/pages/dashboard/widgets/load_balloon.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c57cbaf14ae29e9a2e0bdff47d0a330159091f42282948f4e1ad34b2be7440f"}},{"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":"android/app/build.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc8f9fc6d706f9b5cb5624cb38062db14b5d8c113a932fd1351aa2e6b488583"}},{"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/pages/splash_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6918343dc6f825d675e7e0b14f44ca45d51e85832d101c8c4e6194af6b5455"}},{"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/utils/helper.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6f78247fed369203507477b4ac96738ffe2025a2f4c9483356ba5846f6045b"}},{"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/utils/logo_shower.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1174da95ae265e52f0e3e90383cc6f664741adb0d950e91b4749d13c297982"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"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 \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060android/app/build.gradle\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/build.gradle"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad662af1302d0b0cd9c8eb340e0467f381e386c855803db76d90d42612ff59e6"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060makeImageFile\u0060 is async and calls writeAsBytesSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/connections/ssh.dart"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4bb635c2845a458be7c1b664b6735749c0e9b5af45f62fe6d561236a8cd140"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/csv_parser.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b88c817ba380f0607ff5305f47a630e02e22362927a2367cc2c671cd07ee7b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/homepages/settings_page.dart"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c79b55bc7bdb609899c01a71bacb6899f8b91061205dd17980c92aec8b2f330"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pages/dashboard/widgets/charts/line_chart_parser.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ee007d78306fe82ada98b2fe08c64ac7dd1364ed2cabf375210a27c561a9c3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/connections/ssh.dart"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b80c53cf61c414c2ec5b87d73feca05508aee1e43cb7515d707a5f9f94b84f8"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override null safety: ~18.2 \u0060!\u0060 null assertions per 1k Dart product lines \u2014 249 across the 13683 line(s) of the 69 Dart file(s) read (generated, test and example code not counted; a file opted out with a \u0060// @dart=\u0060 comment below 2.12 counts once). Densest: lib/pages/dashboard/Seattle/transportation.dart (16), lib/pages/dashboard/austin/environment.dart (14), lib/pages/dashboard/new_york/health.dart (13). Each one tells the analyzer to trust the author about null and becomes a \u0060Null check operator used on a null value\u0060 the first time the author is wrong. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"739a6ba910818bd17cd25bf02e82a025de9a49819c743d2340aeab96558fda89"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":6,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}