{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"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":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX7","name":"Slice cohesion","shortDescription":{"text":"Slice cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/AX7"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"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":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"AppTheme._buildTheme (cyclomatic 48): AppTheme._buildTheme has cyclomatic complexity 48 (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/app/theme/app_theme.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f036a589f5fc88ea7a1a6430072515ed12bec728d98d39c78371aa57790d50"}},{"ruleId":"D1","level":"warning","message":{"text":"_ToolsPageState._openToolActionPreview (cyclomatic 26): _ToolsPageState._openToolActionPreview 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/features/tools/presentation/tools_page.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"397e5ed5260d48f5c4ccfba91b4786ea4a37f76889e3c95a829c768965b1b3e4"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveConfigService.fetchWorkspace (cyclomatic 24): LiveConfigService.fetchWorkspace has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/config_service.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51aa560eebfe96e5dc4e1da4746ad88b4f4e990c0b98328aed8899265856d6b"}},{"ruleId":"D1","level":"warning","message":{"text":"_SidebarDestination.build (cyclomatic 20): _SidebarDestination.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/app/shell/app_shell.dart"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"360ffd194a7bbc7fae74a47b78930b0d623d00bd5801ddbd143ca7ff0b606665"}},{"ruleId":"D1","level":"warning","message":{"text":"_ProjectsPageState._handleAddDirectory (cyclomatic 19): _ProjectsPageState._handleAddDirectory 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/features/projects/presentation/projects_page.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba8569ea54744c7f4c32ec1beb2b88263cb4ad8e98874c6fb2a19b4079a22d5"}},{"ruleId":"D1","level":"warning","message":{"text":"AppShell.build (cyclomatic 18): AppShell.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/app/shell/app_shell.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"396eb2e11b739e53b5dd5fd3b14e8f32144094d5629696c076e3405dfcb79059"}},{"ruleId":"D1","level":"warning","message":{"text":"_ParsedVersion.compareTo (cyclomatic 18): _ParsedVersion.compareTo has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/app_update_service.dart"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"452f9d1dd12541d58487ed2803d3decee93b91ec7188ea74f0eaefda9080f671"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveConfigService._buildRuntimeSettingsContent (cyclomatic 18): LiveConfigService._buildRuntimeSettingsContent has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/config_service.dart"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0136692930bfc762a55b8ebf56f88ed305497c802069befd585dd5ee7bd3a4"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveMiseCliService.fetchEnvironmentSignals (cyclomatic 17): LiveMiseCliService.fetchEnvironmentSignals 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/services/mise_cli_service.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc85c6079cae1f1ceaa108ce8d52983b1fda90948cca119fad3f3b4726cf89bd"}},{"ruleId":"D1","level":"warning","message":{"text":"_MiseSelfUpdatePanelState._runSelfUpdate (cyclomatic 16): _MiseSelfUpdatePanelState._runSelfUpdate 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/features/dashboard/presentation/dashboard_page.dart"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"782beb78ece2db50760b5baa845063e5c52989ccb692c041034ae237a5e85963"}},{"ruleId":"D2","level":"warning","message":{"text":"AppTheme._buildTheme (cognitive 55): AppTheme._buildTheme has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 24 (32 pts), if/else 23 (nesting depth added 8). 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/app/theme/app_theme.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9346e0c28230a3d6a6bb526a65334b71e9659b8d1eb754c0298c1b3e7c8a0a"}},{"ruleId":"D2","level":"warning","message":{"text":"_ToolsPageState._openToolActionPreview (cognitive 52): _ToolsPageState._openToolActionPreview has cognitive complexity 52 (threshold 15). Drivers by points: if/else 15 (30 pts), loops 2 (8 pts), ternaries 4 (8 pts), boolean chains 5, error handling 1 (nesting depth added 25). 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/features/tools/presentation/tools_page.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f42b729693add2dd4f99d9bb223f29841443ce87c5cc8ef459ce5c7ee2e554"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveConfigService.fetchWorkspace (cognitive 35): LiveConfigService.fetchWorkspace has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 9 (18 pts), boolean chains 10, if/else 3 (6 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/config_service.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c98b9932e4a86084b21aff2467efb492d7088579ac45d3118e57089ab271594"}},{"ruleId":"D2","level":"warning","message":{"text":"_ParsedVersion.compareTo (cognitive 29): _ParsedVersion.compareTo has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (18 pts), ternaries 5 (8 pts), loops 2, boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/app_update_service.dart"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"323c28d7edd876b36b6ef1ddfa4df3a6acbce7e36edee25b3aced3473f3a62d5"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveMiseCliService.fetchEnvironmentSignals (cognitive 28): LiveMiseCliService.fetchEnvironmentSignals has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 10 (20 pts), if/else 2 (4 pts), boolean chains 3, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/mise_cli_service.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f6a271111f9b354f515d85d6319e69e3d5d853b7d492bbeb8b9abacb9b7abb"}},{"ruleId":"D2","level":"warning","message":{"text":"_MiseSelfUpdatePanelState._runSelfUpdate (cognitive 26): _MiseSelfUpdatePanelState._runSelfUpdate has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 4 (8 pts), boolean chains 2, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/dashboard/presentation/dashboard_page.dart"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"886edda41b62d248f2ab96f60d47f2f30df30810b5439ab4fa8c73bd741a4403"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveConfigService._buildRuntimeSettingsContent (cognitive 26): LiveConfigService._buildRuntimeSettingsContent has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 6, loops 3 (4 pts), ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/config_service.dart"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9f0e039b3a14060076ab8237c5525cc751bf04af404ecde456c3c8720e3aee"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardRepository._loadCpuModel (cognitive 24): DashboardRepository._loadCpuModel has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 5, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/repositories/dashboard_repository.dart"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4217e938915291fffe147bd1027051848243f9f17e4f93e3ef2dfd1768d3b14"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveProjectScanService._discoverWorkspaceConfigs (cognitive 23): LiveProjectScanService._discoverWorkspaceConfigs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/project_scan_service.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"981f7e3ce174e96b71f1aded8362e8a512f1800c53b993e1e7ff7d4faccc158e"}},{"ruleId":"D2","level":"warning","message":{"text":"_SidebarDestination.build (cognitive 22): _SidebarDestination.build has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 17 (19 pts), if/else 2 (3 pts) (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/app/shell/app_shell.dart"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c766b652c0e8d3840898019875b9130dfa08e957d3ada1cca1c57fb0b558a26"}},{"ruleId":"D2","level":"warning","message":{"text":"_ConfigDocumentEditorDialogState.build (cognitive 22): _ConfigDocumentEditorDialogState.build has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 8 (15 pts), if/else 5 (6 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/config/presentation/config_page.dart"},"region":{"startLine":2171}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3c4f7928614237a2bb7348436d1197115702b412be229cfc9fed94718fc7f1"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardRepository._loadMemoryInfo (cognitive 21): DashboardRepository._loadMemoryInfo has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 5, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/repositories/dashboard_repository.dart"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"247d55fc05f09a20215420b28e0310bef1577a3a7322472764319a16c198a6dc"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardRepository._loadDiskInfo (cognitive 21): DashboardRepository._loadDiskInfo has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 4, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/repositories/dashboard_repository.dart"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da0271b90025b8c564a2b4c05b2a730c2b2cdcd483054372741abca4a6cbab7"}},{"ruleId":"D2","level":"warning","message":{"text":"_ProjectsPageState._handleAddDirectory (cognitive 19): _ProjectsPageState._handleAddDirectory has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 9 (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/features/projects/presentation/projects_page.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d502eaac65eb1cb7f4d50639413132701f9106afa44e7a4da89d7e138831af9"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveProjectScanService._buildProjectRecord (cognitive 19): LiveProjectScanService._buildProjectRecord has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (6 pts), loops 5 (6 pts), ternaries 2 (3 pts), boolean chains 2, error handling 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/project_scan_service.dart"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a362c2ea7c46665ca07591f8dee24b7f0668bdeb6f60b6779f885f569b4f46"}},{"ruleId":"D2","level":"warning","message":{"text":"AppShell.build (cognitive 18): AppShell.build has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 13, if/else 3, 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/app/shell/app_shell.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7783393c29a45d0a97a52c2d8da9e59c2911c83d792f5f5ee800788d359d6f8"}},{"ruleId":"D2","level":"warning","message":{"text":"_ProxySettingsEditorDialogState.build (cognitive 18): _ProxySettingsEditorDialogState.build has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (13 pts), if/else 3, boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (_RuntimeSettingsEditorDialogState.build, _JavaAliasesEditorDialogState.build) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/config/presentation/config_page.dart"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdcb5b59f5087257501db7dd2d119bfb9d68d14f549fd5b01ce0caab17929ed"}},{"ruleId":"D2","level":"warning","message":{"text":"_RuntimeSettingsEditorDialogState.build (cognitive 18): _RuntimeSettingsEditorDialogState.build has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (13 pts), if/else 3, boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (_ProxySettingsEditorDialogState.build, _JavaAliasesEditorDialogState.build) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/config/presentation/config_page.dart"},"region":{"startLine":1767}}}],"partialFingerprints":{"codehealthFindingId/v1":"9641d60cb16ccd42568abb1dba34d1023c9cddfcc2adad757d615106f8c6e363"}},{"ruleId":"D2","level":"warning","message":{"text":"_JavaAliasesEditorDialogState.build (cognitive 18): _JavaAliasesEditorDialogState.build has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (13 pts), if/else 3, boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (_ProxySettingsEditorDialogState.build, _RuntimeSettingsEditorDialogState.build) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/config/presentation/config_page.dart"},"region":{"startLine":2500}}}],"partialFingerprints":{"codehealthFindingId/v1":"77be9a916c3458a94b6ab449f31b0cb69f2a0e9f3bb1f65dde3f1dd910de6a1c"}},{"ruleId":"D2","level":"warning","message":{"text":"_ToolHeroPanel.build (cognitive 18): _ToolHeroPanel.build has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 3 (5 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/tools/presentation/tools_page.dart"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"9430f2e9aab1d96037f632b5cd455b4bdb0db1f79b52f2e013670f8e869fb30e"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardRepository._operatingSystemVersion (cognitive 18): DashboardRepository._operatingSystemVersion has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 2, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/repositories/dashboard_repository.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"db60e2e5078b9ad8d19ab71c2d95374309b09ef6b78f30422d2881667ec8b4f4"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubAppUpdateService.checkForUpdate (cognitive 18): GitHubAppUpdateService.checkForUpdate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, ternaries 1 (2 pts) (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/services/app_update_service.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd26c5284bebf3267bb8bf21fd17500e48d54f66f1212902d9e27aa7245b1099"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveProjectScanService.fetchProjects (cognitive 18): LiveProjectScanService.fetchProjects has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), error handling 2 (5 pts), loops 2 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/project_scan_service.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dc52024fc5d2c0520a4da2de1d064e07439cc9a2d4cda045d92153c5d86f78"}},{"ruleId":"D2","level":"warning","message":{"text":"_RuntimeSettingsEditorDialogState._collectValues (cognitive 17): _RuntimeSettingsEditorDialogState._collectValues has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/config/presentation/config_page.dart"},"region":{"startLine":1969}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03067fabb6a93dfd900a5e6c7879b9e8d38c4274d14ae036a93d891ea3c2af3"}},{"ruleId":"D2","level":"warning","message":{"text":"_VersionActions.build (cognitive 17): _VersionActions.build has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 4 (5 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/tools/presentation/tools_page.dart"},"region":{"startLine":1959}}}],"partialFingerprints":{"codehealthFindingId/v1":"51de03996ad01898dc50c7c50b5f4640f2d24188408e00f058be0e61ca49f8ea"}},{"ruleId":"D2","level":"warning","message":{"text":"MiseLockfileCleaner._findNewOrChangedLockfiles (cognitive 17): MiseLockfileCleaner._findNewOrChangedLockfiles has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 2 (4 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/mise_action_service.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e6940014685e423d0f3a77fb0a8d81f379df0c128f29b8b3e9c84cb24b7e82"}},{"ruleId":"D2","level":"warning","message":{"text":"_DashboardPageState._refreshDashboard (cognitive 16): _DashboardPageState._refreshDashboard has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 1, error handling 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/features/dashboard/presentation/dashboard_page.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f704a0899fd989a17bb84bb599e4499f5ac7d080ca00bda745b5f79228d7bd"}},{"ruleId":"D2","level":"warning","message":{"text":"_OverridesPanel.build (cognitive 16): _OverridesPanel.build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 1 (3 pts), ternaries 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/projects/presentation/projects_page.dart"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ffb3858d4cb8110e69a53a2c0426dc8cfb6c5be9efc49640b627ccb9f5fdfe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/tools_page.dart: FileTooLong \u2014 1640 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1140 over it, 3.28\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/features/tools/presentation/tools_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9414c1776d626adb6540c1e48f7b4dfef00ce740bef471c2a1d401d67b0eaeeb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MockMiseCliService.fetchTools: MethodTooLong \u2014 fetchTools runs 302 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 202 over it, 3.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/services/mise_cli_service.dart"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfb102badb9a256062bf042844b7c87800e5beea5ffbaeb5c53e233392d2941"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/projects_page.dart: FileTooLong \u2014 1163 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 663 over it, 2.33\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/features/projects/presentation/projects_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4e71ec7462030a37e640c2f90ea9558de09fffbd89614e365c507a104059f9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppTheme._buildTheme: MethodTooLong \u2014 _buildTheme runs 219 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 119 over it, 2.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/theme/app_theme.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3d5684a2911068d42299924ef35805455652b6b33a63e59570d2285f9f0182"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/mise_cli_service.dart: FileTooLong \u2014 1002 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 502 over it, 2.00\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/services/mise_cli_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"107c349bb4e98f0a2845d25ef74c04f25ae910bc88c883b8beaa3c930fb178d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/dashboard_page.dart: FileTooLong \u2014 966 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 466 over it, 1.93\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/features/dashboard/presentation/dashboard_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea7c1a6e9448f6e2501535131bbe377f14df4f0488a4f1204eb35fb623f2e53"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shell/app_shell.dart: FileTooLong \u2014 897 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 397 over it, 1.79\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/app/shell/app_shell.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a46714d6581a3832368b5642842752f55641ebec9c651021b152fc6d2c8e38"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/config_service.dart: FileTooLong \u2014 787 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: LiveConfigService (68-924). The bar is 500 significant lines; this is 287 over it, 1.57\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/services/config_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6eee753f0212187c76ea0376974bd133d8ca2fc2048f848182060d597d20bb5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LiveConfigService: ClassTooLong \u2014 626 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 226 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/services/config_service.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9976e20a6ca018a364a195c7556e4cb9d65c7d29002f427ecea93369cae97a00"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LiveMiseCliService: ClassTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 190 over it, 1.48\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/services/mise_cli_service.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"edaf707c263c4bb3b76782b0dbe6a509e2130ea45a060aba63bf9387bf0023cd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AppUpdateDialog.build: MethodTooLong \u2014 build 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/app/bootstrap/app.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"13badf69865f6eba2196e3b51c3d242faf1609e57ca3741df578b18753454714"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/mise_process_service.dart: FileTooLong \u2014 656 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 156 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/services/mise_process_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f903bd826c5ce2ada16f1a856e51510b05dcecdfdcf9508dc18065d25f5892f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _Sidebar.build: MethodTooLong \u2014 build runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\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/app/shell/app_shell.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e952c741d855100617013c912f8774a9460cc29ad2c49dcdc1fe5b153e7011"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiveConfigService.fetchWorkspace: MethodTooLong \u2014 fetchWorkspace runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\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/services/config_service.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ffcf7f6e0b39b6dd2e6523f73bb4a32b4f28557903c9dbde70bd5ef39594b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LiveMiseCliService: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\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/services/mise_cli_service.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c5ee2bd32bf9810291b003fcf94a0a62630532b2df9fd9ba383351e2fae3ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ToolsPageState._openToolActionPreview: MethodTooLong \u2014 _openToolActionPreview runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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/features/tools/presentation/tools_page.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a418df012e3c75d02daff38c28d2b8ce9072f544f50045c7e5c25a2a091dad1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ActionPreviewDialog.build: MethodTooLong \u2014 build runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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/shared/ui/action_preview_dialog.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"488f920ebb8bf8c0397970e3d03ed82b6acb96f62cbd4438fa568b98e0b2c6e0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LiveProjectScanService: ClassTooLong \u2014 435 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 35 over it, 1.09\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/services/project_scan_service.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c017618d44620fb030fff1007bad3bb969a93049893fcbe9148048788cd4e3d7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LiveConfigService: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/config_service.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e3566ef3bfe08dadab1bd334df4a3fbc281b1945a54653daabbb56a0fe0136"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/project_scan_service.dart: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: LiveProjectScanService (27-661). The bar is 500 significant lines; this is 14 over it, 1.03\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/services/project_scan_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a30d46154ec6a517aa56279fbb7d29242ab7612a38b8e0877fc2e9f2b47a02"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 42 shared lines): lib/features/config/presentation/config_page.dart:1411-1506 | lib/features/config/presentation/config_page.dart:1767-1862 | lib/features/config/presentation/config_page.dart:2171-2292 | lib/features/config/presentation/config_page.dart:2500-2595 \u2014 These 4 members are variants of one another: a block of 42 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/features/config/presentation/config_page.dart"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb62280a37269e9c7dc2a58b6b4ac2919a682a51e7b82e829f09f7295da82671"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (42 shared lines): lib/shared/ui/action_preview_dialog.dart:49-209 | lib/shared/ui/action_preview_dialog.dart:265-344 \u2014 These two members are variants of one another: 42 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":"lib/shared/ui/action_preview_dialog.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"635a55cb75eaaad18d4522c563e35692974e49fd0082318b80c388134fa2547d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): lib/features/config/presentation/config_page.dart:1624-1629 | lib/features/config/presentation/config_page.dart:2022-2027 | lib/features/config/presentation/config_page.dart:2422-2427 | lib/features/config/presentation/config_page.dart:2794-2799 | lib/features/dashboard/presentation/dashboard_page.dart:632-637 | lib/features/projects/presentation/projects_page.dart:410-415 | lib/features/tools/presentation/tools_page.dart:434-439 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/config/presentation/config_page.dart"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef550b15837d850f89a9c40b9c38854a79350f2d1e901301f4bf698d23008cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/features/config/presentation/config_page.dart:1521-1556 | lib/features/config/presentation/config_page.dart:1884-1920 | lib/features/config/presentation/config_page.dart:2337-2366 | lib/features/config/presentation/config_page.dart:2682-2718 \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/features/config/presentation/config_page.dart"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"537715d14350572b2fce578707c033ac47a485b4cc3e2962225b1472c128b049"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): lib/features/config/presentation/config_page.dart:735-793 | lib/features/config/presentation/config_page.dart:853-908 \u2014 These two members are one piece of code written twice and then edited apart: 56 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/features/config/presentation/config_page.dart"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c17c32611e60051af1159ea7167c2170cbe332d85bba720f2e2e65d16b6e936"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): lib/features/config/presentation/config_page.dart:801-844 | lib/features/config/presentation/config_page.dart:916-959 \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/features/config/presentation/config_page.dart"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd940737deafd2b65424abcd94248fdc1c984c5726e00614412cc39ae8dae55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 46\u002B corresponding lines): lib/features/config/presentation/config_page.dart:1558-1603 | lib/features/config/presentation/config_page.dart:1922-1967 | lib/features/config/presentation/config_page.dart:2720-2765 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 46 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/features/config/presentation/config_page.dart"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d34e5c31711e265fb4c99a68e8ef14f320141935e7ede152bd81bf4e1349ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): lib/app/shell/app_shell.dart:1172-1213 | lib/app/shell/app_shell.dart:1227-1268 \u2014 These two members are one piece of code written twice and then edited apart: 42 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/app/shell/app_shell.dart"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6addc32c315a7a0aea0fdb3b519567a5cf78c9f7e71b8824aeec803619ed153"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): lib/repositories/dashboard_repository.dart:268-315 | lib/repositories/dashboard_repository.dart:317-356 \u2014 These two members are one piece of code written twice and then edited apart: 40 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/repositories/dashboard_repository.dart"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"30336589f2902b7910b6b1d96ba2aa00623bf2083672dc0bee82f765d17941b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): lib/features/dashboard/presentation/dashboard_page.dart:733-766 | lib/features/tools/presentation/tools_page.dart:757-797 \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/features/dashboard/presentation/dashboard_page.dart"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d60d2c91fbbe9240acbccc17fa6536365a34c292cad13d8414849e697891ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): lib/features/config/presentation/config_page.dart:973-1017 | lib/features/tools/presentation/tools_page.dart:2090-2127 \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/features/config/presentation/config_page.dart"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6e285c32609c9f297e1c7c1ec9432135c84d5778fd44a3582ab4f3f322f98e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/services/config_service.dart:655-682 | lib/services/project_scan_service.dart:464-485 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/config_service.dart"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ac429af2e501448358be6483e35b5472ae22e1a55609abe9966a95de904e13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/services/project_scan_service.dart:182-204 | lib/services/scan_directory_service.dart:206-240 \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/services/project_scan_service.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"59940e2db429504f03e5e5135b79c5b74045a25e1466fa84477d7a29833e476b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lib/services/config_service.dart:486-516 | lib/services/config_service.dart:589-619 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/config_service.dart"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"674c476ebc001a9fb40325b7deb658b495f31763019bd82b3da8d9ffa0e1347a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): lib/app/bootstrap/app.dart:421-451 | lib/features/dashboard/presentation/dashboard_page.dart:698-725 | lib/features/dashboard/presentation/dashboard_page.dart:1245-1281 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 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/app/bootstrap/app.dart"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"200c76d3cf79e5716ac99d0f2958befd50cba407cea70aece2213a31881e4aec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/features/tools/presentation/tools_page.dart:2044-2076 | lib/shared/ui/status_badge.dart:11-38 \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/features/tools/presentation/tools_page.dart"},"region":{"startLine":2044}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adb72db4160a0eefd2da2f3faf3af555b61fd34bbbd93fa998ea76319472be3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/services/history_service.dart:55-71 | lib/services/scan_directory_service.dart:121-139 \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/services/history_service.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0406684c1d6b69f49de7f527ceb5af6e752e3592af3423bd494b865eac666f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/app/shell/app_shell.dart:726-749 | lib/features/tools/presentation/tools_page.dart:806-839 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/shell/app_shell.dart"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"5501ac07d9df7c321cfd059abfc286a02cd3bfa85321db7f050ecd8689df409c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): lib/app/shell/app_shell.dart:767-793 | lib/features/config/presentation/config_page.dart:167-194 \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/app/shell/app_shell.dart"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"74485b8e92d8c2f08cc48b7128188961a23c78a13dca3e62a14cdd8e6087a78e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/features/dashboard/presentation/dashboard_page.dart:160-185 | lib/features/projects/presentation/projects_page.dart:362-395 \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/features/dashboard/presentation/dashboard_page.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd65060545c0e60c45262170a48b70f0b661bcfe3fb28466cb883d10884c479"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/app/bootstrap/app.dart:332-351 | lib/app/shell/app_shell.dart:699-720 \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/app/bootstrap/app.dart"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d05b76a080b530cc7c862dc87f2bba2f01e565b8f7422bc80080e33ce655fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lib/services/history_service.dart:142-177 | lib/services/mise_cli_service.dart:930-960 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/history_service.dart"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2a7134702bbf25a1bb6795da6a281ac29521da1e014c6fa8dc982f31e9445e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/services/mise_action_service.dart:64-85 | lib/services/mise_action_service.dart:130-158 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/mise_action_service.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7003ddc60bde2d8c2828881e42830a179dc0bd52b064acfdcca7d00c1ed950f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): lib/features/config/presentation/config_page.dart:307-327 | lib/features/config/presentation/config_page.dart:329-346 | lib/features/config/presentation/config_page.dart:348-365 | lib/features/config/presentation/config_page.dart:367-384 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/config/presentation/config_page.dart"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa48b2b05575e56cc7cb4153d8357f33de16c92fda2109bdbbf540bb4a05de3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/services/history_service.dart:73-89 | lib/services/scan_directory_service.dart:141-163 \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/services/history_service.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"827ba26023b4f9a62ed88f63b0773e1085c25ab61a3c4cdfce00257ef93f0c29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/features/projects/presentation/projects_page.dart:1072-1096 | lib/shared/ui/history_entry_dialog.dart:156-182 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/projects/presentation/projects_page.dart"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"71efd5f238ef496f20a86f2cd6c0b961f38d11f369dedd77cd04cdb2b112b171"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/services/scan_directory_service.dart:78-94 | lib/services/scan_directory_service.dart:96-119 \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/services/scan_directory_service.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92cdd2bd8732ce633f873d7b11f411634016cfbc449eb2ec8ba36c71598915a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/features/projects/presentation/projects_page.dart:1231-1245 | lib/features/tools/presentation/tools_page.dart:725-749 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/projects/presentation/projects_page.dart"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"681c1fa66ca6e54afe2b81c3053302627cecc5472e91a78b587268a9d9df1194"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/features/config/presentation/config_page.dart:705-726 | lib/shared/ui/action_preview_dialog.dart:352-377 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/config/presentation/config_page.dart"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c64e085c62c3f6281bc555cb842b977182344d239298957c1c6a1e6edbbfaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/services/project_scan_service.dart:487-496 | lib/services/project_scan_service.dart:498-509 \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/services/project_scan_service.dart"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfd163f23a2a70f300e230f1db8c45acce24638026e071ce5b6fa58bcf7d1f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/features/tools/presentation/tools_page.dart:475-491 | lib/services/mise_action_service.dart:160-176 \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/features/tools/presentation/tools_page.dart"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4f8a474bcb6a9673fec4c74ca6cb32d53f285fbad564059cb27a7611c0ba88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/services/mise_self_update_service.dart:91-111 | lib/services/mise_self_update_service.dart:113-130 \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/services/mise_self_update_service.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54fd40fbaccc5edcbb0ef7c2d117c1915564117074f88207ab348259f93b36d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): lib/services/mise_query_service.dart:238-248 | lib/services/mise_query_service.dart:250-260 | lib/services/mise_query_service.dart:262-274 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 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/services/mise_query_service.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"efdaa7818f8121b2ea9a136223499c97949b74e206cdaccdef78cded9269e65d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/app/shell/app_shell.dart:149-166 | lib/app/shell/app_shell.dart:538-552 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/shell/app_shell.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"0005843c5f5120929a2e26d39c48b5eee1cff9c500da09822a6be3b27a9abb11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/models/app_models.dart:374-381 | lib/services/project_scan_service.dart:632-639 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/models/app_models.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f20e3877e00c9e6ca466d482bcc0796f4a319235f8e020e29e746d866fb41f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/features/tools/presentation/tools_page.dart:596-602 | lib/services/mise_action_service.dart:437-443 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/tools/presentation/tools_page.dart"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66db7e99f3a371a10dba7ef0bcdd55df1b27630eac7ddc960deefc560f43d56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/features/projects/presentation/projects_page.dart:582-588 | lib/services/mise_process_service.dart:665-671 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/projects/presentation/projects_page.dart"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2c9d0fd863cca4687cdc9c75dcbe3b0d579a64d663eee1b1fb4d8cf13b3c29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/features/projects/presentation/projects_page.dart:1329-1344 | lib/features/tools/presentation/tools_page.dart:2135-2147 \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/features/projects/presentation/projects_page.dart"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"a533bf2eb6dafcf73fd79a88567c8fd0989b6ffb838169ae2a52ffb33aacd5c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/features/config/presentation/config_page.dart:419-427 | lib/features/projects/presentation/projects_page.dart:1444-1454 \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/features/config/presentation/config_page.dart"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd68fb6a7e53a041cccee7cea55e29a15abca8ebfc80fd23a2223d2b5f6b4e4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/services/config_service.dart:454-458 | lib/services/mise_cli_service.dart:815-819 \u2014 These two members are one piece of code written twice and then edited apart: 5 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/services/config_service.dart"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7f61015a88b785bfde78fa8b85b6c0c1d66cc7abda1b1f3e22d9b936db8f8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/services/mise_action_service.dart:50-55 | lib/services/mise_process_service.dart:640-645 \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/services/mise_action_service.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"103c6bbfd00b5382f0205520d6767d8dd864eb952e39aeed1e08904bc987455d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/services/config_service.dart:1067-1073 | lib/services/history_service.dart:179-182 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/config_service.dart"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18ca8e4b1398c9cb936eaf180117f131f22cbb24e085717c013b2cfabffffb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (59\u201360 lines \u00D7 2): lib/services/mise_cli_service.dart:1006-1065 | lib/services/mise_cli_service.dart:1107-1165 \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/services/mise_cli_service.dart:1006\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/mise_cli_service.dart"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"07bede8096439fc137eb38f3cbfdaa876d3de093361f20601d46d9a77af6a1ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): lib/features/config/presentation/config_page.dart:1558-1594 | lib/features/config/presentation/config_page.dart:1922-1958 \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/features/config/presentation/config_page.dart:1558\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/features/config/presentation/config_page.dart"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6e1e31a974981d1a314a7ed446bf6a74bbb130bfb5bc9f8cce5a9186dd4ff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 3): lib/features/config/presentation/config_page.dart:1411-1446 | lib/features/config/presentation/config_page.dart:1767-1802 | lib/features/config/presentation/config_page.dart:2500-2535 \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/features/config/presentation/config_page.dart:1411\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/features/config/presentation/config_page.dart"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0a9c808b307cbec86ee18c2eadbde5e5e6c6800c9a77ac1defdf8599e25777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): lib/services/config_service.dart:621-653 | lib/services/project_scan_service.dart:430-462 \u2014 before extracting anything, compare \u0060lib/services/config_service.dart\u0060 and \u0060lib/services/project_scan_service.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/services/config_service.dart"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"2325b8894fbdde4ac10cea56f671b29244973a23dbbbd5cf0fd4c6d4b46daa51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201333 lines \u00D7 2): lib/services/project_scan_service.dart:673-701 | lib/services/project_scan_service.dart:703-735 \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/services/project_scan_service.dart:673\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/services/project_scan_service.dart"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f6444b3f78e49de406adec1405030b8dc23e92b4f5fe6f26c573feff78e6f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3): lib/features/config/presentation/config_page.dart:1448-1476 | lib/features/config/presentation/config_page.dart:1804-1832 | lib/features/config/presentation/config_page.dart:2537-2565 \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/features/config/presentation/config_page.dart:1448\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/features/config/presentation/config_page.dart"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d0edc91881628d1fcf2daf349abc721e2c41e53b118569e138e1de159a848e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 2): lib/services/mise_cli_service.dart:1060-1088 | lib/services/mise_cli_service.dart:1313-1339 \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/services/mise_cli_service.dart:1060\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/services/mise_cli_service.dart"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a73bb5c2960c967b7e2c891ca309580078c71987f8e44432613d66e1441f7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 4): lib/features/config/presentation/config_page.dart:1462-1488 | lib/features/config/presentation/config_page.dart:1818-1844 | lib/features/config/presentation/config_page.dart:2250-2275 | lib/features/config/presentation/config_page.dart:2551-2577 \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/features/config/presentation/config_page.dart:1462\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/features/config/presentation/config_page.dart"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d69810f678ad9177a392debeef563747c29b418c8ec06ce149c81a5eca6c605"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/services/mise_cli_service.dart:1092-1116 | lib/services/mise_cli_service.dart:1190-1214 \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/services/mise_cli_service.dart:1092\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/services/mise_cli_service.dart"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b911b64b83f74081290929315e056c50d4e151a98fec4da04275f82e01c67e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): lib/features/config/presentation/config_page.dart:1559-1582 | lib/features/config/presentation/config_page.dart:1923-1946 | lib/features/config/presentation/config_page.dart:2721-2744 \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/features/config/presentation/config_page.dart:1559\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/features/config/presentation/config_page.dart"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aed3bb1adaf054706bd91d3f9634c972c092b6ed92f9f3bde4c3ae7df05e01a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/features/config/presentation/config_page.dart:1669-1691 | lib/features/config/presentation/config_page.dart:2076-2098 \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/features/config/presentation/config_page.dart:1669\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/features/config/presentation/config_page.dart"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bdc5c311495b0f100665518e4e13687b2b7d7ae849bb48898e0c8ef71deb9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/services/mise_process_service.dart:399-420 | lib/services/mise_self_update_service.dart:159-180 \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/services/mise_process_service.dart:399\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/services/mise_process_service.dart"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"325a5cb41afa49d41fdc33ed6c577b4eff20a2034c46e35002f9a8a924cbb9c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): lib/features/config/presentation/config_page.dart:1584-1603 | lib/features/config/presentation/config_page.dart:1948-1967 | lib/features/config/presentation/config_page.dart:2746-2765 \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/features/config/presentation/config_page.dart:1584\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/features/config/presentation/config_page.dart"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"0851cc5736b591cf2a8170e33d9eb98f541b6cde221c6b46e38b9e3696e8fd37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/features/config/presentation/config_page.dart:806-825 | lib/features/config/presentation/config_page.dart:921-940 \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/features/config/presentation/config_page.dart:806\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/features/config/presentation/config_page.dart"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"e656f4bb0b7ec91fdfc304fa872e4a4b325c46b651c258b64141bed3b50a653a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 4): lib/features/config/presentation/config_page.dart:1538-1556 | lib/features/config/presentation/config_page.dart:1902-1920 | lib/features/config/presentation/config_page.dart:2348-2366 | lib/features/config/presentation/config_page.dart:2701-2718 \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/features/config/presentation/config_page.dart:1538\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/features/config/presentation/config_page.dart"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e7a0fcdf912cbe6208f451b0d61868c3fcb4e2a7c1b1897a8f712dad735cdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): lib/services/mise_cli_service.dart:1024-1042 | lib/services/mise_cli_service.dart:1125-1142 | lib/services/mise_cli_service.dart:1216-1233 \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/services/mise_cli_service.dart:1024\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/services/mise_cli_service.dart"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97832343b75e0842f4f1d25c6cddaa2cc246fe78884bac899e0d54b9a46aed0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): lib/features/projects/presentation/projects_page.dart:328-345 | lib/services/scan_directory_service.dart:280-298 \u2014 before extracting anything, compare \u0060lib/features/projects/presentation/projects_page.dart\u0060 and \u0060lib/services/scan_directory_service.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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. 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/features/projects/presentation/projects_page.dart"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e68291aeff41a936b91341f7d829384846719633c4bfbeb3e0f145dc8f5d8bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201319 lines \u00D7 3): lib/services/config_service.dart:961-971 | lib/services/config_service.dart:972-990 | lib/services/config_service.dart:994-1012 \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/services/config_service.dart:961\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/services/config_service.dart"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb165a0ef0253744d4278225c515f78c995f5909150ec16a79eb6264706c4050"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): lib/services/mise_cli_service.dart:1087-1104 | lib/services/mise_cli_service.dart:1185-1202 | lib/services/mise_cli_service.dart:1271-1288 \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/services/mise_cli_service.dart:1087\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/mise_cli_service.dart"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2991b5c2cd870a4b5a20c69d2c77dece4cde45ca375317bff95d4f410023e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/services/config_service.dart:153-170 | lib/services/config_service.dart:243-260 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/config_service.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"78567bbb7ac25eb741a3400ed305243f499a3d8368eeea150dedfb414b50ea23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): lib/shared/ui/action_preview_dialog.dart:108-125 | lib/shared/ui/action_preview_dialog.dart:291-306 \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/shared/ui/action_preview_dialog.dart:108\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/shared/ui/action_preview_dialog.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a669d68f4b6185607d40ea0e5bd85d6b4a00cfcdb0fc928cefd310e1a70fdae4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): lib/services/mise_cli_service.dart:988-1004 | lib/services/mise_cli_service.dart:1089-1105 | lib/services/mise_cli_service.dart:1187-1203 | lib/services/mise_cli_service.dart:1273-1289 \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/services/mise_cli_service.dart:988\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/services/mise_cli_service.dart"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92eb72838734588a835c3c039b03629718b8c255e6bbd976b5fa348df976554"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): lib/services/mise_cli_service.dart:1067-1085 | lib/services/mise_cli_service.dart:1167-1183 | lib/services/mise_cli_service.dart:1251-1269 | lib/services/mise_cli_service.dart:1320-1336 \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/services/mise_cli_service.dart:1067\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/mise_cli_service.dart"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1957382c56bb372ab4d9c01525a181c0e6ea6bde04fdd980f1038c684988add"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): lib/app/shell/app_shell.dart:1019-1035 | lib/features/dashboard/presentation/dashboard_page.dart:780-796 | lib/features/projects/presentation/projects_page.dart:1173-1189 \u2014 before extracting anything, compare \u0060lib/app/shell/app_shell.dart\u0060 and \u0060lib/features/dashboard/presentation/dashboard_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/app/shell/app_shell.dart:1019\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/app/shell/app_shell.dart:1016\u0060 calls \u0060fromLTRB\u0060 and \u0060lib/features/projects/presentation/projects_page.dart:1170\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/app/shell/app_shell.dart"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da242e365d9fc4d2f9c22e913c60283440b251e8a0bf005c2303780efb49aeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): lib/app/shell/app_shell.dart:1195-1210 | lib/app/shell/app_shell.dart:1250-1266 \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/app/shell/app_shell.dart:1195\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/app/shell/app_shell.dart"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a1b4ad043db2eac946f4a3f04e6991894086ff71cc1b2dcca9e8a3cea0279e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): lib/app/theme/app_theme.dart:257-272 | lib/app/theme/app_theme.dart:314-330 \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/app/theme/app_theme.dart:257\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/theme/app_theme.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cb75b326863d6439e46835eccafc4a50f542e4fb948d999d9b9fe9e9153ce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/features/config/presentation/config_page.dart:767-783 | lib/features/config/presentation/config_page.dart:882-898 \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/features/config/presentation/config_page.dart:767\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/config/presentation/config_page.dart"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9082b4f36794a4d1f9a5a88500a87c63deed793a5610f95c5efec264cc9e8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/features/config/presentation/config_page.dart:2302-2318 | lib/features/config/presentation/config_page.dart:2658-2674 \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/features/config/presentation/config_page.dart:2302\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/features/config/presentation/config_page.dart"},"region":{"startLine":2302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fdec6168faf317360c063592a08e9746ae355cab7d29543c48d526b1f7a86a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/services/app_update_service.dart:149-165 | lib/services/mise_self_update_service.dart:364-380 \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/services/app_update_service.dart:149\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/services/app_update_service.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f6ebcc19602a5d45424923754826ffd529652355024180c44f6bcc29f267c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): lib/features/config/presentation/config_page.dart:735-750 | lib/features/config/presentation/config_page.dart:853-867 | lib/features/config/presentation/config_page.dart:973-988 | lib/features/projects/presentation/projects_page.dart:1166-1180 \u2014 before extracting anything, compare \u0060lib/features/config/presentation/config_page.dart\u0060 and \u0060lib/features/projects/presentation/projects_page.dart\u0060 as WHOLE FILES: this scan already matched 10 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 \u0060lib/features/config/presentation/config_page.dart:735\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/features/config/presentation/config_page.dart"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd61b35d7fb82c578dbe8e699fe6cdcb342301104d7fc452e32e524d83e6b943"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): lib/features/config/presentation/config_page.dart:1425-1440 | lib/features/config/presentation/config_page.dart:1781-1796 | lib/features/config/presentation/config_page.dart:2183-2198 | lib/features/config/presentation/config_page.dart:2514-2529 \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/features/config/presentation/config_page.dart:1425\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/features/config/presentation/config_page.dart"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"0739664ed70e84e325465ede7171e445c9c10680fc9f55bb1bbd338c9f6b7d67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/features/config/presentation/config_page.dart:168-183 | lib/features/projects/presentation/projects_page.dart:87-102 \u2014 before extracting anything, compare \u0060lib/features/config/presentation/config_page.dart\u0060 and \u0060lib/features/projects/presentation/projects_page.dart\u0060 as WHOLE FILES: this scan already matched 10 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 \u0060lib/features/config/presentation/config_page.dart:168\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/config/presentation/config_page.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"726c58d150bdba560cf6849a259e82881c4196897e05cc1b3a53452a3d2bd966"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/features/dashboard/presentation/dashboard_page.dart:751-766 | lib/features/tools/presentation/tools_page.dart:782-797 \u2014 before extracting anything, compare \u0060lib/features/dashboard/presentation/dashboard_page.dart\u0060 and \u0060lib/features/tools/presentation/tools_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/features/dashboard/presentation/dashboard_page.dart:751\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/features/dashboard/presentation/dashboard_page.dart"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"971e62bece1496754d1a7e23996e3c0eeff7591f4bba277059e952cbde399355"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): lib/features/tools/presentation/tools_page.dart:649-663 | lib/shared/ui/action_preview_dialog.dart:280-295 \u2014 before extracting anything, compare \u0060lib/features/tools/presentation/tools_page.dart\u0060 and \u0060lib/shared/ui/action_preview_dialog.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/features/tools/presentation/tools_page.dart:649\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/features/tools/presentation/tools_page.dart"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81750d96631c9c4fd03b7e134e24651e21ee7a48b7ca2a7e82cbea081cf813d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lib/features/tools/presentation/tools_page.dart:1618-1632 | lib/shared/ui/app_page_scaffold.dart:57-70 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/features/tools/presentation/tools_page.dart:1618\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/features/tools/presentation/tools_page.dart"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"5870050be4754d9daa5290c6b83f44f73f122964ce22ffd945dabc6cba98b426"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lib/services/history_service.dart:56-69 | lib/services/scan_directory_service.dart:122-136 \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/services/scan_directory_service.dart:122\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/services/history_service.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"917946d0f7f6573247a91e8ff45758adac3252e5047c982d195b214a437dd5eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lib/features/config/presentation/config_page.dart:167-180 | lib/features/dashboard/presentation/dashboard_page.dart:67-80 | lib/features/projects/presentation/projects_page.dart:86-99 \u2014 before extracting anything, compare \u0060lib/features/config/presentation/config_page.dart\u0060 and \u0060lib/features/dashboard/presentation/dashboard_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/features/config/presentation/config_page.dart:167\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/config/presentation/config_page.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"776e3578e907b9182412bafda514b4f3960ca7e6f18ac5c0c058d8dc7e9b1127"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/shared/ui/action_preview_dialog.dart:89-102 | lib/shared/ui/action_preview_dialog.dart:324-337 \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/shared/ui/action_preview_dialog.dart:89\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/shared/ui/action_preview_dialog.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e673e215e0193c6458154e4e8b6c780f9bc4c83c1db9b93a1d2fb3b74ce700d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): lib/features/tools/presentation/tools_page.dart:644-656 | lib/features/tools/presentation/tools_page.dart:1012-1024 | lib/shared/ui/action_preview_dialog.dart:68-80 \u2014 before extracting anything, compare \u0060lib/features/tools/presentation/tools_page.dart\u0060 and \u0060lib/shared/ui/action_preview_dialog.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/features/tools/presentation/tools_page.dart:643\u0060 calls \u0060BoxConstraints\u0060 and \u0060lib/features/tools/presentation/tools_page.dart:1011\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/features/tools/presentation/tools_page.dart"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f40616ae9641c7c05f8ae9f46be3067c53ba59851d736a8b6f8d1f3a228b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/features/config/presentation/config_page.dart:561-573 | lib/features/projects/presentation/projects_page.dart:716-728 \u2014 before extracting anything, compare \u0060lib/features/config/presentation/config_page.dart\u0060 and \u0060lib/features/projects/presentation/projects_page.dart\u0060 as WHOLE FILES: this scan already matched 10 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 \u0060lib/features/config/presentation/config_page.dart:561\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/features/config/presentation/config_page.dart"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1910813654671afbe6f833df74ca76172e6eca0509c204090b6c4afa5f0d869"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/features/tools/presentation/tools_page.dart:1968-1980 | lib/features/tools/presentation/tools_page.dart:1987-1999 \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/features/tools/presentation/tools_page.dart:1968\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/features/tools/presentation/tools_page.dart"},"region":{"startLine":1968}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca815eefe1971666f50c7c8d9ee81c16388fa3400af587a53584ec162b3b58ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): lib/services/config_service.dart:664-676 | lib/services/project_scan_service.dart:471-480 \u2014 before extracting anything, compare \u0060lib/services/config_service.dart\u0060 and \u0060lib/services/project_scan_service.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/services/config_service.dart"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"7635e9c371d02d469076726b0c3c64dd214d46f1d20a174372e0ef836b59c6c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/services/mise_action_service.dart:66-77 | lib/services/mise_action_service.dart:134-146 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/services/mise_action_service.dart:66\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/services/mise_action_service.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8f47fee5bcb05ae9e53d8e5e2e28db70e3fd9f11a50d4a1f3d632884c99804"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/services/mise_process_service.dart:523-535 | lib/services/mise_self_update_service.dart:228-240 \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/services/mise_process_service.dart"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcfcc549d06b7fb152a0078f33da8c32f5ccfdd26afe45bb5470bc9e76ca6d5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/services/project_scan_service.dart:185-196 | lib/services/scan_directory_service.dart:210-222 \u2014 before extracting anything, compare \u0060lib/services/project_scan_service.dart\u0060 and \u0060lib/services/scan_directory_service.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 31 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/services/project_scan_service.dart:185\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/services/scan_directory_service.dart:209\u0060 calls \u0060_dedupe\u0060 and \u0060lib/services/project_scan_service.dart:184\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/services/project_scan_service.dart"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f053df0a8e93691e219d1114a39e919550bbc6118a44fbee34fd61e20667499"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/shared/ui/action_preview_dialog.dart:127-139 | lib/shared/ui/action_preview_dialog.dart:308-319 \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/shared/ui/action_preview_dialog.dart:127\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/shared/ui/action_preview_dialog.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f263a9737d9b0f7524ccd2108bc38cd46cf25450fdbb47439caaf3ce96f095"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): lib/app/shell/app_shell.dart:1018-1029 | lib/features/config/presentation/config_page.dart:859-870 | lib/features/dashboard/presentation/dashboard_page.dart:779-790 | lib/features/projects/presentation/projects_page.dart:1172-1183 \u2014 before extracting anything, compare \u0060lib/app/shell/app_shell.dart\u0060 and \u0060lib/features/dashboard/presentation/dashboard_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/app/shell/app_shell.dart:1018\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/app/shell/app_shell.dart:1016\u0060 calls \u0060fromLTRB\u0060 and \u0060lib/features/config/presentation/config_page.dart:857\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/app/shell/app_shell.dart"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2964b8bd803e676f662da7fbcf2d4016a8e31669756b68c420a14210c9c4fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/app/bootstrap/app.dart:193-204 | lib/app/shell/app_shell.dart:937-947 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/app/bootstrap/app.dart:193\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/app/bootstrap/app.dart"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f41242c40bf1e7c66a69bb147f1fc20366d767bd50f4881ba75ba503ee26c73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/app/shell/app_shell.dart:930-941 | lib/features/tools/presentation/tools_page.dart:2183-2194 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/app/shell/app_shell.dart:930\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/app/shell/app_shell.dart"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c811c3942652d2b447e4cebcf055901b72d686d1ff8754c151f58060021f2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 5): lib/features/tools/presentation/tools_page.dart:1134-1143 | lib/features/tools/presentation/tools_page.dart:1774-1783 | lib/features/tools/presentation/tools_page.dart:2174-2183 | lib/shared/ui/action_preview_dialog.dart:386-395 | lib/shared/ui/history_entry_dialog.dart:322-332 \u2014 before extracting anything, compare \u0060lib/features/tools/presentation/tools_page.dart\u0060 and \u0060lib/shared/ui/action_preview_dialog.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/features/tools/presentation/tools_page.dart:1134\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/features/tools/presentation/tools_page.dart"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7c120a7fa98be6f2a21a8dd2bef5602f9bffa3d6575ae9083475108ef129ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): lib/app/theme/app_theme.dart:259-267 | lib/app/theme/app_theme.dart:317-325 | lib/app/theme/app_theme.dart:388-398 \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/app/theme/app_theme.dart:388\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/theme/app_theme.dart"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"a847bb7781d42edd95e39643b8070613c8aa34cee0d301083fc3848059eed3e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/features/config/presentation/config_page.dart:2226-2236 | lib/shared/ui/command_preview.dart:20-29 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/features/config/presentation/config_page.dart:2226\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/features/config/presentation/config_page.dart"},"region":{"startLine":2226}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f70e3445bc2b6e323a359f817489029e2d241b50ab98f3b6d9e9d1878ade45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/app/theme/app_theme.dart:238-247 | lib/app/theme/app_theme.dart:298-307 | lib/app/theme/app_theme.dart:372-381 \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/app/theme/app_theme.dart:238\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/app/theme/app_theme.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"3899631800592db3ecfa631a9c8f407a48c6a8579e747e95650a2f66cbfee8c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/app/bootstrap/app.dart:153-162 | lib/shared/ui/history_entry_dialog.dart:33-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/app/bootstrap/app.dart:153\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/app/bootstrap/app.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18aa03bb88b68346bc5d380d39a895768282cb25d714d27abc22bb5fd37802d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/features/tools/presentation/tools_page.dart:2044-2052 | lib/shared/ui/status_badge.dart:11-20 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/features/tools/presentation/tools_page.dart:2044\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/features/tools/presentation/tools_page.dart"},"region":{"startLine":2044}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c675506da18e2eae2924aa4cd4bef83eaf6964b4274ef0de26408e5baf2ed88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/repositories/dashboard_repository.dart:430-439 | lib/services/mise_self_update_service.dart:333-342 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/repositories/dashboard_repository.dart:430\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/repositories/dashboard_repository.dart"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4579c7de3a55dea1304f452d0f1a3c89884874fc7b6f8071dade00b4007de4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): lib/app/shell/app_shell.dart:1024-1032 | lib/app/shell/app_shell.dart:1115-1123 | lib/features/dashboard/presentation/dashboard_page.dart:785-793 | lib/features/projects/presentation/projects_page.dart:1178-1186 | lib/features/tools/presentation/tools_page.dart:1292-1300 \u2014 before extracting anything, compare \u0060lib/app/shell/app_shell.dart\u0060 and \u0060lib/features/dashboard/presentation/dashboard_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/app/shell/app_shell.dart:1024\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/app/shell/app_shell.dart"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c4995b2af06e20cfda9097879553bc1fcbfdcfefaeabbeb013bef3fdfce4e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): lib/app/shell/app_shell.dart:1025-1033 | lib/features/dashboard/presentation/dashboard_page.dart:786-794 | lib/features/projects/presentation/projects_page.dart:608-616 | lib/features/projects/presentation/projects_page.dart:1179-1187 \u2014 before extracting anything, compare \u0060lib/app/shell/app_shell.dart\u0060 and \u0060lib/features/dashboard/presentation/dashboard_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/shell/app_shell.dart"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"083525de68aacaeedcc61dc76b9c460dadd842e51c9670a779c2310442fd8689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): lib/app/theme/app_theme.dart:239-247 | lib/app/theme/app_theme.dart:299-307 | lib/app/theme/app_theme.dart:338-346 | lib/app/theme/app_theme.dart:373-381 \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. 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/app/theme/app_theme.dart"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4dcce7a1776ce276d2ce454e92eeadfc432b9eb5bcc75a807534b8c64583cbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lib/features/config/presentation/config_page.dart:338-346 | lib/features/config/presentation/config_page.dart:357-365 | lib/features/config/presentation/config_page.dart:376-384 \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/features/config/presentation/config_page.dart:338\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/features/config/presentation/config_page.dart"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c621a7f7cae456783e59f72fe4ca1868e7975ae08f0a4be979db2a80db858e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/app/shell/app_shell.dart:927-935 | lib/app/shell/app_shell.dart:1109-1117 \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/app/shell/app_shell.dart:927\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/app/shell/app_shell.dart"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0797ada150c73276946a6d1578d3ad8c8ce2f2d3a4c5648da69818e5290de6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): lib/features/projects/presentation/projects_page.dart:1236-1242 | lib/shared/ui/recent_history_dialog.dart:179-187 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/shared/ui/recent_history_dialog.dart:179\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/features/projects/presentation/projects_page.dart"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9e035b0f2925f9b139d5bc8f098fd2d385f541b821722e4a1530608322df1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/repositories/dashboard_repository.dart:116-124 | lib/repositories/dashboard_repository.dart:151-159 \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/repositories/dashboard_repository.dart:116\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/repositories/dashboard_repository.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"671281f8d172f8552a6d432be4a460b8ef9bfe08f5216f518ec1cf58fe72e07f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): lib/features/config/presentation/config_page.dart:1202-1209 | lib/features/projects/presentation/projects_page.dart:800-807 | lib/features/tools/presentation/tools_page.dart:1614-1621 | lib/features/tools/presentation/tools_page.dart:1781-1788 \u2014 before extracting anything, compare \u0060lib/features/config/presentation/config_page.dart\u0060 and \u0060lib/features/projects/presentation/projects_page.dart\u0060 as WHOLE FILES: this scan already matched 10 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 \u0060lib/features/config/presentation/config_page.dart:1202\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/features/config/presentation/config_page.dart"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edb1c258169e0cef3c8ea83ce0081eb7893e8cabea3591b42f8e30c991053b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/features/projects/presentation/projects_page.dart:737-744 | lib/features/tools/presentation/tools_page.dart:1611-1618 | lib/features/tools/presentation/tools_page.dart:1778-1785 \u2014 before extracting anything, compare \u0060lib/features/projects/presentation/projects_page.dart\u0060 and \u0060lib/features/tools/presentation/tools_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/features/projects/presentation/projects_page.dart:737\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/features/projects/presentation/projects_page.dart"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef772aa181211c0a026f44649fda1b2b8c80fe8d602c9152083757fabb671969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/repositories/dashboard_repository.dart:118-125 | lib/repositories/dashboard_repository.dart:128-135 | lib/repositories/dashboard_repository.dart:153-160 \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/repositories/dashboard_repository.dart:118\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/repositories/dashboard_repository.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a4e57b7403cd55d4f9711f1043855f56027f8deb73be69dd29d960fb84d935"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/app/bootstrap/app.dart:191-200 | lib/app/shell/app_shell.dart:1232-1239 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/app/bootstrap/app.dart:191\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/app/bootstrap/app.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8ff55951947c8019698e0df332714981f8b773a470171591eeda2e55d832dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/features/dashboard/presentation/dashboard_page.dart:740-747 | lib/features/tools/presentation/tools_page.dart:764-771 \u2014 before extracting anything, compare \u0060lib/features/dashboard/presentation/dashboard_page.dart\u0060 and \u0060lib/features/tools/presentation/tools_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/dashboard/presentation/dashboard_page.dart"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef55e90d7e7f6791469ddeb953b03625be037084958d7a280af7a0d8dd405ed5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/services/config_service.dart:701-708 | lib/services/config_service.dart:769-776 \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/services/config_service.dart:701\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/config_service.dart"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"5093ca48e5dc9265930c101d16e2dce2855eb600c03387f18c1218d539ca7843"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/app/bootstrap/app.dart:334-340 | lib/app/bootstrap/app.dart:424-430 \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/app/bootstrap/app.dart:334\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 before the matched lines, \u0060lib/app/bootstrap/app.dart:423\u0060 calls \u0060of\u0060 and \u0060lib/app/bootstrap/app.dart:333\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/app/bootstrap/app.dart"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"0851c964cca687c4c64e1ffaf79aec1321831d9d1e7ffcf0ab958be324e0d530"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/app/shell/app_shell.dart:1186-1193 | lib/features/projects/presentation/projects_page.dart:706-712 \u2014 before extracting anything, compare \u0060lib/app/shell/app_shell.dart\u0060 and \u0060lib/features/projects/presentation/projects_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/app/shell/app_shell.dart:1186\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/app/shell/app_shell.dart"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"551f1a733e8d308e21693a496309937d4bedcbbe341b8dc400351b2d5cc18225"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): lib/features/config/presentation/config_page.dart:1624-1629 | lib/features/config/presentation/config_page.dart:2022-2027 | lib/features/config/presentation/config_page.dart:2422-2427 | lib/features/config/presentation/config_page.dart:2794-2799 | lib/features/dashboard/presentation/dashboard_page.dart:632-637 | lib/features/projects/presentation/projects_page.dart:410-415 | lib/features/tools/presentation/tools_page.dart:434-439 \u2014 before extracting anything, compare \u0060lib/features/config/presentation/config_page.dart\u0060 and \u0060lib/features/dashboard/presentation/dashboard_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 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. 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/features/config/presentation/config_page.dart"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93f9451c9a20c1494acbc6ac00c881f2526e9f83dfcfa1ed97976eeb71c7b60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): lib/features/config/presentation/config_page.dart:1201-1206 | lib/features/projects/presentation/projects_page.dart:739-744 | lib/features/projects/presentation/projects_page.dart:799-804 | lib/features/tools/presentation/tools_page.dart:1613-1618 | lib/features/tools/presentation/tools_page.dart:1780-1785 \u2014 before extracting anything, compare \u0060lib/features/config/presentation/config_page.dart\u0060 and \u0060lib/features/projects/presentation/projects_page.dart\u0060 as WHOLE FILES: this scan already matched 10 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/config/presentation/config_page.dart"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a1909f3d962118d977ef1549406e4c5ce4828ebc03fcbfe9f60aeea0205857"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/app/shell/app_shell.dart:1177-1182 | lib/shared/ui/history_entry_dialog.dart:239-244 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/shell/app_shell.dart"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a936e79090a47c7afdd8e1de4caab9a1f2ea50e9dafcac1768d2ffa05da7d88b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/features/projects/presentation/projects_page.dart:991-996 | lib/shared/ui/status_badge.dart:23-28 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/projects/presentation/projects_page.dart"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"868cc19757ebb059f408f45f5402634811ac9409a11269959d0fcd1c6784f35d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/services/config_service.dart:732-736 | lib/services/config_service.dart:799-803 \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/services/config_service.dart:732\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/services/config_service.dart"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eba6a55f64414681c6e528b5d67ee79bffb5bbeb4bc26d19f9f4f90403f664f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 11): lib/app/shell/app_shell.dart:795-802 | lib/features/config/presentation/config_page.dart:196-203 | lib/features/config/presentation/config_page.dart:1631-1638 | lib/features/config/presentation/config_page.dart:2029-2036 | lib/features/config/presentation/config_page.dart:2429-2436 | lib/features/config/presentation/config_page.dart:2801-2808 | lib/features/dashboard/presentation/dashboard_page.dart:151-158 | lib/features/dashboard/presentation/dashboard_page.dart:639-646 | lib/features/projects/presentation/projects_page.dart:319-326 | lib/features/projects/presentation/projects_page.dart:1543-1550 | lib/features/tools/presentation/tools_page.dart:81-88 \u2014 before extracting anything, compare \u0060lib/app/shell/app_shell.dart\u0060 and \u0060lib/features/dashboard/presentation/dashboard_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/shell/app_shell.dart"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"297d64096744db59e55a4e97672a8df86840ec684a815624d40dc2514f26176a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/features/projects/presentation/projects_page.dart:347-352 | lib/services/project_scan_service.dart:641-646 | lib/services/scan_directory_service.dart:259-264 \u2014 before extracting anything, compare \u0060lib/features/projects/presentation/projects_page.dart\u0060 and \u0060lib/services/scan_directory_service.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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. 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/features/projects/presentation/projects_page.dart"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c84bb52bfb53253620bf93624023dc0d53e66123e3c9cb881285a88f2ebac7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/features/projects/presentation/projects_page.dart:354-360 | lib/services/project_scan_service.dart:648-654 | lib/services/scan_directory_service.dart:266-272 \u2014 before extracting anything, compare \u0060lib/features/projects/presentation/projects_page.dart\u0060 and \u0060lib/services/scan_directory_service.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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. 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/features/projects/presentation/projects_page.dart"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b3f43ded8b9ba5c7502f03e642477ed5a62b5dc5635988ee6b07d24d839b6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/features/tools/presentation/tools_page.dart:467-473 | lib/services/project_scan_service.dart:393-399 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/tools/presentation/tools_page.dart"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa563f8ddb0d3d1139ad49501fa260c0f1ceb17c1448174e0e9e638d8abfc61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/services/config_service.dart:460-466 | lib/services/project_scan_service.dart:401-407 \u2014 before extracting anything, compare \u0060lib/services/config_service.dart\u0060 and \u0060lib/services/project_scan_service.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/services/config_service.dart"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a3d1b7730e5ff953f4fabda69be3b806977c6831b872668226bf2816df1c16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/services/project_scan_service.dart:656-660 | lib/services/scan_directory_service.dart:274-278 \u2014 before extracting anything, compare \u0060lib/services/project_scan_service.dart\u0060 and \u0060lib/services/scan_directory_service.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 31 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/services/project_scan_service.dart"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5754d28d0c73cb1f34cc563a70182ef4c54cd51e143c386c296fecc85ecc4b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/features/config/presentation/config_page.dart:405-411 | lib/features/projects/presentation/projects_page.dart:1430-1436 \u2014 before extracting anything, compare \u0060lib/features/config/presentation/config_page.dart\u0060 and \u0060lib/features/projects/presentation/projects_page.dart\u0060 as WHOLE FILES: this scan already matched 10 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/config/presentation/config_page.dart"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a68fc75921ef2ca413bf89f4478580c33156c816afd55aaaca12332dff38b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/features/projects/presentation/projects_page.dart:1666-1670 | lib/models/app_models.dart:483-487 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/projects/presentation/projects_page.dart"},"region":{"startLine":1666}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ef79b2822e7b306056ecf140450e33ebfb0fceaaf22ef7d4173e8fd59b604b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): scripts/generate_macos_dmg_background.py:90-103 | scripts/generate_macos_dmg_background.py:125-135 | scripts/generate_macos_dmg_background.py:139-150 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 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":"scripts/generate_macos_dmg_background.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9db1e013a626338303a61e4b1d248ce6a72cd16bfbebb5586c905d163acc99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): scripts/generate_macos_dmg_background.py:129-135 | scripts/generate_macos_dmg_background.py:144-150 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/generate_macos_dmg_background.py:129\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate_macos_dmg_background.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"009cb4c572c392e0ffee31aa064022011b310c682a0ed15624b84429a30d96b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/features/tools/presentation/tools_page.dart: lib/features/tools/presentation/tools_page.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in _ToolsPageState._openToolActionPreview at line 266. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-17..2026-05-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-17 23:40:28 \u002B08:00\u0027 --until=\u00272026-05-18 23:40:28 \u002B08:00\u0027 --full-history --no-merges -- lib/features/tools/presentation/tools_page.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/tools/presentation/tools_page.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66b0b05d3e91320ffbdfa479d1b1a9350c9a1b647db2c784b98fc2526ee38d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/app/shell/app_shell.dart: lib/app/shell/app_shell.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in _SidebarDestination.build at line 416. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-17..2026-05-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-17 23:40:28 \u002B08:00\u0027 --until=\u00272026-05-18 23:40:28 \u002B08:00\u0027 --full-history --no-merges -- lib/app/shell/app_shell.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/shell/app_shell.dart"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a6d78b333cee388efaccce6e341ae6b8480ff23eea3b947c471f678c706143"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/services/config_service.dart: lib/services/config_service.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in LiveConfigService.fetchWorkspace at line 144. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-17..2026-05-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-17 23:40:28 \u002B08:00\u0027 --until=\u00272026-05-18 23:40:28 \u002B08:00\u0027 --full-history --no-merges -- lib/services/config_service.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/config_service.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bfb4c9b84fcbb88384919401973c8d9aa7a0094868121e5959cdf5cf387129"}},{"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 \u0060macos/Runner.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Runner.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f0bd4325cb484fa699f9766497db05ed665b24b57923e0afe7629a5ed95be7"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (19274 LoC, 126 module-visible types across 13 directories) overshoots its size bounds. 1 of 2 build unit(s) (Xcode, npm) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2d5244dbb9040f0ef9a41721fc246c38399605a5b233c47266a2093207fec1"}},{"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":"703b990f6d9a60db46de372b4bc3713bc769740b61be7dfed2b23b523664ac12"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c7dbe33d82241e0b21825054a54bdb186884f6f3c0f1e418a816176e48cb4b8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc26593caf509b487cb3dff9d1a587737a02c72fc5e13e59c1a151f7d6412ad4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2938cbbd9bce394ec7a4888b273558445b405e2828354b851f4e6ee983b515a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"31e15292ee7781495cff3025f3779e23aded0d07be93120b45c65e1d6518c389"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89d8772fe25ffd2a780911a54e0087c1c273b90b1e5e3da597ff81d83ad1c68e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4fa3a3025b7a9052cbd7b0d8a17b7d24287898600c95850a4b97997b4072afa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7adc332f2d68b4a8e35c8868ce3df7038dc1a68ece15e2a5c16dee165f7a002c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64aee044c1f4dd4bb7a77441c8cfb2ad1960dbe2c5bbb6dcc4a3af1fa08e7b62"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"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":"c6eb5a94052c328a9f9d4f3228923a5f2d4d56700f96d3ddbb1b358415402983"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add the Dart analyzer\u0027s security lints plus \u0060semgrep --config=auto\u0060 as a CI step. What was searched, so you can tell an absence from a miss: the 2 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/ci.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/release.yml"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(quote != \u0027\u0022\u0027 \u0026\u0026 quote != \u0022\u0027\u0022) || trimmed[trimmed.length - 1] != quote\u0060 appears character-identically in 3 files \u2014 lib/features/config/presentation/config_page.dart, lib/services/config_service.dart, lib/services/mise_process_service.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/features/config/presentation/config_page.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"099598ab209e270350eed57a212a17583557824a861e32d744a679d3f16507bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Platform.isMacOS \u0026\u0026 home != null \u0026\u0026 home.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/history_service.dart, lib/services/scan_directory_service.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/services/history_service.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacb644d009da7ca5896bfdd134c934b29117bdab627e14750eea1a6c402e8b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Platform.isWindows \u0026\u0026 appData != null \u0026\u0026 appData.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/services/history_service.dart, lib/services/scan_directory_service.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/services/history_service.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ffb4b16beb102d39da2e01317ff608a0f5d714cbfa124094554b297730b433"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_lastRefreshAt != null \u0026\u0026 now.difference(_lastRefreshAt!) \u003C _refreshDebounce\u0060 appears character-identically in 3 files \u2014 lib/features/config/presentation/config_page.dart, lib/features/dashboard/presentation/dashboard_page.dart, lib/features/projects/presentation/projects_page.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/features/config/presentation/config_page.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23f068b946e7a4a00ad4a944da35010b7314aec5c6f50f44d06e3a179522d2b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060binding.declaredInProject \u0026\u0026 !binding.declaredInGlobal\u0060 appears character-identically in 2 files \u2014 lib/models/app_models.dart, lib/services/project_scan_service.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/models/app_models.dart"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"92363a7ef6188dd50f27b166a4bfbcedef3ac18d8c04173446a49d961395aaa7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060content == null || content.trim().isEmpty\u0060 appears character-identically in 3 files \u2014 lib/services/config_service.dart, lib/services/mise_process_service.dart, lib/services/project_scan_service.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/services/config_service.dart"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"528344985a400cd7ffeda92ab62f97f127d622b08cd83443b5a9b4c3c6c79887"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line.isNotEmpty \u0026\u0026 !line.startsWith(\u0027#\u0027)\u0060 appears character-identically in 2 files \u2014 lib/features/tools/presentation/tools_page.dart, lib/services/mise_action_service.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/features/tools/presentation/tools_page.dart"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"e546b7363347f88a7ab961cf888b8e6d2d33345ec5eb6f48efe688e22dd56634"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalizedChild == normalizedParent || normalizedChild.startsWith(\u0027$normalizedParent/\u0027)\u0060 appears character-identically in 3 files \u2014 lib/features/projects/presentation/projects_page.dart, lib/services/project_scan_service.dart, lib/services/scan_directory_service.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/features/projects/presentation/projects_page.dart"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4747d80887e89a88efd33c3e26d84a3c5ccb2c0850d6390bb5274889142ee93"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060section == null || section.trim().isEmpty\u0060 appears character-identically in 3 files \u2014 lib/services/config_service.dart, lib/services/mise_process_service.dart, lib/services/project_scan_service.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/services/config_service.dart"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd8682876e0a2d310cd62882de510e3041ed9640e230e766a60fe598832d041"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.isEmpty || trimmed.startsWith(\u0027#\u0027) || trimmed.startsWith(\u0027[\u0027) || !trimmed.contains(\u0027=\u0027)\u0060 appears character-identically in 3 files \u2014 lib/services/config_service.dart, lib/services/mise_process_service.dart, lib/services/project_scan_service.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/services/config_service.dart"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb7ce8b34e1f19d46b4e27a2b56a72ae30bcea2e6f11447a8870d0fd8874bb5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.startsWith(\u0027[\u0027) \u0026\u0026 trimmed.endsWith(\u0027]\u0027)\u0060 appears character-identically in 4 files \u2014 lib/features/config/presentation/config_page.dart, lib/services/config_service.dart, lib/services/mise_process_service.dart, lib/services/project_scan_service.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/features/config/presentation/config_page.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"96669e50362c6d0b5133e106ad5ac5fb87e05a5ab8e3bf7f49c2689a6f2809ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.startsWith(\u0027~/\u0027) \u0026\u0026 home != null \u0026\u0026 home.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/features/projects/presentation/projects_page.dart, lib/services/scan_directory_service.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/features/projects/presentation/projects_page.dart"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fa7437a12a7d8f4422ebdfb803035830dd68050c8a97884ba76b8e367156ee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/browser_launcher_service.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7eb9afafa5cb2e48681f41d9f3307d242b59fe57462b04ab0e7656e7674f2e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/history_service.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8553fe29b25bcc9572cabc270c80259e19d0baddb37e5230c79b318ce00e66"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/mise_cli_service.dart"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a5afb82e030d0550f36124c52ff8078cae294a5ba2ccd593b97a8666ef3998"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/mise_cli_service.dart"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c2a08092d7e673d9dff8e7bce571dc4d53fc23f0809f485e03bc84717ec18c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/mise_cli_service.dart"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a575ae8fce65bd9c82ca1faec02f507e9d814566f8f1abd238beae97a52ca8c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/mise_self_update_service.dart"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d938e73d41d743fe4ff8b626940019d5d54f22babcf0f3557f83ae6d00b7891"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/project_scan_service.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6015f88bdfa16d6d839ac935ad23fd2c3d9e42bf4511a07f30f017d562c51bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/project_scan_service.dart"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ef67b4d187f2e56473364974ab35a935479a15bb5412181c23e2513812f5ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/project_scan_service.dart"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6b1399bb3f46b270461b4bb432f366f1bd5682e343143f298dc6dc3a723f06"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/project_scan_service.dart"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4e03be7017a4943e9e82a27cb2085583205986a0569c5f0c9d2dbcc4bb2dba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/repositories/dashboard_repository.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2481b4b3b3d30aa54cb9988a3f92f5e383fee8e6d85efa01fdfbf85226c9c26a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/repositories/dashboard_repository.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aeb8693531027af4a745e030cbdf69de4b3a159bd93ec8ffda1a7efc16112b9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/repositories/dashboard_repository.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd930a32ecfbfb22918b5ccaa3099c2c348b742329fe58ff13dff8e97935daf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/repositories/dashboard_repository.dart"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a5e78f5b866bf2162083c615ab458103041479317170e6876e802d212725a2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/repositories/dashboard_repository.dart"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"a539909227df6d4dd9b4f09ab6317efb13670a323f063d1dd6bde5b29676b568"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/bootstrap/dependencies.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac75d4ad9833e709fc61ed5d0cfc395489bdcab45e0cbf7a2a1744faccba50a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fetchHistory\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/history_service.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a71cb8380f0965f31efa8c9d5398ae39d39014c738ca0350dfbcf24b3e2908"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fetchProjects\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/project_scan_service.dart"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0142493f44019f2c5f68295c0649e35c30db3566bff5868b99e63fc15ffc2c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_formatLastScan\u0060 turns every thrown error into \u0060\u0027\u6700\u8FD1\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/project_scan_service.dart"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"5420864e67fb5dc5ee372a9bca5ae436ef47e57b8f8114bafea356a7b9e48a88"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"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":14,"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."]}]}