{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"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":"_ShadCalendarState.build (cyclomatic 87): _ShadCalendarState.build has cyclomatic complexity 87 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/src/components/calendar.dart holds 3 of the 26 methods over the threshold \u2014 including the worst \u2014 and 80 of the 261 points over it (31%), 2.8\u00D7 the next-largest file (lib/src/components/resizable.dart at 29). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/calendar.dart"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"771dcf0b2916ee7fd1c1de9f11387cc00f9960240c0cd2f5c60f41cd151c23c2"}},{"ruleId":"D1","level":"warning","message":{"text":"ShadDialog.build (cyclomatic 37): ShadDialog.build has cyclomatic complexity 37 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/dialog.dart"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d22d35fb8eff2f9029f428b7711d00e6cac1dec3d5e40bafc90250325cff472"}},{"ruleId":"D1","level":"warning","message":{"text":"_ShadSliderState.build (cyclomatic 37): _ShadSliderState.build has cyclomatic complexity 37 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/slider.dart"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bdc71fe831c48503434724e8fe02662e4a0f7ce401e40c33a8df6ec6415898"}},{"ruleId":"D1","level":"warning","message":{"text":"ShadResizableController.resize (cyclomatic 30): ShadResizableController.resize has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/resizable.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd922c2b531f9e59443ac728d77ed6301b2b3b78ce3fe3843e6cab53844eed87"}},{"ruleId":"D1","level":"warning","message":{"text":"ShadResizablePanelGroupState.build (cyclomatic 29): ShadResizablePanelGroupState.build has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/resizable.dart"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce173e63bdc78bf36fe36e38440848f6ad91845f13026456b02eb4619a5fb1f"}},{"ruleId":"D1","level":"warning","message":{"text":"_FormPageState.build (cyclomatic 27): _FormPageState.build has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/lib/pages/form.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7214339dab6ace94bd48061477fa3a6ced8baa676f8c7991e2f0af84e8d3d7"}},{"ruleId":"D1","level":"warning","message":{"text":"ShadToggleGroupItem._joinedDecoration (cyclomatic 27): ShadToggleGroupItem._joinedDecoration has cyclomatic complexity 27 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/toggle_group.dart"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"62af57b99e5a65de5d678ea7eb83af164c3411f77f343fa4781d1cc1a61d40b6"}},{"ruleId":"D1","level":"warning","message":{"text":"ShadColorScheme.fromName (cyclomatic 26): ShadColorScheme.fromName has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/color_scheme/base.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0401086c1cb81d03199aad594a4fd3b8a6a80349bbd64c8cdaf36e5d9449f1"}},{"ruleId":"D1","level":"warning","message":{"text":"_ShadGestureDetectorState.build (cyclomatic 26): _ShadGestureDetectorState.build has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/gesture_detector.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"3728dab32c9c03a5ba5485e12631690bb36d673a3742bac5193eb2b41dac1b70"}},{"ruleId":"D1","level":"warning","message":{"text":"_ShadSheetState.buildExpandable (cyclomatic 23): _ShadSheetState.buildExpandable has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/sheet.dart"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"98364f86312a93833905402be2988042e605a14a5b9fdf8b3335789adb0fa9a6"}},{"ruleId":"D1","level":"warning","message":{"text":"ShadColorScheme.== (cyclomatic 23): ShadColorScheme.== has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/color_scheme/base.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc859624cfde8d787006494558ef10b98d9bad9d58ff28beb8ade0fc5a01092d"}},{"ruleId":"D1","level":"warning","message":{"text":"_ShadPortalState._calculatePosition (cyclomatic 22): _ShadPortalState._calculatePosition has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/raw_components/portal.dart"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"1629ff83e74f18085a3243c9e41970bc0c5a0185c53e98559f54e1d9170de505"}},{"ruleId":"D1","level":"warning","message":{"text":"_ShadCalendarState.didUpdateWidget (cyclomatic 21): _ShadCalendarState.didUpdateWidget has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/src/components/calendar.dart holds 3 of the 26 methods over the threshold \u2014 including the worst \u2014 and 80 of the 261 points over it (31%), 2.8\u00D7 the next-largest file (lib/src/components/resizable.dart at 29). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/calendar.dart"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7638166447e8e437477aeda22c80b490309472861bd850b99518f8d4e4b4e3"}},{"ruleId":"D1","level":"warning","message":{"text":"_ShadButtonState.build (cyclomatic 20): _ShadButtonState.build has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/button.dart"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0284b5b2b16a66ba7f40a38b3e757630a988c75281b81da871390b1d127bfa"}},{"ruleId":"D1","level":"warning","message":{"text":"_ShadDatePickerState.build (cyclomatic 20): _ShadDatePickerState.build has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/date_picker.dart"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d36eeff61ac702961c0d289db4cb0dd81a1c2a4c917decdbb17e49ff3db2c9"}},{"ruleId":"D1","level":"warning","message":{"text":"_ShadSheetState.build (cyclomatic 20): _ShadSheetState.build has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/sheet.dart"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"37052a984202dc2319e0d953d4ee39cb044548299bba10e38c24012083e82903"}},{"ruleId":"D1","level":"warning","message":{"text":"ShadSelectState.build (cyclomatic 19): ShadSelectState.build has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/select.dart"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"a227cc06c16d88428c7c00db2a73560b64b35ea83a7637bfbbc3380d9c5c47b0"}},{"ruleId":"D1","level":"warning","message":{"text":"ShadDecorator.build (cyclomatic 19): ShadDecorator.build has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/components/decorator.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dced038f3722e7a5cb95491225c95fd5fe496717573581d60c6d78a26c4ad33"}},{"ruleId":"D1","level":"warning","message":{"text":"ShadTextTheme.== (cyclomatic 19): ShadTextTheme.== has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/text_theme/theme.dart"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"2735193bccce29d40474e9dfddf3afcc99f8f426c0a10a1568a8ba17a27792ee"}},{"ruleId":"D1","level":"warning","message":{"text":"_ShadItemState.build (cyclomatic 18): _ShadItemState.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/src/components/item.dart"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b28cf5f7ee75220f8c58919b0d9067c3be83196681ad365e5206115e575b444"}},{"ruleId":"D1","level":"warning","message":{"text":"_ShadTableState._buildRowSpan (cyclomatic 18): _ShadTableState._buildRowSpan 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/src/components/table.dart"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"27454e6e225e60dc15563f86e39f4c9eb4ce8804d76b08a6c5e5680a2bb22fdc"}},{"ruleId":"D1","level":"warning","message":{"text":"_ShadCalendarState.enabled (cyclomatic 17): _ShadCalendarState.enabled has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/src/components/calendar.dart holds 3 of the 26 methods over the threshold \u2014 including the worst \u2014 and 80 of the 261 points over it (31%), 2.8\u00D7 the next-largest file (lib/src/components/resizable.dart at 29). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/calendar.dart"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afac77b642e2e20ccc0411c1bdfe8244503226bed92a4d73132652a93baf396"}},{"ruleId":"D1","level":"warning","message":{"text":"ShadInputState.didUpdateWidget (cyclomatic 17): ShadInputState.didUpdateWidget has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/input.dart"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"79283a68521a0e7d552d5723407181f269c0b6c624484618a9991ddbcd1d9e36"}},{"ruleId":"D1","level":"warning","message":{"text":"_ShadTimePickerState.build (cyclomatic 17): _ShadTimePickerState.build has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/time_picker.dart"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"072debe3313fb0ce357536291b75dda35e89fa0aa3d4784f72f627427f7986f1"}},{"ruleId":"D1","level":"warning","message":{"text":"_RenderShadItemRow._computeLayout (cyclomatic 16): _RenderShadItemRow._computeLayout has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/item.dart"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c7cbae0f7bae08672a9f054d377ce4cf13c8e56523eec8982bf472114bd42f"}},{"ruleId":"D1","level":"warning","message":{"text":"_ShadTabState.build (cyclomatic 16): _ShadTabState.build has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/tabs.dart"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"819b334cb0a9781f74356fa627631902cf13ddaf067ac2f075a4a26a8360a240"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShadCalendarState.build (cognitive 115): _ShadCalendarState.build has cognitive complexity 115 (threshold 15). Drivers by points: if/else 35 (59 pts), ternaries 17 (25 pts), boolean chains 23, match/switch 7 (8 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/calendar.dart"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2590e4b56ecb794f7aec9aad2a913675f971eee6fa956f8a64a7bc64cd76694a"}},{"ruleId":"D2","level":"warning","message":{"text":"ShadResizableController.resize (cognitive 66): ShadResizableController.resize has cognitive complexity 66 (threshold 15). Drivers by points: if/else 16 (34 pts), loops 10 (22 pts), ternaries 5 (10 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/resizable.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f5743b4b162749298edbf2e4c3fc3e480af0619d115543e2c164b42beca831"}},{"ruleId":"D2","level":"warning","message":{"text":"ShadResizablePanelGroupState.build (cognitive 44): ShadResizablePanelGroupState.build has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 19 (34 pts), if/else 2 (4 pts), match/switch 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/resizable.dart"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb0d84242d36f001ff952135596fea03f15f9b96192c69e9554d54ca9b2431e"}},{"ruleId":"D2","level":"warning","message":{"text":"ShadDialog.build (cognitive 38): ShadDialog.build has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 13, ternaries 10, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/dialog.dart"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f6d05b35ab090dc93afc8d700b1acc445219a8489bd26023985c144babbb21"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShadSliderState.build (cognitive 37): _ShadSliderState.build has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 27 (28 pts), boolean chains 8, if/else 1 (nesting depth added 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/src/components/slider.dart"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc677a264fc3b2702760d6645bea107b2a8f381ac6e4255d0fc476b5bc3934e"}},{"ruleId":"D2","level":"warning","message":{"text":"_FormPageState.build (cognitive 31): _FormPageState.build has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (24 pts), ternaries 3 (6 pts), match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/lib/pages/form.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf725cf041f493078af20136817e48a6627c40512c3089cc8780d01dc3ae4c91"}},{"ruleId":"D2","level":"warning","message":{"text":"_RenderShadItemRow._computeLayout (cognitive 31): _RenderShadItemRow._computeLayout has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 4 (9 pts), loops 5 (9 pts), boolean chains 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/item.dart"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a97c3f6690a5d500e768a2dbd47e72a1d1cbda3b2691825263b9e57021871f1"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShadPortalState._calculatePosition (cognitive 27): _ShadPortalState._calculatePosition has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 11, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/raw_components/portal.dart"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"8194cd10013d8d8dc8686574c59f04bfaef79daeadaf3db0d089144ab9c09fd9"}},{"ruleId":"D2","level":"warning","message":{"text":"ShadToggleGroupItem._joinedDecoration (cognitive 26): ShadToggleGroupItem._joinedDecoration has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 10 (13 pts), boolean chains 9, match/switch 3, if/else 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/toggle_group.dart"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ab9fdb9f711c48b0dbc1fb725a5bb572c0f231966c910e8bd6dbe6e5c83209"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShadTimePickerState.build (cognitive 25): _ShadTimePickerState.build has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/time_picker.dart"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14621db96b1c5eafc9a7a00d37fe7d0b3e23c02443e497f0bf1b90524f00f07"}},{"ruleId":"D2","level":"warning","message":{"text":"ShadColorScheme.fromName (cognitive 25): ShadColorScheme.fromName has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 12 (24 pts), match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/color_scheme/base.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e4e6603f6ebf45ef3f90a340b2c26615cdc4c0244e8008a3cb9e863b9c71aa"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShadGestureDetectorState.build (cognitive 25): _ShadGestureDetectorState.build has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 16, if/else 9. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/gesture_detector.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f37c76a81f5cdf6d82594ab24d7b257eb006d2e7065d4b90bc662c5da8b8a0"}},{"ruleId":"D2","level":"warning","message":{"text":"ShadColorScheme.== (cognitive 22): ShadColorScheme.== has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 21, if/else 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/color_scheme/base.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bc5ea8c5e681bc49bf4b3e03bcd2bed5f25e2d921a065843714c085624923d"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShadCalendarState.didUpdateWidget (cognitive 21): _ShadCalendarState.didUpdateWidget has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 14, if/else 7. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/calendar.dart"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a333c4215bc122bc6b681818f9ec2eb795672633ad7c48d6633b4b63de988bc"}},{"ruleId":"D2","level":"warning","message":{"text":"ShadInputState.didUpdateWidget (cognitive 21): ShadInputState.didUpdateWidget has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/input.dart"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"3581c677af34577df173903a33518f4933b86e3bf710d4cb2d09c7e544728dfb"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShadButtonState.build (cognitive 20): _ShadButtonState.build has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8, if/else 5 (6 pts), boolean chains 5, loops 1 (nesting depth added 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/src/components/button.dart"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"212ce68ff92e20c6e27b03f684492f14c6a23dd950d6630d91f915aff0940788"}},{"ruleId":"D2","level":"warning","message":{"text":"ShadSelectState.build (cognitive 20): ShadSelectState.build has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12, ternaries 5, match/switch 2 (3 pts) (nesting depth added 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/src/components/select.dart"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea032aecdbd30ca557807b12cdd6b67240d1af6bc081a5a1d2c43ce468465774"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShadSheetState.buildExpandable (cognitive 19): _ShadSheetState.buildExpandable has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 17, if/else 1, match/switch 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/src/components/sheet.dart"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"2037232ec2e03a478d898868f73eed5ae613568592a7ee29b4584ab8d283962f"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShadCalendarState.enabled (cognitive 18): _ShadCalendarState.enabled has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, if/else 5 (7 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/calendar.dart"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1e082eaa1759194cc884546055c23ef19fc0f67ea1e4f02672fa5e65492669"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShadInputOTPSlotState.build (cognitive 18): _ShadInputOTPSlotState.build has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/input_otp.dart"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7576870f31df8672d8c7e110dca70a8d62757a0749fdfc4aa5424a572f3917"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShadTabState.build (cognitive 18): _ShadTabState.build has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 10 (14 pts), if/else 3, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/tabs.dart"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"31704938a8f6ac59ed873a11d8b96b7c32938640a2281686e377a2c0b052719b"}},{"ruleId":"D2","level":"warning","message":{"text":"ShadTextTheme.== (cognitive 18): ShadTextTheme.== has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 16, if/else 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/text_theme/theme.dart"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e5ebfa92fc7ecffed5d63485f441e919a4799983315297010a995c643c8007"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShadItemState.build (cognitive 17): _ShadItemState.build has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, match/switch 2, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/item.dart"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"a195fef30e4b8b42a9d4ca8f72ccdd11e6862d25bc30329382941f81a1c15d02"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShadSheetState.build (cognitive 17): _ShadSheetState.build has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8, if/else 5, match/switch 3, 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/src/components/sheet.dart"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"404289f6c28cf0a0934838b13cc6b262382926c8bc908fda7c7e52d2b5f7416a"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShadTableState._buildRowSpan (cognitive 17): _ShadTableState._buildRowSpan has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, ternaries 5, boolean chains 2. 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/src/components/table.dart"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"1190a6224097264552ca162395f6970e7c4db72756821c2b29211e2ffd1941bb"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShadCalendarState.generateDatesForMonth (cognitive 16): _ShadCalendarState.generateDatesForMonth has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 4 (6 pts), loops 3 (4 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/calendar.dart"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1f40403a7a6e1ca487cb79b23527cb5ae95af8453df28340af51138be6255b"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShadContextMenuRegionState.build (cognitive 16): _ShadContextMenuRegionState.build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 4, ternaries 3 (nesting depth added 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/src/components/context_menu.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd44d37b8f23e9052d492d8b8c951fc36a624f681607164bb8c4354f2f3b9ec3"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShadDatePickerState.build (cognitive 16): _ShadDatePickerState.build has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5, boolean chains 4, if/else 4, match/switch 3. 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/src/components/date_picker.dart"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bd74f94353c4b6f4b99eba94209d80aa717be945e1a1c260b900f46cc3b966"}},{"ruleId":"D2","level":"warning","message":{"text":"ShadSelectState.initState (cognitive 16): ShadSelectState.initState has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (16 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/select.dart"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6dd72bd9d4d5e02f9a2b4699361981ea53f988cd97bb937c0e2c29262271c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShadCalendarState.build: MethodTooLong \u2014 build runs 586 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 486 over it, 5.86\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/calendar.dart"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"202879e0fe4ef978fc23f3e00191e4be90e2da679bcdf6d739071e611c9e5212"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShadDatePickerState.build: MethodTooLong \u2014 build runs 338 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 238 over it, 3.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/date_picker.dart"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd606d1aa1d397080d4e6eab28b725a6ead8839e987b5c315a32f71059b4a2ac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ShadSelectState.build: MethodTooLong \u2014 build runs 270 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 170 over it, 2.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/select.dart"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69739351e444494a38aae8203b6e1c6d81851afe3f7fa48201bc28b145080ee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShadSliderState.build: MethodTooLong \u2014 build runs 262 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 162 over it, 2.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/slider.dart"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b806e19ccf22fde480ae39239643e6d4b892b8ad4f3e852d48408c6570476db"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ShadInputState.build: MethodTooLong \u2014 build runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/input.dart"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6029dfd7577f1f69a371c1f7f62a7038191c4e20a4c08d578466e6c3c1806a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ShadDefaultThemeNoSecondaryBorderVariant: ClassTooLong \u2014 987 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 587 over it, 2.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bd56a90547fde7b2f2266947ec9b9c99f210bfcb4810f260295c6e43b07b9c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ShadDefaultThemeVariant: ClassTooLong \u2014 962 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 562 over it, 2.41\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_variant.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72501904adab476a55a22afa48d482d90f013f1bf641d357a8406a6d8d3dc83"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/calendar.dart: FileTooLong \u2014 1195 significant lines (blank, comment-only and punctuation-only lines excluded), about 64% of them inside a single declaration: _ShadCalendarState (871-1952). The bar is 500 significant lines; this is 695 over it, 2.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/src/components/calendar.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7271df7332363fae1e0fd9499b927af6581ac4a9257099b8970c34f31a27b550"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/sheet.dart: FileTooLong \u2014 1170 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 670 over it, 2.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/sheet.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd49f9dbc92adeefc8e7cc3865f51a2f85628e094f21764591cf0d0652940971"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ShadDialog.build: MethodTooLong \u2014 build runs 223 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 123 over it, 2.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/dialog.dart"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5e52cd9f60e49b1a023335d8c30b4433ed39407d68d22e29caf1cb898a0c39"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShadGestureDetectorState.build: MethodTooLong \u2014 build runs 220 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 120 over it, 2.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/gesture_detector.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9672a25556ba9482d0b01ae5a64d8da3c3af1540f30136fa2a4c26a02e36342"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShadSheetState.build: MethodTooLong \u2014 build runs 202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/sheet.dart"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5fd55ef612aa90850b44a76e054413930897c0dacbe0435c8419420de201fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: themes/default_theme_no_secondary_border_variant.dart: FileTooLong \u2014 987 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: ShadDefaultThemeNoSecondaryBorderVariant (55-1335). The bar is 500 significant lines; this is 487 over it, 1.97\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6307776d6cde81e7bd3fe29e5542b9671637e0b5a9e09509d26f84e549307169"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/date_picker.dart: FileTooLong \u2014 973 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 473 over it, 1.95\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/date_picker.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec363e23a469821eb745d66f04b2150eea53e389f3ca8988df49b6968d130f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: themes/default_theme_variant.dart: FileTooLong \u2014 962 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: ShadDefaultThemeVariant (55-1306). The bar is 500 significant lines; this is 462 over it, 1.92\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_variant.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f2397332da0e8c49196723b5bcc54e87bd4d990e043c929b048b8194f85282"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ShadCalendarState: ClassTooLong \u2014 762 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 362 over it, 1.91\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/calendar.dart"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"baacb6f126c4c8fb68e7b4f2dfa2f0c815c83c43b55da99964da8778b020df82"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShadDefaultThemeNoSecondaryBorderVariant: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ef2220dc2b53d0d2f775e2f6a002d61e7836676b440648904c1706e01bbc43"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShadDefaultThemeVariant: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_variant.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d609c23433bc3aaf782acf438d39af3df90ab234c8e3bf3043d53cbd5c855fd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShadTimePickerState.build: MethodTooLong \u2014 build runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/time_picker.dart"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd7b71d35af6df02aea9643176c93aa90c9b17c02fd9f6cb6b564f81c8ea23a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShadThemeVariant: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/base.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf9f182030eb565029f3585d0662130b5e2bdeb697b130e103c9082ea3fe03b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/select.dart: FileTooLong \u2014 904 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 404 over it, 1.81\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/select.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8face6bcfff0a1002b2c47d87f11c408ae3b8c21733d43ceb1e41bf31c304a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ShadResizablePanelGroupState.build: MethodTooLong \u2014 build runs 179 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/resizable.dart"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d14ec43077f7988a16be1a07583ee635cc35aa1f73e36d6410a8a0a8dd44f4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ShadThemeData.ShadThemeData: MethodTooLong \u2014 ShadThemeData 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/src/theme/data.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6531fa4dae630d916e2ecda008f51ee66c1b1bb28c801cf814b94738e2f7b2d7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ShadSonnerState.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/src/components/sonner.dart"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8a6a437de41fd33b755edc8ba7b830a601ef73a4550e6ef95060df185af257"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShadTabState.build: MethodTooLong \u2014 build runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/tabs.dart"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea585726f43066812d01c58a5bba4a480c843a9b293a456ae9f9127a4dc36d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/input.dart: FileTooLong \u2014 810 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 310 over it, 1.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/input.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90544e234d291665664a45c189276ead592825b6913fbdedd740fb6a8256fa6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/item.dart: FileTooLong \u2014 793 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 293 over it, 1.59\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/item.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c18dbdf434f2f31711ecef7104fe19073fb7b13429effa6e7287825a5739bf2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ShadTextTheme.apply: MethodTooLong \u2014 apply runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/text_theme/theme.dart"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"68af4d0111655258cacc747eff0dc3ad71314e56176526b244cd71fa630b8981"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShadButtonState.build: MethodTooLong \u2014 build runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/button.dart"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"c766f02bca47160c64f2974348ea81bdd5fe74f0fb62b5cae2f29114d311ec48"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ShadSheetState: ClassTooLong \u2014 627 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 227 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/sheet.dart"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb82e960bcec4ff15d02877d9cbef7dcd6edca324b740098b4b2efe5cb1e888"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/time_picker.dart: FileTooLong \u2014 750 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 250 over it, 1.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/time_picker.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5242e3a5fb540ad19b69574619e2cbea4dff67ac8325b08ac13bb7117303f903"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ShadDateRangePickerFormField.ShadDateRangePickerFormField: MethodTooLong \u2014 ShadDateRangePickerFormField runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/form/fields/date_range_picker.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"749e1879adde584330d2fa8beb8bd2f59c93f0d6989882b59801243418d89c09"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ShadDatePickerFormField.ShadDatePickerFormField: MethodTooLong \u2014 ShadDatePickerFormField runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/form/fields/date_picker.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a553a9d4c5f18fbf925fc50336bb545a99717bbfa8bd5e865e41bf5ef21ba6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/button.dart: FileTooLong \u2014 737 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 237 over it, 1.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/button.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea10d92c9e177e142637f92c6e9034d9f4f074dda5220fb3dbe1ca88b18f44cd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShadTextareaState.build: MethodTooLong \u2014 build runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/textarea.dart"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca969180d1dea0cce5f8e94843e3a44879fdca7000c621b5c4b5df555bce1a71"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ShadDatePicker: ClassTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 170 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/date_picker.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ba9fbfc9bdde8c669f5b4c0b07f375aabf341c455a0c122ade9459989daf83"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ShadDatePicker.raw: MethodTooLong \u2014 raw runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/date_picker.dart"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"088c2255848b277a2b1d549d5fe2aec50ea3ba69384af8530d5ccd821551f913"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShadToastState.build: MethodTooLong \u2014 build runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/toast.dart"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"9153b597eb740e0998f4cc06689d6f5afb69c671de8d35eaaf0b7494c7c4c6ee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ShadDatePicker.ShadDatePicker: MethodTooLong \u2014 ShadDatePicker runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/date_picker.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"54aa4653a0f1ff3c77133803bfec2f2406c32917aea66e2a8f899b020b957fbf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ShadDatePicker.range: MethodTooLong \u2014 range runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/date_picker.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"96667e364c6d26837dcbf62dbcc6bb12e6f3ba717b606dc8cebaff4c7d764499"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShadSheetState.buildExpandable: MethodTooLong \u2014 buildExpandable runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/sheet.dart"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"1427084aca1f331bf771a8b34efa973991ecc52bff1d8952d9421bc736aa0cf2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShadMenubarItemState.build: MethodTooLong \u2014 build runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/menubar.dart"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"545793a527909f6c2d4bb931842c36ebd5518fd5840d21589c4302b7f1413265"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fields/select.dart: FileTooLong \u2014 653 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 153 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/form/fields/select.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcc4e230bd943d686723fd141be33b4a7872f2786a5e36da2fea733569c4b97"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShadAccordionItemState.build: MethodTooLong \u2014 build runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/accordion.dart"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa761c8532f9d99ce98e9b75a0caba47b7508cba211d453cb06380114674df8b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShadSwitchState.build: MethodTooLong \u2014 build runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/switch.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"264ca0daad55070b2746add04a6ce0635b97daca7f946b067a1a2cd263067dec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShadContextMenuItemState.build: MethodTooLong \u2014 build runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/context_menu.dart"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"78cb1869538655926b31f0a099c03feb3967ef00dbfb52b0c2cc74af274502e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: text_theme/theme.dart: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: ShadTextTheme (182-683). The bar is 500 significant lines; this is 90 over it, 1.18\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/text_theme/theme.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"761fd68731f7ad1eb545a8181e9370e32b239962783442df13080bb4e8813d4d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShadInputOTPSlotState.build: MethodTooLong \u2014 build runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/input_otp.dart"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbadb321c7725aea1af997d51eb6b72296adbf97c89606429b4d069055975d0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ShadInputState: ClassTooLong \u2014 462 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 62 over it, 1.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/input.dart"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39cf25e5c11fadc23c23960f1c31834ff4f8444d99a4c300c3eb1ab2a3e0841"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShadItemState.build: MethodTooLong \u2014 build runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/item.dart"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b7932e1d797e215f5375e61e8d8f59d3be1743b7eafff9d06be370cce9900d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ShadToasterState.build: MethodTooLong \u2014 build runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/toast.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6afe4425f26536195969e47140c3abe91ae255ce74b640e90d992abfe335901"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/resizable.dart: FileTooLong \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 50 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/resizable.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd3629c86a29ef9539ce8cb659eef5863e1f5a8c7920cf28cff87e8a9167725"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShadCheckboxState.build: MethodTooLong \u2014 build runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/checkbox.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcc612ca6c9e43a8a589ba7136d83c6c70cc8a4fa0dda14ee536c1b0cb2653f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ShadTextTheme: ClassTooLong \u2014 426 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 26 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/text_theme/theme.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c990bfebd251109a97a7564d0e9cf9a93a3d0286f20fd7eee148a9071a5c4c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ShadButton: ClassTooLong \u2014 425 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 25 over it, 1.06\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/button.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0638ae320cf6f35e0babfb61e11eba91f7dd3f03be8db39d929b4441e0c32c63"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/context_menu.dart: FileTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 29 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/context_menu.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3840faecb845323fe2d1b0f6debce0cc278e65f37993dc2ffda669137f89b5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/tabs.dart: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 17 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/tabs.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab8f28ca27f76ee9df0ea3b40c28457dac977342c74e66b9c4b70c2ba7ae1d9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ShadRadioState.build: MethodTooLong \u2014 build runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/radio.dart"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"be91385623b7a730e95411fb3b36620ca2a65cf0f565409c30b621683a286c8a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ShadSelectState: ClassTooLong \u2014 411 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 11 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/select.dart"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77f1608905e8ea03654f5b190213aa49dc442eb64c30b1ecba481885cd712bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 19 shared lines): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:666-692 | lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:694-719 | lib/src/theme/themes/default_theme_variant.dart:651-678 | lib/src/theme/themes/default_theme_variant.dart:680-705 \u2014 These 4 members are variants of one another: a block of 19 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9f30c7b9221f93bf2fbd06c6d7096415ec69ed29c7b58b39678a5a1e11c30e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (101 shared lines): example/lib/pages/menubar.dart:17-141 | playground/lib/pages/menubar.dart:22-127 \u2014 These two members are variants of one another: 101 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/menubar.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"55adba4b80bfdf778f8761484cc6a584a4628b750115e698a07267836bc08c69"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1212-1251 | lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1253-1292 | lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1294-1334 | lib/src/theme/themes/default_theme_variant.dart:1186-1224 | lib/src/theme/themes/default_theme_variant.dart:1226-1264 | lib/src/theme/themes/default_theme_variant.dart:1266-1305 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"07623e857cad5cebe0cc68e4635107484e07d8939dc6b78e21006f68865bf30a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): example/lib/pages/dialog.dart:23-126 | example/lib/pages/sheet.dart:28-139 | playground/lib/pages/dialog.dart:15-95 | playground/lib/pages/sheet.dart:121-159 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/dialog.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d80ed46b55a5739865abb6be8cb88d794f3152391abaf7f88e7581dcdd8d74a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/src/theme/text_theme/text_styles_default.dart:87-101 | lib/src/theme/text_theme/text_styles_default.dart:135-149 | lib/src/theme/text_theme/text_styles_default.dart:151-165 | lib/src/theme/text_theme/text_styles_default.dart:199-213 \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/src/theme/text_theme/text_styles_default.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2738b6690942b93dd94dd8ffd9bf6a74ca86c82dd7e06b8bc7b97c3fe3ca0858"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): example/lib/pages/context_menu.dart:8-92 | playground/lib/pages/context_menu.dart:7-79 \u2014 These two members are one piece of code written twice and then edited apart: 73 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/context_menu.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb34dd49ae44a2a0ef4705beec4590080670e76981369ea5c025f171fc89a267"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:904-969 | lib/src/theme/themes/default_theme_variant.dart:890-961 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"672e4a531ecfdb6e6e35073cdd85689aa4531c5d85ae827bdf4727d4a597d9b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): example/lib/pages/table.dart:53-118 | playground/lib/pages/table.dart:52-112 \u2014 These two members are one piece of code written twice and then edited apart: 61 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/table.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5eddcbfd11bdf07d4e4e2fb428eb5533a30cae9ebb20bd4c8c2d705da8590d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): example/lib/pages/tabs.dart:8-79 | playground/lib/pages/tabs.dart:8-77 \u2014 These two members are one piece of code written twice and then edited apart: 70 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/tabs.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6439a689fdcb74d65d3bf3d543c452d6d5fa2812d07b1a69a69e39244e764696"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:290-333 | lib/src/theme/themes/default_theme_variant.dart:273-317 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"905db7033afc8496944ea3ad04b3ab207f04113f119e9f21e8dba76e4487b46d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:335-372 | lib/src/theme/themes/default_theme_variant.dart:319-358 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"b489cbb26e1bff4daef756401aafce91e670a6c1b262e350e91912355f5aef52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): example/lib/pages/popover.dart:29-83 | playground/lib/pages/popover.dart:28-74 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/popover.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1dd7f571a769ebc4cfbedd1f1da0c1ba6903808556a7a18e8d3539a574fce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1031-1065 | lib/src/theme/themes/default_theme_variant.dart:1010-1042 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f730b4dd73ceff85b965dbd8aaa91401770b11aa734eb0494f29c97fc495c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:983-1029 | lib/src/theme/themes/default_theme_variant.dart:975-1008 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58575d3f1bee4f27ceebbfe72529871915e2074e6452d2ff4e8cf95324e2d74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): playground/lib/pages/resizable.dart:88-124 | playground/lib/pages/resizable.dart:130-166 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"playground/lib/pages/resizable.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a2bcaef84368d257d49c9a449cd192f3915e0a6230e46ec2f2ce5969922685"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:374-400 | lib/src/theme/themes/default_theme_variant.dart:360-389 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"adaffb9c5822710c45a51d1a7500c806333c8fe23c5d7e9224551ec7103d054a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:847-876 | lib/src/theme/themes/default_theme_variant.dart:831-861 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d17180f1073cd28b7531d2e950b20721073af14dcf870eeecce82e14704d8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:543-568 | lib/src/theme/themes/default_theme_variant.dart:525-553 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82ad3ca07ff4dc4d41e4b787d1bba23942e604778fc3b068a3f5149d88eb17a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:421-449 | lib/src/theme/themes/default_theme_variant.dart:410-437 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a269956b764e04dbde1d9bf078db1e79446d1b8ae78c16a932928e412f5ca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): example/lib/pages/sonner.dart:17-43 | playground/lib/pages/sonner.dart:10-38 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/sonner.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e963e5558d92ea43118800d93d11091b7d633ff3a1af7040751d273e34f696"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:570-592 | lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:594-616 | lib/src/theme/themes/default_theme_variant.dart:555-577 | lib/src/theme/themes/default_theme_variant.dart:579-601 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"57024792235da0cea57ceb782930692381b95cc8b250e8a2657769b06601b905"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:883-902 | lib/src/theme/themes/default_theme_variant.dart:868-888 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e02cd0fd48c72b2634249492cd015b524f536f4a65f81da9bc7014ec707514"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): playground/lib/pages/breadcrumb.dart:32-62 | playground/lib/pages/breadcrumb.dart:90-118 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"playground/lib/pages/breadcrumb.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a544bc4b24c8533864604b02c9bd9b333d47c71f50f397ff2c4d506881d6f44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:476-502 | lib/src/theme/themes/default_theme_variant.dart:464-486 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fc05536c7d6ddbfc90af9ab98cfaea234735e42ea8243e7dd5748c1a8ece65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/src/components/button.dart:775-787 | lib/src/components/item.dart:352-371 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/button.dart"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df5cc0c90939ce2f38d34601ed746d76b94a16f4098507f688f685fbf5c3315"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:784-801 | lib/src/theme/themes/default_theme_variant.dart:770-785 \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/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef5de4181fdcf60040fd510f7cc143952bdf75b52b4ab5c0eb9f4e7f45e83dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1142-1161 | lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1163-1183 | lib/src/theme/themes/default_theme_variant.dart:1118-1136 | lib/src/theme/themes/default_theme_variant.dart:1138-1157 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"47839c65694df9c88f0cd2bc6f082c17f53e95e08fc1d05848ad036f4e0ebc70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/src/components/select.dart:848-864 | lib/src/components/select.dart:866-882 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/select.dart"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbefa3a0e1125682eaf494773fbee63b0f69aacea8715ebeb4c5e9157cb1b5ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:504-522 | lib/src/theme/themes/default_theme_variant.dart:488-505 \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/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"1553bec906f9a73b641e11e00e8a7c9b44b1465756209f00b94eccb8af9ae731"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:524-541 | lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1108-1129 | lib/src/theme/themes/default_theme_variant.dart:1085-1105 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"293223a51a9a6251d6099540fd6e0c1586254b6e53116707edc74c2dbca654c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): playground/lib/pages/calendar.dart:85-98 | playground/lib/pages/calendar.dart:128-144 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/lib/pages/calendar.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbfa5d516a016954c956ed1f95d456c0a787d642e6521948ac3ebc54049b5c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:66-83 | lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:85-102 | lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:104-121 | lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:142-158 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f934d688475477983b1e39e55acec939b2891ac3f82e0ee5ce828f7431d4ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:123-140 | lib/src/theme/themes/default_theme_variant.dart:111-127 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"06329c2056f2064ade2f7cb9fe7b093de74619f80e26abfe2e1b7db2e8f83ed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/src/components/button.dart:764-773 | lib/src/components/item.dart:339-350 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/button.dart"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d2115be5412f102428cdf2036bdd340110f5afa892a897fdc6c8ab2008d473"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/src/components/button.dart:801-810 | lib/src/components/icon_button.dart:420-429 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/button.dart"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"7640b72057f81c860fd8c23588b45e0817268657c704d0dc29f97d487c002f4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/src/components/form/fields/input.dart:385-394 | lib/src/components/form/fields/textarea.dart:335-344 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/form/fields/input.dart"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5468980ee4a4075181f9b7d2a2a58c53c9e597b2335395bad2efed75f71d2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): lib/src/theme/text_theme/text_styles_default.dart:103-117 | lib/src/theme/text_theme/text_styles_default.dart:119-133 | lib/src/theme/text_theme/text_styles_default.dart:167-181 | lib/src/theme/text_theme/text_styles_default.dart:183-197 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/text_theme/text_styles_default.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bf1e1c188640c71821724386512ed1394cf1d0c0c6a30c68c22a5def1dd78a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): playground/lib/pages/date_picker.dart:12-28 | playground/lib/pages/time_picker.dart:10-23 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/lib/pages/date_picker.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c11a508152ec58e9dc9b2b8352a65a182af93f2225998d33bd455c816e6c4c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): example/lib/pages/tooltip.dart:21-36 | playground/lib/pages/tooltip.dart:20-35 \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":"example/lib/pages/tooltip.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe4f06136f6e9637c09261aa0b7cfe0155f952e74828d391f9509a7a38a07a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): playground/lib/pages/input.dart:11-24 | playground/lib/pages/progress.dart:12-27 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/lib/pages/input.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f5fdc81d0ee9b7f860dd92fd55945ef2a1a190b77ce659223a526b2a0413ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): lib/src/theme/themes/default_theme_variant.dart:66-79 | lib/src/theme/themes/default_theme_variant.dart:81-94 | lib/src/theme/themes/default_theme_variant.dart:96-109 | lib/src/theme/themes/default_theme_variant.dart:129-141 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_variant.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f44eea352863e54a0d3bbb7240ab539ec59771394ee77a722f6b6ae6420869f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): playground/lib/pages/checkbox.dart:14-28 | playground/lib/pages/switch.dart:14-25 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/lib/pages/checkbox.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f746b5d092c4f5b1f65fe55949dbf89621060938869ec7e1375fc01099b2283"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/src/theme/theme.dart:14-27 | lib/src/utils/provider.dart:27-35 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/theme.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e08de65509740553e2e7847581ef9fd5800b9ce73f02ec9c581a574932a69d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/src/components/checkbox.dart:159-166 | lib/src/components/switch.dart:199-204 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/checkbox.dart"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b084d62486b4b72f4816247a08fabf03e884f1e8357c2d330711c968ced3e71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): lib/src/components/accordion.dart:329-334 | lib/src/components/tabs.dart:746-751 | lib/src/raw_components/focusable.dart:51-58 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/accordion.dart"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"83430341bd9769c12adeaef321e105f0f2614c610f76c7bc3ce49247c674188b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63\u201364 lines \u00D7 2): example/lib/pages/menubar.dart:51-114 | playground/lib/pages/menubar.dart:44-106 \u2014 before extracting anything, compare \u0060example/lib/pages/menubar.dart\u0060 and \u0060playground/lib/pages/menubar.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 106 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/menubar.dart:51\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/menubar.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ecd304683ac2d5adf2ddedc930b918b631af2bb3a691e077431f3a6e378d19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:906-969 | lib/src/theme/themes/default_theme_variant.dart:898-961 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:906\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"434c00afa2fcc06770cea648902eade20e7426c5e8578089d4dd792e10f70ba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): example/lib/pages/card.dart:129-173 | playground/lib/pages/card.dart:136-180 \u2014 before extracting anything, compare \u0060example/lib/pages/card.dart\u0060 and \u0060playground/lib/pages/card.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/card.dart:129\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/card.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2382fca14cf8730fb304d5d0b2cd6b913169fd022256f0710be692c216961e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201345 lines \u00D7 2): example/lib/pages/context_menu.dart:45-89 | playground/lib/pages/context_menu.dart:33-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/context_menu.dart:45\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/context_menu.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c9f05763aee728f85850082c81d1ac7be13b3e9b8bc7a7826ab0abcbc61033"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:245-288 | lib/src/theme/themes/default_theme_variant.dart:228-271 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"3754cafee23c8644057fd53dff8e668e27fc1c5e2336af6a7f7ca80502e50608"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): example/lib/pages/table.dart:63-98 | playground/lib/pages/table.dart:61-96 \u2014 before extracting anything, compare \u0060example/lib/pages/table.dart\u0060 and \u0060playground/lib/pages/table.dart\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/table.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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/table.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5374b90cbc2fca51c236b2c2852499c7bd58e19b35c4823c62eb114485c64a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:340-372 | lib/src/theme/themes/default_theme_variant.dart:325-358 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:340\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc0f4483989f1d96384abc2a9294c8659b2a785c1d26e75dedb221da0608a65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): example/lib/pages/dialog.dart:61-93 | playground/lib/pages/dialog.dart:32-64 \u2014 before extracting anything, compare \u0060example/lib/pages/dialog.dart\u0060 and \u0060playground/lib/pages/dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/dialog.dart:61\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/dialog.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"185a230606275bd3b71b460d56f3b9e98836f658a984c49f0e5faccb403f914b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): lib/src/components/sonner.dart:475-506 | lib/src/components/toast.dart:174-205 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/components/sonner.dart:475\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/sonner.dart"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"26dfa50be98365eaab7f1f1c56b14fe907f2c727c9b51fd082f0a5eed1cc5a54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:983-1009 | lib/src/theme/themes/default_theme_variant.dart:975-1001 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:983\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/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d3a214cee7a5d287a9fded6a120d3e155c981b1b26415963ed8cfc09db5549"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): example/lib/pages/date_picker.dart:65-90 | playground/lib/pages/date_picker.dart:73-97 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/date_picker.dart:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/date_picker.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3accfca08112ab83a788b7cd299df780275d9c3e07404cc5de3fd7079008fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): example/lib/pages/tabs.dart:24-76 | playground/lib/pages/tabs.dart:21-73 \u2014 before extracting anything, compare \u0060example/lib/pages/tabs.dart\u0060 and \u0060playground/lib/pages/tabs.dart\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/tabs.dart:24\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/tabs.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6799d2be0bfaaf937546212e2d6e6a9ea82917fc174398a1fabb03dac1506e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): playground/lib/pages/item.dart:52-77 | playground/lib/pages/item.dart:131-156 \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":"playground/lib/pages/item.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be352e6d5df0be2b9f20a54c008b0f304cd1d6d14dd01b092d7c63895176784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 6): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1227-1251 | lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1268-1292 | lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1311-1334 | lib/src/theme/themes/default_theme_variant.dart:1200-1224 | lib/src/theme/themes/default_theme_variant.dart:1240-1264 | lib/src/theme/themes/default_theme_variant.dart:1282-1305 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1227\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1310\u0060 calls \u0060withValues\u0060 and \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1227\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c822bb88adfb4d3bc36d1ebc82a705e4a3beb213c073389c41a64604818e2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/src/components/calendar.dart:1581-1605 | lib/src/components/calendar.dart:1607-1631 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/components/calendar.dart:1581\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/calendar.dart"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3ac68a50d9f4b27f432ceb3e07dc6c0e08a11a8a487e252d20d8a5ec9b1cbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/src/components/checkbox.dart:217-241 | lib/src/components/switch.dart:269-293 \u2014 before extracting anything, compare \u0060lib/src/components/checkbox.dart\u0060 and \u0060lib/src/components/switch.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/components/checkbox.dart:217\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/checkbox.dart"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed10677282103b31bb0190a9de872a21ce279ad53280f0c60cf74dde75fd6fac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/src/components/checkbox.dart:293-317 | lib/src/components/switch.dart:352-376 \u2014 before extracting anything, compare \u0060lib/src/components/checkbox.dart\u0060 and \u0060lib/src/components/switch.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/components/checkbox.dart:293\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/checkbox.dart"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58af2669497dd82e14e5bcafa10004fd3213b288b351a38cee04ec1f05b13b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:309-333 | lib/src/theme/themes/default_theme_variant.dart:293-317 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:309\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/src/theme/themes/default_theme_variant.dart:292\u0060 calls \u0060Offset\u0060 and \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:308\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b50cde087c4700b386b0faf22c5759923c9f112d67a935929ecfec18ccf21c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/src/utils/mouse_area.dart:97-121 | lib/src/utils/mouse_area.dart:125-149 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/utils/mouse_area.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/mouse_area.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91b8621b53afb4d927c882134b76611306058c66b33f58dabaa143d7bc87fa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): example/lib/pages/card.dart:104-127 | playground/lib/pages/card.dart:111-134 \u2014 before extracting anything, compare \u0060example/lib/pages/card.dart\u0060 and \u0060playground/lib/pages/card.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/card.dart:104\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/card.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"885283387b0261cf5b619a666535c34aedd59cec0d31f5ef50488539d00da7fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:759-782 | lib/src/theme/themes/default_theme_variant.dart:745-768 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5ba40606694c03fef482ae3d88047e88bc45f9a82c32abce32569a4bff8bda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:618-640 | lib/src/theme/themes/default_theme_variant.dart:603-625 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ada41a809ade71ff19fa2c7a897a5c04334ae0e54efc59bc7050ee11614143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:642-664 | lib/src/theme/themes/default_theme_variant.dart:627-649 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcb359ba84339f9ebaab85a9a56174fe754d79e94a5c4fd478114e184bb3e73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:803-825 | lib/src/theme/themes/default_theme_variant.dart:787-809 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"682529716667b0e8f7370386446f294d83b50868533a9d7587e9687393b6ed26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): playground/lib/pages/resizable.dart:102-124 | playground/lib/pages/resizable.dart:144-166 \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 \u0060playground/lib/pages/resizable.dart:102\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":"playground/lib/pages/resizable.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"598bb18ee5de365ea03a483d434b472f22d033b1b74be47b3482c70069936343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/src/components/sonner.dart:448-469 | lib/src/components/toast.dart:151-172 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/components/sonner.dart:448\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/src/components/sonner.dart:447\u0060 calls \u0060FadeEffect\u0060 and \u0060lib/src/components/toast.dart:150\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/sonner.dart"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3eded676f17b079dc03f6ff367705059359c354e58c302454dc73e18d23e260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:171-192 | lib/src/theme/themes/default_theme_variant.dart:154-175 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30a264eddafcbe3402984dc28409d66bdc4bb1adc693a954d7d100ce568db69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): example/lib/pages/menubar.dart:17-37 | playground/lib/pages/menubar.dart:22-42 \u2014 before extracting anything, compare \u0060example/lib/pages/menubar.dart\u0060 and \u0060playground/lib/pages/menubar.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 106 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/menubar.dart:17\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/menubar.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d28f041ae4ae993a07751f59c9388bd978f9606f1ae6309d705887c80c08de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): example/lib/pages/select.dart:181-201 | playground/lib/pages/select.dart:100-118 \u2014 before extracting anything, compare \u0060example/lib/pages/select.dart\u0060 and \u0060playground/lib/pages/select.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/select.dart:181\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/select.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6838dee058815b1225437124e2d131f5c0127f4a12acc98ae973daaa9fd0c44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): example/lib/pages/dialog.dart:104-123 | playground/lib/pages/dialog.dart:72-91 \u2014 before extracting anything, compare \u0060example/lib/pages/dialog.dart\u0060 and \u0060playground/lib/pages/dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/dialog.dart:104\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/dialog.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"59729b1c14f521a45a7cc9191d8225db500a8548fe4a0580729278972af5a46e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:672-690 | lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:699-717 | lib/src/theme/themes/default_theme_variant.dart:657-675 | lib/src/theme/themes/default_theme_variant.dart:685-703 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"20844facb1454f31c8372edac3105e0d00e765a3fe561969795b6a072457ab9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): example/lib/pages/dialog.dart:71-89 | example/lib/pages/sheet.dart:113-131 | playground/lib/pages/dialog.dart:42-60 \u2014 before extracting anything, compare \u0060example/lib/pages/dialog.dart\u0060 and \u0060playground/lib/pages/dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/dialog.dart:71\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/dialog.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e3c2c33ee8d207c787b9440a6fe702ebf650b608fe0618a13f1f5c567efebe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): example/lib/pages/sonner.dart:22-40 | playground/lib/pages/sonner.dart:17-34 \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 \u0060playground/lib/pages/sonner.dart:17\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/sonner.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c0a0218fba5a09a8f5d74d3669c62ef269ca1973b2a004c0607419491ed9d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:290-308 | lib/src/theme/themes/default_theme_variant.dart:273-291 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:290\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/src/theme/themes/default_theme_variant.dart:292\u0060 calls \u0060Offset\u0060 and \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:309\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8358d5cc7034699e4e7617adc80f3bcb51725eba6dee1a088e2a03e78c7aca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:382-400 | lib/src/theme/themes/default_theme_variant.dart:371-389 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:382\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f8b527880427ddd54b8cc174236ffabcfd162eba690bb77f2ee0720a2b68fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:721-739 | lib/src/theme/themes/default_theme_variant.dart:707-725 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd8866669b4e31a7a4e8926ef991768776f9c737b4a30348be28753cdede806"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:827-845 | lib/src/theme/themes/default_theme_variant.dart:811-829 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fc0a6d47cde930bef2c7583efd71ec9a004827b28a8904a2413a9d75fe4f64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1031-1049 | lib/src/theme/themes/default_theme_variant.dart:1010-1028 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1031\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/src/theme/themes/default_theme_no_secondary_border_variant.dart:1050\u0060 calls \u0060symmetric\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart:1029\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c926734aaeb3e01400e374e38ecac6ab17cfa55b2ec88357377441bba37f484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/src/components/progress.dart:270-287 | lib/src/components/progress.dart:300-317 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/components/progress.dart:270\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/progress.dart"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"99518730f876ee7eee50602d00155d5e13a1c1aa6565d7339f7124366d759dd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:402-419 | lib/src/theme/themes/default_theme_variant.dart:391-408 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8adf5345b0217992022c7829473dfb3c52539b56cc16b6f04153a90b3bead2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:432-449 | lib/src/theme/themes/default_theme_variant.dart:420-437 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:432\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:431\u0060 calls \u0060all\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart:419\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0f56961b4549b650a2fdd01c6e1ada5c54284330abb5501161f8dd63a2c3cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:570-587 | lib/src/theme/themes/default_theme_variant.dart:555-572 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:570\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/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9a5db648cb53120337d433912c7cbafc4f1a0a89e6e8a9cdfdf9938ef6b392"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:594-611 | lib/src/theme/themes/default_theme_variant.dart:579-596 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:594\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/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"b176a9ff301638358513529875381462f6aaff879d9b566ba2704a16f10bfd4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): playground/lib/pages/form.dart:199-216 | playground/lib/pages/input_otp.dart:23-40 \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 \u0060playground/lib/pages/form.dart:199\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":"playground/lib/pages/form.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afed5a39af0595da09a66f459333dd5a7dc7cbc64728f16a97959ccce62c513"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): example/lib/pages/breadcrumb.dart:104-120 | playground/lib/pages/breadcrumb.dart:38-54 | playground/lib/pages/breadcrumb.dart:96-112 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/breadcrumb.dart:104\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/breadcrumb.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7675006f310be00585500a35683c98b0d65531fe1df2e56f5efe4d1faa192958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): example/lib/pages/input.dart:42-58 | playground/lib/pages/input.dart:53-69 \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":"example/lib/pages/input.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48d7c5c7498c537378c79d0019e7c5b90b6abc5e0f71f0a1b244a3c9356c2a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): example/lib/pages/select.dart:226-242 | playground/lib/pages/select.dart:173-188 \u2014 before extracting anything, compare \u0060example/lib/pages/select.dart\u0060 and \u0060playground/lib/pages/select.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/select.dart:226\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/select.dart"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"023c0ef5ea643cd8f37feac5ae029ffe2224a283f5b55cef6ff8c8eface14950"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/src/app.dart:602-618 | lib/src/app.dart:635-651 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/app.dart"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94d3b67dea3864a66bef8cac118b9be9a874bfeda6e973e52d081e76202a033"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1067-1083 | lib/src/theme/themes/default_theme_variant.dart:1044-1060 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b4146038cc7eff686774b23bcfb85695986c0e98e2cf35b8389f310b8f6255"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1185-1201 | lib/src/theme/themes/default_theme_variant.dart:1159-1175 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad222d1226ff5d93aa93f70635a754e322623e257f06519e1e2e1aa4f56ebd82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): example/lib/pages/input_otp_form_field.dart:77-92 | playground/lib/pages/form.dart:191-206 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/input_otp_form_field.dart:77\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/input_otp_form_field.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a57dd8f9a6818282f58c6607bca143d0519215fba3a5efede72039841291a36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): example/lib/pages/toggle.dart:99-114 | playground/lib/pages/toggle.dart:103-118 \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":"example/lib/pages/toggle.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b8f22334c5f996bad10c9ddd9a5ffac2f3bdc3e3a4e3050c76988b5faecb53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/src/theme/text_theme/theme.dart:184-199 | lib/src/theme/text_theme/theme.dart:352-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/text_theme/theme.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"209d99db95c5d5326cc9b865885cb46942cecd9442b835bc1b73b9bc605f1c0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:459-474 | lib/src/theme/themes/default_theme_variant.dart:447-462 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f14c75818a82cc3868690fbd5398b75f8fe60516f4d57871f08b685d0a9304b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): playground/lib/pages/toast.dart:18-33 | playground/lib/pages/toast.dart:79-94 \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 \u0060playground/lib/pages/toast.dart:18\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":"playground/lib/pages/toast.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbc6347773c8c93bcc92510d92784c2fbe7d354b3e0aa9faf376a968307217d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 4): example/lib/pages/dialog.dart:67-81 | example/lib/pages/sheet.dart:109-123 | playground/lib/pages/dialog.dart:38-52 | playground/lib/pages/sheet.dart:138-150 \u2014 before extracting anything, compare \u0060example/lib/pages/dialog.dart\u0060 and \u0060playground/lib/pages/dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/dialog.dart:67\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/dialog.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"71df789de770ba0e0617cbcf9a1adde99dd63f2ba68d47ce8ca680b24c483a13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): lib/src/components/input.dart:1068-1082 | lib/src/components/textarea.dart:575-587 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/input.dart"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdd0d5f54bda00c2e625ab74a012ea7873d6bc084649f022eae77cf2eacb913"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): lib/src/theme/text_theme/text_styles_default.dart:88-101 | lib/src/theme/text_theme/text_styles_default.dart:136-149 | lib/src/theme/text_theme/text_styles_default.dart:152-165 | lib/src/theme/text_theme/text_styles_default.dart:200-213 \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/src/theme/text_theme/text_styles_default.dart:88\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/text_theme/text_styles_default.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12077328814729b478b07968cd889b4bdaeffe48315f04e22551f5f60e1bd11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lib/src/components/checkbox.dart:225-238 | lib/src/components/radio.dart:375-388 | lib/src/components/switch.dart:277-290 \u2014 before extracting anything, compare \u0060lib/src/components/checkbox.dart\u0060 and \u0060lib/src/components/switch.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/components/checkbox.dart:225\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/checkbox.dart"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6dd2e78636d875606bde5b264bd48efc57f1e2450a1a682c652ffee4a828d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lib/src/components/checkbox.dart:289-302 | lib/src/components/radio.dart:435-448 | lib/src/components/switch.dart:348-361 \u2014 before extracting anything, compare \u0060lib/src/components/checkbox.dart\u0060 and \u0060lib/src/components/switch.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/components/checkbox.dart:289\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/checkbox.dart"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd1332a14d944c13bca423b2a4e0539c03a08478b592608c17d71315cd290a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lib/src/theme/text_theme/text_styles_default.dart:40-53 | lib/src/theme/text_theme/text_styles_default.dart:56-69 | lib/src/theme/text_theme/text_styles_default.dart:72-85 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/text_theme/text_styles_default.dart:40\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/text_theme/text_styles_default.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71092106a480256ab61f8a268a00fdd31938bb3a5b76f59165a6baeb35bfbc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/src/theme/text_theme/text_styles_default.dart:8-21 | lib/src/theme/text_theme/text_styles_default.dart:24-37 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/text_theme/text_styles_default.dart:8\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/text_theme/text_styles_default.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"413562a3d51e11b40b354abbb3dc9ace30eb3266afbebd62205afb24e22623fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:543-556 | lib/src/theme/themes/default_theme_variant.dart:525-538 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:543\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/src/theme/themes/default_theme_no_secondary_border_variant.dart:557\u0060 calls \u0060all\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart:539\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"a158c30b0624197878d9d902105750d1ff013ac32f0a9607d367281fef3c8a4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:863-876 | lib/src/theme/themes/default_theme_variant.dart:848-861 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:863\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef805e206bd35ba9f2ca9716ad04d1b6d3087be878be8ff20b64d4003c9716e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1142-1155 | lib/src/theme/themes/default_theme_variant.dart:1118-1131 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1142\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/src/theme/themes/default_theme_no_secondary_border_variant.dart:1156\u0060 calls \u0060all\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart:1132\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee824f3d1fe9bc8fd41b71b60ba46db25cfa2b3385efaea50434cbf23ffd8f98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1163-1176 | lib/src/theme/themes/default_theme_variant.dart:1138-1151 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1163\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/src/theme/themes/default_theme_no_secondary_border_variant.dart:1177\u0060 calls \u0060all\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart:1152\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a88d27790cf479f4eaa53316459325bfaedfaa8068b55eabc267898d395f8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1214-1227 | lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1296-1309 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1214\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/src/theme/themes/default_theme_no_secondary_border_variant.dart:1311\u0060 calls \u0060withValues\u0060 and \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1229\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/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"765d82891b9a21a35dc43879baa6be9ed3e7bfb3475b4b8830715932660d487b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): playground/lib/pages/resizable.dart:33-45 | playground/lib/pages/resizable.dart:88-100 | playground/lib/pages/resizable.dart:130-142 \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 \u0060playground/lib/pages/resizable.dart:33\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":"playground/lib/pages/resizable.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5874eff6eef47d2769e4cfac94c2af2a80501278162ea6dc9572565372f4766e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): example/lib/pages/card.dart:70-82 | playground/lib/pages/card.dart:52-63 \u2014 before extracting anything, compare \u0060example/lib/pages/card.dart\u0060 and \u0060playground/lib/pages/card.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/card.dart:70\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/card.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"18751e50bfa9338304195302a52b6b2902d9ceca414e2e0d92f42ecba53341f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1095-1106 | lib/src/theme/themes/default_theme_variant.dart:1072-1083 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1141731913cd24f3f7e8eee3cd217fedd34d839bdc3525f264b94fb1072558"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/src/theme/themes/default_theme_variant.dart:510-521 | lib/src/theme/themes/default_theme_variant.dart:1088-1099 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_variant.dart"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"029ea032d8419ecefd8c16425ec9381c476885b4097214b7eb0e57787a3cba9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): example/lib/pages/dialog.dart:46-56 | playground/lib/pages/dialog.dart:22-31 \u2014 before extracting anything, compare \u0060example/lib/pages/dialog.dart\u0060 and \u0060playground/lib/pages/dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/dialog.dart:46\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/dialog.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b315a8e81e889367f58a2aa8cb8cc01d1bd93b8d8be9fa959a9f065092bd60a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/src/components/input.dart:1043-1053 | lib/src/components/textarea.dart:553-562 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/input.dart"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0c6aaa14671a70b86ab174bf2ed8d44e1a29ac545e1e6c9fe05de925e1ea2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/components/slider.dart:525-535 | lib/src/components/slider.dart:659-670 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/components/slider.dart:659\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/src/components/slider.dart"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efa22b74e6c0530562878180ae37b5652a558cfb67d5d1aa303d0059f270cf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:481-491 | lib/src/theme/themes/default_theme_variant.dart:469-478 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:481\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5876c2105f48ba0cffa0b59607765fd49f4fa6e21534f471598a0def5ea4f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/components/button.dart:777-786 | lib/src/components/item.dart:354-363 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060oldWidget\u0060 to \u0060covariant ShadButton\u0060 in one and \u0060covariant ShadItem\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/button.dart"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad79c66c43918b30e7ac8f2bb43189e420bd81a000f4b457cc8cf5a6562ea3d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:194-203 | lib/src/theme/themes/default_theme_variant.dart:177-186 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"7406c1a4566111e3e6a52160cebac4f025af9eabdf4432048a83d682099a2813"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:205-214 | lib/src/theme/themes/default_theme_variant.dart:188-197 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4603e42635b5567596deda543c077a35f3d18aacfa836c84a9a5e4aff7dec824"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:216-225 | lib/src/theme/themes/default_theme_variant.dart:199-208 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4187c8fb8a6678fb9569aeda77be3a554dfffeddf8e4607fc872633d390608"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:784-793 | lib/src/theme/themes/default_theme_variant.dart:770-779 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:784\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/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa040c5607717de3bfeae91e1817ac8bb8040a65e24875dbc927dd9cad9e1396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:883-892 | lib/src/theme/themes/default_theme_variant.dart:868-877 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:883\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"399bc537d9d23987bef95254b386db2efa2c0f38d68499dd123d2974ee62b88e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1051-1060 | lib/src/theme/themes/default_theme_variant.dart:1029-1038 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1051\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc16413623bd85712ed0d52eec4c8f16ee2aaace6534342c81a75241886f28d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): example/lib/pages/menubar.dart:128-137 | playground/lib/pages/menubar.dart:117-125 \u2014 before extracting anything, compare \u0060example/lib/pages/menubar.dart\u0060 and \u0060playground/lib/pages/menubar.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 106 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/menubar.dart:128\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/menubar.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c995ba5cc08d86998beba0519dfd04aff90ab3f7d9f7bb32aff078825fbcc1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): example/lib/pages/menubar.dart:116-126 | playground/lib/pages/menubar.dart:108-115 \u2014 before extracting anything, compare \u0060example/lib/pages/menubar.dart\u0060 and \u0060playground/lib/pages/menubar.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 106 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/menubar.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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/menubar.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea7311fa46bd9d12bc5054bd5009e578f88145badeff81ca6989c23153e7c30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): example/lib/pages/select_form_field.dart:88-95 | playground/lib/pages/form.dart:110-119 \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 \u0060playground/lib/pages/form.dart:110\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/select_form_field.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcfdcdf3cd4d46d6a18e4ff954da69274bca19812c1fd1fb923d33b2fc5ab45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): example/lib/pages/select.dart:80-84 | playground/lib/pages/select.dart:160-164 \u2014 before extracting anything, compare \u0060example/lib/pages/select.dart\u0060 and \u0060playground/lib/pages/select.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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":"example/lib/pages/select.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74798f5c6bbac7eb27be633deb52c67bf9e65803faf63508480d455e59fa0c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/components/button.dart:789-795 | lib/src/components/item.dart:373-379 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/button.dart"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efa9454a52da746ef3624d08f87589e6d7282512f749076b1cddbd3c6d5b9a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/components/form/fields/input.dart:368-375 | lib/src/components/form/fields/textarea.dart:319-326 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/form/fields/input.dart"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0a0d49139911d736ec17b6c12886734d110fac022b9e4cb16fd7bc50e2d7be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/components/form/fields/input.dart:377-383 | lib/src/components/form/fields/textarea.dart:346-352 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/src/components/form/fields/input.dart:374\u0060 calls \u0060addListener\u0060 and \u0060lib/src/components/form/fields/textarea.dart:343\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/form/fields/input.dart"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"f126a8296b586c83601129b9e33d4bd810a4e56cdf6219e1cff38ec8c0f39181"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/components/form/fields/input.dart:396-401 | lib/src/components/form/fields/textarea.dart:354-359 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/form/fields/input.dart"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea5861d92b855fffe924cd1875f6fe773824a0184a1adf8f2123d89393fcc6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:160-169 | lib/src/theme/themes/default_theme_variant.dart:143-152 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e144ab59ee5e3f38fb2457f85dc0a6c88620348791326833fe65ef3c305da95b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:227-234 | lib/src/theme/themes/default_theme_variant.dart:210-217 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8946599779a0249cb371bb1165063c3b20609235cb7f954556dd59d7b48c717"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:236-243 | lib/src/theme/themes/default_theme_variant.dart:219-226 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"71de025cb807b56a4c91c9ea89928fa9c8c923245e9227a0166cbfadac66b9bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:451-457 | lib/src/theme/themes/default_theme_variant.dart:439-445 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed562ea6704133fcb0404bf264a3911797bec76906b42526a9ee7efe955c6a41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:749-757 | lib/src/theme/themes/default_theme_variant.dart:735-743 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"91eddaf4837328d2474b2670938c6770890a5b122684fafba5875a4317f0326e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:971-981 | lib/src/theme/themes/default_theme_variant.dart:963-973 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57c65dcfc082d6c1567a558383c2f44e252135da9e92a2a3e74996d8ae4294f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1085-1093 | lib/src/theme/themes/default_theme_variant.dart:1062-1070 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71b948cf3ed9bd6089e333d52eedd6418c0bc2245413d67c7543797fd51632f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1131-1140 | lib/src/theme/themes/default_theme_variant.dart:1107-1116 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff78b1f5279320b066002cfe0c17df2e523b58e5e3974913c9ed0a21d77c946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/theme/themes/default_theme_no_secondary_border_variant.dart:1203-1210 | lib/src/theme/themes/default_theme_variant.dart:1177-1184 \u2014 before extracting anything, compare \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 as WHOLE FILES: this scan already matched 45 separate duplicated blocks between them, totalling at least 789 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c82a1f02aabcb52c3ac05cb73c8d9cad545194d67c390828ba3b828c875bbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/theme/components/button.dart:122-128 | lib/src/theme/components/button_sizes.dart:27-33 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/components/button.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b336ee902aac69d8b5cf31713d6c5a4a8f5ab5b67c5f604947d9ebec619155"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): playground/lib/pages/date_picker.dart:46-52 | playground/lib/pages/time_picker.dart:46-52 \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. 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":"playground/lib/pages/date_picker.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"781a2dfbdd2f639b9d68bf797f25cdd242bf7f6e498d942ab50e6d4517988216"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (9 members, 29 shared lines): example/lib/pages/checkbox_form_field.dart:25-120 | example/lib/pages/date_picker_form_field.dart:23-122 | example/lib/pages/input_form_field.dart:23-129 | example/lib/pages/input_otp_form_field.dart:26-140 | example/lib/pages/radio_group_form_field.dart:40-137 | example/lib/pages/select_form_field.dart:31-141 | example/lib/pages/switch_form_field.dart:25-120 | example/lib/pages/textarea_form_field.dart:26-125 | example/lib/pages/time_picker_form_field.dart:26-123 \u2014 These 9 members are variants of one another: a block of 29 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/checkbox_form_field.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51e63096fd39b8cda1ad192ca45a7772ef65c96f43eaed0ac47b7d4d95ed3b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): example/lib/pages/checkbox.dart:19-58 | example/lib/pages/switch.dart:19-57 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/checkbox.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebf65eae2959b3c4c7e0385c664f4ddeb6b1d3924f0042b7297a11f96ca91a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): example/lib/common/component_view.dart:9-21 | example/lib/common/properties/bool_property.dart:18-30 | example/lib/common/properties/string_property.dart:21-38 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 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":"example/lib/common/component_view.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe1822c67adefd03756a58ebaee4db4a5ea7c1250e4f886d490817790d54534"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): example/lib/pages/checkbox_form_field.dart:40-67 | example/lib/pages/switch_form_field.dart:40-67 \u2014 before extracting anything, compare \u0060example/lib/pages/checkbox_form_field.dart\u0060 and \u0060example/lib/pages/switch_form_field.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 122 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/checkbox_form_field.dart:40\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/checkbox_form_field.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7167f7a897364a25602113d95240c862dc26cff86f08e654963fa258b515e62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): example/lib/pages/checkbox.dart:19-45 | example/lib/pages/switch.dart:19-45 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/checkbox.dart:19\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/checkbox.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58a2b64e2cd0f0b98849d25a16fff1b45fd99cb5e3e552351e58e9d79d730de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): example/lib/pages/breadcrumb.dart:41-64 | example/lib/pages/breadcrumb.dart:81-104 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/breadcrumb.dart:41\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060example/lib/pages/breadcrumb.dart:80\u0060 calls \u0060Icon\u0060 and \u0060example/lib/pages/breadcrumb.dart:40\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/breadcrumb.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d701bed98c6b2fa1436a7c83d364797e99673886efbd6d43200f759cb27cf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 7): example/lib/pages/checkbox_form_field.dart:98-120 | example/lib/pages/input_form_field.dart:107-129 | example/lib/pages/input_otp_form_field.dart:118-140 | example/lib/pages/radio_group_form_field.dart:115-137 | example/lib/pages/select_form_field.dart:119-141 | example/lib/pages/switch_form_field.dart:98-120 | example/lib/pages/textarea_form_field.dart:103-125 \u2014 before extracting anything, compare \u0060example/lib/pages/checkbox_form_field.dart\u0060 and \u0060example/lib/pages/input_form_field.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/checkbox_form_field.dart:98\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/checkbox_form_field.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf2006477b041275ab6959908ad95ad2ea0927a9cab21ba584e8679a8d5eda9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 8): example/lib/pages/checkbox_form_field.dart:84-103 | example/lib/pages/date_picker_form_field.dart:88-107 | example/lib/pages/input_form_field.dart:91-112 | example/lib/pages/input_otp_form_field.dart:104-123 | example/lib/pages/radio_group_form_field.dart:101-120 | example/lib/pages/select_form_field.dart:105-124 | example/lib/pages/switch_form_field.dart:84-103 | example/lib/pages/time_picker_form_field.dart:89-108 \u2014 before extracting anything, compare \u0060example/lib/pages/checkbox_form_field.dart\u0060 and \u0060example/lib/pages/date_picker_form_field.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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/checkbox_form_field.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":"example/lib/pages/checkbox_form_field.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"119d72e96b47a52b2eca675808825c49b1b1b3c794edad0612b6694ae1d3c960"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): example/lib/pages/breadcrumb.dart:30-49 | example/lib/pages/breadcrumb.dart:122-142 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/breadcrumb.dart:30\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/breadcrumb.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a022b2c55e522149ff3ccae08949187012d74d4b31a66446cd2c1c21248aa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): example/lib/pages/input_form_field.dart:45-65 | example/lib/pages/textarea_form_field.dart:46-66 \u2014 before extracting anything, compare \u0060example/lib/pages/input_form_field.dart\u0060 and \u0060example/lib/pages/textarea_form_field.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/input_form_field.dart:45\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/input_form_field.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d89bfc7d26cbcfe856e1259df8745e679af7a34296718f5af2b0d7de6f0cf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): example/lib/pages/input_otp_form_field.dart:26-44 | example/lib/pages/textarea_form_field.dart:26-45 \u2014 before extracting anything, compare \u0060example/lib/pages/input_otp_form_field.dart\u0060 and \u0060example/lib/pages/textarea_form_field.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/input_otp_form_field.dart:26\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/input_otp_form_field.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f9c7bbe93aa455371d78edbf594329b37087b3c91a1356c6dfbe2d754162f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): example/lib/pages/checkbox_form_field.dart:25-43 | example/lib/pages/radio_group_form_field.dart:40-58 | example/lib/pages/select_form_field.dart:31-49 | example/lib/pages/switch_form_field.dart:25-43 \u2014 before extracting anything, compare \u0060example/lib/pages/checkbox_form_field.dart\u0060 and \u0060example/lib/pages/radio_group_form_field.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/checkbox_form_field.dart:25\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/checkbox_form_field.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66fbaee7a020d8f6b1ee8f6c097d25ab932b516370fb83ede07e77ed8ad85de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): example/lib/pages/date_picker_form_field.dart:23-41 | example/lib/pages/time_picker_form_field.dart:26-44 \u2014 before extracting anything, compare \u0060example/lib/pages/date_picker_form_field.dart\u0060 and \u0060example/lib/pages/time_picker_form_field.dart\u0060 as WHOLE FILES: this scan already matched 4 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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/date_picker_form_field.dart:23\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/date_picker_form_field.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8caedcdf9cd25a29f1f5fa33af13e5c724e34f96bc1375e5bd655bfcb726b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 9): example/lib/pages/checkbox_form_field.dart:33-50 | example/lib/pages/date_picker_form_field.dart:30-47 | example/lib/pages/input_form_field.dart:34-51 | example/lib/pages/input_otp_form_field.dart:34-51 | example/lib/pages/radio_group_form_field.dart:48-65 | example/lib/pages/select_form_field.dart:39-56 | example/lib/pages/switch_form_field.dart:33-50 | example/lib/pages/textarea_form_field.dart:35-52 | example/lib/pages/time_picker_form_field.dart:33-50 \u2014 before extracting anything, compare \u0060example/lib/pages/checkbox_form_field.dart\u0060 and \u0060example/lib/pages/date_picker_form_field.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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/checkbox_form_field.dart:33\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/checkbox_form_field.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde9cf4d0200d186567ad3cddedbb6584cbeec589132dfcbf473a1a76a07a6a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): example/lib/pages/select.dart:154-170 | example/lib/pages/select.dart:258-274 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/select.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3429bbd849f38b6c2b6357677169d536bd9980cc2239606a17b0e17b083bcc67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): example/lib/pages/breadcrumb.dart:30-45 | example/lib/pages/breadcrumb.dart:51-65 | example/lib/pages/breadcrumb.dart:91-105 | example/lib/pages/breadcrumb.dart:123-138 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/breadcrumb.dart:30\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060example/lib/pages/breadcrumb.dart:66\u0060 calls \u0060ShadBreadcrumbEllipsis\u0060 and \u0060example/lib/pages/breadcrumb.dart:46\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/breadcrumb.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"625865ac9237e1e092fa6356660509cab0410f4fd479b52c1dfd947bad08d72e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): example/lib/pages/button.dart:95-109 | example/lib/pages/icon_button.dart:57-71 \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":"example/lib/pages/button.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f1a35532de26321a79ae3def8559eddc4d6dab2bf4722825e524a443089852"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 9): example/lib/pages/checkbox_form_field.dart:95-105 | example/lib/pages/date_picker_form_field.dart:99-109 | example/lib/pages/input_form_field.dart:103-114 | example/lib/pages/input_otp_form_field.dart:115-125 | example/lib/pages/radio_group_form_field.dart:112-122 | example/lib/pages/select_form_field.dart:116-126 | example/lib/pages/switch_form_field.dart:95-105 | example/lib/pages/textarea_form_field.dart:100-110 | example/lib/pages/time_picker_form_field.dart:100-110 \u2014 before extracting anything, compare \u0060example/lib/pages/checkbox_form_field.dart\u0060 and \u0060example/lib/pages/date_picker_form_field.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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/checkbox_form_field.dart:95\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/pages/checkbox_form_field.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a5a4d7b5b39abde8eda997ac732d909a61e3855181642c5d1b3b7e2f7fbe97"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: shadcn_ui: shadcn_ui: abstractness 0.03, instability 0.00, distance 0.97 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1f7fc6a0525353f7252ccf84589e0ceaffa0140bb8fea0b476389d37584aa998"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _RenderShadItemRow (LCOM4 10): _RenderShadItemRow\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/item.dart"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d0db28896223882707131f3c22cccd4580418a6d786a641f0717c7cb6689f7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ShadInputState (LCOM4 8): ShadInputState\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/input.dart"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6e53b85176900d43becdc7246b08dc1ddbac7274ccc56df26cfe0eca4843f8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ShadDefaultThemeNoSecondaryBorderVariant (LCOM4 8): ShadDefaultThemeNoSecondaryBorderVariant\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a93bb5499a37f47bceb0182335bf1ee099843e78c4956b8d6aad73929f9c514"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ShadDefaultThemeVariant (LCOM4 8): ShadDefaultThemeVariant\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_variant.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4635437379939945a4895414a5e98278b2ed85fe2d32dee6d355dc2e11408881"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _ShadCalendarState (LCOM4 6): _ShadCalendarState\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/calendar.dart"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"9147b506e655662ccd9e40945f82bdb581b8b60e110d448f36674672eb069ffc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _ShadAppState (LCOM4 5): _ShadAppState\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/app.dart"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"059d9d7075dab4d3a501f5a7380b7604cf7af0bf70d5aa6a08350deaf3b1c591"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ShadSonnerState (LCOM4 5): ShadSonnerState\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/sonner.dart"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"debdeeda899e224058b29d5421948d1073ac7140febe24c4467e9a87efe90309"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ShadMouseAreaRenderBox (LCOM4 5): ShadMouseAreaRenderBox\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/mouse_area.dart"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d9092f12083785304488e08cd3c0a8744045a57ca1f5860715ea80328a63a7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ShadContextMenuState (LCOM4 4): ShadContextMenuState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/context_menu.dart"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd28c80d1b37bf71eb35413fc6502ef4a77d4bdef30e4a6ca860b3fa8153d399"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ShadFormBuilderFieldState (LCOM4 4): ShadFormBuilderFieldState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/form/field.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59aee95aceacf5ed1eaccf562dfb1d04de5712f888cbdf0f55b951c8c5eac97"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ShadFormBuilderSelectState (LCOM4 4): ShadFormBuilderSelectState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/form/fields/select.dart"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e74c50d5a50af4dca59d38167d6bb61376b08ddb56bfc60b446fbfecb07f6a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ShadFormBuilderSelectMultipleState (LCOM4 4): ShadFormBuilderSelectMultipleState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/form/fields/select.dart"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a45b8d624eb92a4d510f8a50cca2d212ecada31d459d726d127830ec56fa56"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _ShadItemState (LCOM4 4): _ShadItemState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/item.dart"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60074ecdd41aa3febe68904e21b222811b47eea6f1b70fe9199a55866e07d81"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ShadRadioGroupState (LCOM4 4): ShadRadioGroupState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/radio.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1af86141bb084208463a2b37a636714346c99357766fd0f2617bcfbc5d1f9e2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ShadSelectState (LCOM4 4): ShadSelectState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/select.dart"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5707fd649b4c3928b53e1119f6d18f8378e44704ddd8e6fac0ddca8faf40fd4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RenderSheetLayoutWithSizeListener (LCOM4 4): RenderSheetLayoutWithSizeListener\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/sheet.dart"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c0d9dcacb1fb9369bb728189a0ba78d5540d13ea178ce4e767d30ee1cb66e9"}},{"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 \u0060cli/bin/shadcn.dart\u0060 makes this repository a deployable product (line 3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/bin/shadcn.dart"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e455529450a50dc486428caa6ee602150bdac89767ff47cdc7fb9d71b7a350"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 4 project(s) overshoot their size bounds, lowering Project Cohesion to 5.0/10. The most over is \u0060(repository root)\u0060 (41163 LoC, 282 module-visible types across 13 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee23e70122af07298cd5aff1111d3dc4b5f3e06b5d2127ebe881986d66c9ea0f"},"taxa":[{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"847a43c354214d8e3961dab9f0b2500c044b437846317590211d1e59ebe374ff"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b8bc27c1345d12f11035bc6686db06becd7b8f88661ee85385a3b06185d36718"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"735553dae1ff5ed73db1b85b063f7d1fe43c7b2df457208ca8a58d9410f5f437"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a99209aacf8aa7cb68cb544c6b00c6aa121738ad22200ea926fbc57c027698f"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a9b6efe888a3aed24516063292485ea6b85aacd4ad7c77a6be2aca615eb774f"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e35b6194e08c5b1bda952e6a27e4d0a2ae2f87ffe42df7d62f072ff2f53e72a6"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 13 of 99 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 99 of the 145 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: lib/src/components/breadcrumb.dart, scripts/generate_skills.dart, lib/src/theme/color_scheme/neutral.dart, lib/src/theme/color_scheme/orange.dart, lib/src/theme/color_scheme/violet.dart, lib/src/theme/color_scheme/yellow.dart, lib/src/theme/color_scheme/green.dart, lib/src/theme/color_scheme/stone.dart (and 5 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/breadcrumb.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b373cbdac5d8522bb58be28f12fcdea9b3d9363baa8129affc3c24e0369a6221"}},{"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":"scripts/generate_skills.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e3d34a4bac5b126ec112a3739cfa8672a073cad4d23d2c4b5565b1029c4178"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/color_scheme/neutral.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32630fe23f61daf0c528efaca4c362acd721554c0138c68c7173ba76075a757f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/color_scheme/orange.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83408b15b3299c3b60a6c1f58b00bfa3fb780fdaa7040a29eaea134abba88eba"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/color_scheme/violet.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b21b2c5d3d5f757beff3875d8d0fb53dc16ac434108e75e7fffef0d407110a7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/color_scheme/yellow.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5e5b016925adbe78e0151f0ded43eedf3df532fd1c8fdaac8476ed07b98e76"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/color_scheme/green.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60490c4bde849cb9c3940f5aacf5e5e37717f734fa96591a80b19d7e457bdbc3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/color_scheme/stone.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3933868f9309867950ea5aa5cd56f5cc0d183dba4d17fa7a303f95500073d033"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/color_scheme/blue.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43796196cab22cee25c28dd9f31ce6000d89a38718d5514d38bd2cc0febac2fb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/color_scheme/gray.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbac57f0cde8b9ba980e2828e1b37e620d906f89cdfd06ff581ed3826c7ff2e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/color_scheme/rose.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59896c553e7b6810c46001744bc8c55318088afa4cc3535f8e02bf3d5f3c1c9d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/color_scheme/red.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8d9fdd2d8af6a8b0d608849906cf59bbcdc87db9f22c94d30f2b9f35e691cb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/components/breadcrumb.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc3a3f0b885ee3bfaa44876740542ce9015a39da0de97114c09900549c7976d"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: input.dart \u2194 input.dart: \u0060lib/src/components/input.dart\u0060 (context components) and \u0060lib/src/theme/components/input.dart\u0060 (context theme) sit in DIFFERENT parts of the tree yet change together 73% of the time (8 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060a1d05898\u0060 feat: top, bottom and onLineCountChange to shadinput (#523); \u0060fde2f772\u0060 fix: input alignment (#429); \u00600252d9d6\u0060 feat: adds cursor customization through theme. (#417) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/input.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"487c1aef997f40ed52157184684ff427b5d8fb79e16a9c4cd143e20d075b2ebe"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: default_theme_no_secondary_border_variant.dart \u2194 default_theme_variant.dart: \u0060lib/src/theme/themes/default_theme_no_secondary_border_variant.dart\u0060 and \u0060lib/src/theme/themes/default_theme_variant.dart\u0060 change together 96% of the time (26 of the 27 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 26 shared commits counted here, the most recent 3 are \u00602dabee49\u0060 fix: Make unchecked checkbox color changable (#634); \u00601f39f884\u0060 Feat: fallback for ShadAnchorAuto (#619); \u0060fa2115a3\u0060 fix: ShadBreadcrumbLink layout with ShadButtons (#531) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/theme/themes/default_theme_no_secondary_border_variant.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1455582514b6a5d31947637b53b97dcab0a1b9e0d5eb2edb606c29e1af5dd5c2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: input.dart \u2194 textarea.dart: \u0060lib/src/components/form/fields/input.dart\u0060 and \u0060lib/src/components/form/fields/textarea.dart\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060a1d05898\u0060 feat: top, bottom and onLineCountChange to shadinput (#523); \u0060a69e4092\u0060 fix: 435 input and textarea on changed fired twice (#437); \u0060d7b98c33\u0060 feat: keyboard toolbar (#423) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/form/fields/input.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67b0d17510236e93d8ef0421fcdf69d5976a4e48f0daea2ac9f253a133ae4fa"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"69ee4c74e8b9ae61befc83f7498062fdb0f7e30238f8b09c8c7bdd0c503f40e9"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb18d482d612689f1004fd2d093385f3aa037f22fa2a2ec6acc680d5f38c186d"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c291d6a2ab99c84bc215278b6159555d34c75312008feb8b6eb6a51b0579a04e"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41b0f65930a8a1fd62767e65d7ab4a3afd2f1809393d91cc2714ca05c4a925ab"},"taxa":[{"id":"CICD-SEC-1","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging call was found in the 187 Dart, JavaScript/TypeScript production file(s) this check read across 4 module(s). Each was searched for its ecosystem\u0027s logging libraries (JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger; Dart: package:logging, package:logger, dart:developer\u0027s log()) and for a call on a receiver named \u0060log\u0060/\u0060logger\u0060 (or ending in \u0060Logger\u0060/\u0060_logger\u0060) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read \u2014 this is \u0027no logging found by this walk\u0027, not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add the Dart analyzer\u0027s security lints plus \u0060semgrep --config=auto\u0060 as a CI step. What was searched, so you can tell an absence from a miss: the 13 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/claude-code-review.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch npm: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060npm\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"da14c5e8fb421b8614b797a2517de829b3c94f3b85263a50e3283dfd26519afe"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060firebase.json\u0060 configures this repository\u0027s static hosting, including its response headers, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/firebase.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff483c340aea047a25c0c77d8174ab1f40d54ba3c53214ee548f126eb1424b0e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Alignment.bottomRight || Alignment.bottomLeft || Alignment.bottomCenter\u0060 appears character-identically in 2 files \u2014 lib/src/components/sonner.dart, lib/src/components/toast.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/sonner.dart"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"626376b32c7d6fe4c21da0c4f120b0f8f8fe6e5551e5bfbda68086d2c9b2e9f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Alignment.bottomRight || Alignment.topRight || Alignment.centerRight\u0060 appears character-identically in 2 files \u2014 lib/src/components/sonner.dart, lib/src/components/toast.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/sonner.dart"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5baa0c58e616120214b8347d4abb05efabb5e5af61521ced2b1a355c42e4485"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Alignment.centerLeft || Alignment.topLeft || Alignment.bottomLeft\u0060 appears character-identically in 2 files \u2014 lib/src/components/sonner.dart, lib/src/components/toast.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/sonner.dart"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62df1f57f092f98f4a19cc157f9e891b9ee7ca224b8fbeb5514cd63a3ab508a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Alignment.centerRight || Alignment.topRight || Alignment.bottomRight\u0060 appears character-identically in 2 files \u2014 lib/src/components/sonner.dart, lib/src/components/toast.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/sonner.dart"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc0deeaf392d759a850ba2380e4bfea55ea94672da1d637b1e98136c168fa02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Alignment.topLeft || Alignment.centerLeft || Alignment.bottomLeft\u0060 appears character-identically in 2 files \u2014 lib/src/components/sonner.dart, lib/src/components/toast.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/sonner.dart"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e890b2502d2a4e7b9c180d26ae5bf7328c3e8e43275a9ea2b4c64e2b2cd889f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Alignment.topRight || Alignment.topLeft || Alignment.topCenter\u0060 appears character-identically in 2 files \u2014 lib/src/components/sonner.dart, lib/src/components/toast.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/sonner.dart"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"c672578a77b34188da4180e5d1cd2d4577b919e224a52e8d9bfdff4ae6d5fe97"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060initialValue == null || controller == null\u0060 appears character-identically in 2 files \u2014 lib/src/components/input.dart, lib/src/components/textarea.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/input.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa7e7b068fa4db3c061e68c7b3d8a5af3bd2a23a1c92004ba2a5d8d01fc9afb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060oldWidget.controller != null \u0026\u0026 widget.controller == null\u0060 appears character-identically in 4 files \u2014 lib/src/components/form/fields/input.dart, lib/src/components/form/fields/radio.dart, lib/src/components/form/fields/textarea.dart, lib/src/components/toggle_group.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/form/fields/input.dart"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"beea0f7d79854a09fc6532ab8377c796777a1440cb098e71bb9e8f5c822ddb09"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060oldWidget.controller == null \u0026\u0026 widget.controller != null\u0060 appears character-identically in 6 files \u2014 lib/src/components/accordion.dart, lib/src/components/form/fields/input.dart, lib/src/components/form/fields/radio.dart, lib/src/components/form/fields/textarea.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/accordion.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"41933ce8f1d2009eef1738ae3321bef4e04fa44f1673ff0e620a4d507915f7ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060oldWidget.focusNode != null \u0026\u0026 widget.focusNode == null\u0060 appears character-identically in 4 files \u2014 lib/src/components/accordion.dart, lib/src/components/button.dart, lib/src/components/form/field.dart, lib/src/components/item.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/accordion.dart"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a0842bc5e054c5289f0204a3e599d56d7ce0237fb18b17c734c661658eadbf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060side == ShadSheetSide.left || side == ShadSheetSide.right\u0060 appears character-identically in 2 files \u2014 lib/src/components/sheet.dart, playground/lib/pages/sheet.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/sheet.dart"},"region":{"startLine":1764}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fab6d75e412b2167e0e9c55bf6841317436bf3dc44d651720565a006630c23"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060widget.controller != null \u0026\u0026 oldWidget.controller == null\u0060 appears character-identically in 2 files \u2014 lib/src/components/input.dart, lib/src/components/tabs.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/input.dart"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8450a2d6509f664ab40319806bf9e90732fae60444f6aff1d6a745dcd1135f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060widget.controller == null \u0026\u0026 oldWidget.controller != null\u0060 appears character-identically in 2 files \u2014 lib/src/components/input.dart, lib/src/components/tabs.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/input.dart"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8ee026c0e4d5eaeffc91a5b5b5da266063077ddce365446bea1dbb85ea67e0"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060deepCopy\u0060 is public and takes \u0060Map\u003Cdynamic, dynamic\u003E ? map\u0060 from its caller, and it calls itself at line 171 (\u0060deepCopy\u0060) with a piece of \u0060map\u0060 \u2014 and nowhere in \u0060deepCopy\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. \u0060jsonDecode\u0060 sets no nesting limit: 2 MB of brackets parse to a million levels, while a walk like this one throws \u0060StackOverflowError\u0060 from about 20,000 levels \u2014 40,000 bytes (Dart 3.13 VM; on the web the limit is the browser\u0027s stack). That is an \u0060Error\u0060, not an \u0060Exception\u0060: an \u0060on Exception catch\u0060 around the call does not stop it, so the request, the frame or the isolate fails with it. Thread a depth argument through \u0060deepCopy\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils/extensions/map.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f1c8d1d42390cdfde57f49f98a909377f42965477c10d55be24b4772a9e74c"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060ShadInputState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_focusNode\u0060 itself (line 685, \u0060FocusNode\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_focusNode.dispose()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060FocusNode\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_focusNode.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/components/input.dart"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd0a327b1aee0ab51b6f33e29ff88a52f568a628bd910aaa48884802ca83f5a"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-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-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"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/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-1","guid":"a40d9a4c-89f5-4b5d-b2dc-32dc9cbfe814","name":"Insufficient Flow Control Mechanisms","shortDescription":{"text":"Insufficient Flow Control Mechanisms"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-01-Insufficient-Flow-Control-Mechanisms"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":17,"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."]}]}