{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"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":"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":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"PushToTalkHandler.handleKeyUp (cyclomatic 39): PushToTalkHandler.handleKeyUp has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/features/hotkeys/handlers/push_to_talk_handler.dart holds 5 of the 31 methods over the threshold \u2014 including the worst \u2014 and 74 of the 248 points over it (30%), 2.5\u00D7 the next-largest file (lib/features/hotkeys/handlers/transcription_hotkey_handler.dart at 30). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/handlers/push_to_talk_handler.dart"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1206499941968076864668754133e308a9c17f2adc2a70a1be73d88e1723ef5"}},{"ruleId":"D1","level":"warning","message":{"text":"PushToTalkHandler._ensureRecordingCleanup (cyclomatic 39): PushToTalkHandler._ensureRecordingCleanup has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/features/hotkeys/handlers/push_to_talk_handler.dart holds 5 of the 31 methods over the threshold \u2014 including the worst \u2014 and 74 of the 248 points over it (30%), 2.5\u00D7 the next-largest file (lib/features/hotkeys/handlers/transcription_hotkey_handler.dart at 30). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/handlers/push_to_talk_handler.dart"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0236b6c0279211eba8ca6ac0c262f38c3937630ff47cd55c2754d6ad7a18fc9"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptionHotkeyHandler.handleHotkey (cyclomatic 37): TranscriptionHotkeyHandler.handleHotkey has cyclomatic complexity 37 (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/hotkeys/handlers/transcription_hotkey_handler.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c66c29eddf0aafc3611726b45d838d6b12957d377e3e5c41c24661bdc5660f3"}},{"ruleId":"D1","level":"warning","message":{"text":"PushToTalkHandler.handleKeyDown (cyclomatic 31): PushToTalkHandler.handleKeyDown has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/features/hotkeys/handlers/push_to_talk_handler.dart holds 5 of the 31 methods over the threshold \u2014 including the worst \u2014 and 74 of the 248 points over it (30%), 2.5\u00D7 the next-largest file (lib/features/hotkeys/handlers/transcription_hotkey_handler.dart at 30). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/handlers/push_to_talk_handler.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cbfe21d9c8dc742dee12372261fda7da08bb5611cf9a2df2d48b0880966cc5"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptionBloc._onStartTranscription (cyclomatic 31): TranscriptionBloc._onStartTranscription has cyclomatic complexity 31 (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/transcription/presentation/bloc/transcription_bloc.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"96885f20ed3c2109fc57c82f1cd3a6e824d95c021a876a2f3ca9c0a444a2ff17"}},{"ruleId":"D1","level":"warning","message":{"text":"AssistantService._sendToGroqAPI (cyclomatic 26): AssistantService._sendToGroqAPI 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/assistant/assistant_service.dart"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"043ad7663a2c17e3836d6c6ef64b3fd5fe5e2f074b25477dfaef15afce90b67b"}},{"ruleId":"D1","level":"warning","message":{"text":"HotkeyRegistration.prepareHotkeys (cyclomatic 26): HotkeyRegistration.prepareHotkeys 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/hotkeys/utils/hotkey_registration.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9797405738a31e561b8c590e5d3b1ea905a1bc90da9af8008a4d325ca8d7ea86"}},{"ruleId":"D1","level":"warning","message":{"text":"ClipboardService.copyToClipboard (cyclomatic 24): ClipboardService.copyToClipboard 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/features/hotkeys/services/clipboard_service.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a0f62dc559a17c54cc04d02c4dfef67cb25467a0f33456494df8ea1a253a1f"}},{"ruleId":"D1","level":"warning","message":{"text":"ApiKeyStep.build (cyclomatic 24): ApiKeyStep.build 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/features/onboarding/presentation/widgets/api_key_step.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a94b1c4f89f26f541429126421d299ebda2698db10775c8e5c17618d24c10f"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptionRepositoryImpl._transcribeAudioRemotely (cyclomatic 24): TranscriptionRepositoryImpl._transcribeAudioRemotely 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/features/transcription/data/repositories/transcription_repository_impl.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01445ec0e04dfbb8533036ea1dd865679d2b6d55771fc7cd9da4e43d2653968"}},{"ruleId":"D1","level":"warning","message":{"text":"PushToTalkHandler._transcribeAndCopyToClipboard (cyclomatic 23): PushToTalkHandler._transcribeAndCopyToClipboard has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/features/hotkeys/handlers/push_to_talk_handler.dart holds 5 of the 31 methods over the threshold \u2014 including the worst \u2014 and 74 of the 248 points over it (30%), 2.5\u00D7 the next-largest file (lib/features/hotkeys/handlers/transcription_hotkey_handler.dart at 30). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/handlers/push_to_talk_handler.dart"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55c511ec8e787efbe6dea36a405d8cc51c8ff6cd75612bfada7aee9afb048e8"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptionHotkeyHandler._transcribeAndCopyToClipboard (cyclomatic 23): TranscriptionHotkeyHandler._transcribeAndCopyToClipboard has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/handlers/transcription_hotkey_handler.dart"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d032f695dc19cf3e06e538b752c1b7c828322974cc3611302906823ad6ef03a"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingBloc._onInitializeOnboarding (cyclomatic 23): OnboardingBloc._onInitializeOnboarding has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec2ea64d70c1cde688c92c1af2285811ecffa72b9cf98afccda027f8b968e6f"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingPage.build (cyclomatic 23): OnboardingPage.build has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/pages/onboarding_page.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb510341eb707a1ac33de31363860f6a370fa355e154ffe1c1619db98d277022"}},{"ruleId":"D1","level":"warning","message":{"text":"MinimalistToggle.build (cyclomatic 23): MinimalistToggle.build has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/minimalist_toggle.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6eb9d1ff4ca85604017b1987eff056a8fdc249e427ef39fe4aa9d60852c9ae"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordingDataSourceImpl._setupAudioStreamProcessing (cyclomatic 22): RecordingDataSourceImpl._setupAudioStreamProcessing has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/recording/data/datasources/recording_datasource.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddb2ff4b5d56f4d37d7e0e25bb8fd68e6581400d931d3d0090c777c269054da"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingBloc._onCheckPermissions (cyclomatic 21): OnboardingBloc._onCheckPermissions has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9f03198dd08cdcda1e0bacfe0e8656a03713bd8d08fcc235619fcde98e0362"}},{"ruleId":"D1","level":"warning","message":{"text":"_MinimalistInputState.build (cyclomatic 21): _MinimalistInputState.build has cyclomatic complexity 21 (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/widgets/minimalist_input.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f462858833091ad725a01056fc5fb6eb5d2a3a5b582211aebe9c8d5d8f602053"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalStep._buildModelSelectionSection (cyclomatic 20): LocalStep._buildModelSelectionSection 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/features/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"397026a1d22548e98b686b6e810cbe5f3eb0a4b5aa477368b88becbccd1c012b"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioUtils.validateAudioFile (cyclomatic 20): AudioUtils.validateAudioFile has cyclomatic complexity 20 (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/recording/utils/audio_utils.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"13049060a56949c14b4fc9124d56085fa90242773f6e590d6d21040265ef1ae4"}},{"ruleId":"D1","level":"warning","message":{"text":"MinimalistButton.build (cyclomatic 20): MinimalistButton.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/widgets/minimalist_button.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f58337b67352918c9f51059b32b71e0e70f3c0ad8c359d949daeb507fa03b7"}},{"ruleId":"D1","level":"warning","message":{"text":"_SettingsPageState.build (cyclomatic 19): _SettingsPageState.build has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/pages/settings.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edf83096abe56eb28758f62aa5e9d2d8f7da3b783f0df40e052e6294646f580"}},{"ruleId":"D1","level":"warning","message":{"text":"MainFlutterWindow.setupMethodChannel (cyclomatic 19): MainFlutterWindow.setupMethodChannel has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Runner/MainFlutterWindow.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"79816d45c6d6c97235e60f76b7d720d28284f63f10357c5ce7f097321c6ccfdc"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptionSettingsPage._buildModelSelectionSection (cyclomatic 18): TranscriptionSettingsPage._buildModelSelectionSection 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/features/settings/presentation/pages/transcription_settings_page.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c9dcb8d7116886b7fe6046536559e002a72b1669b1b5adcffc8270fe894efc"}},{"ruleId":"D1","level":"warning","message":{"text":"AssistantService._stopRecordingAndProcess (cyclomatic 17): AssistantService._stopRecordingAndProcess 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/features/assistant/assistant_service.dart"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fc6d109cbf0cda96ccd2e161665dafdf1aacfe6279d7e2385474c42b8a63ce"}},{"ruleId":"D1","level":"warning","message":{"text":"HotkeyHandler.keyDownHandler (cyclomatic 17): HotkeyHandler.keyDownHandler 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/features/hotkeys/core/hotkey_handler.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"571987babb4cd4bd87e6c1f6c37fd074cc0b938220402ae5ea3a73050a23bd00"}},{"ruleId":"D1","level":"warning","message":{"text":"PushToTalkHandler.cancelRecording (cyclomatic 17): PushToTalkHandler.cancelRecording 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/features/hotkeys/handlers/push_to_talk_handler.dart holds 5 of the 31 methods over the threshold \u2014 including the worst \u2014 and 74 of the 248 points over it (30%), 2.5\u00D7 the next-largest file (lib/features/hotkeys/handlers/transcription_hotkey_handler.dart at 30). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/handlers/push_to_talk_handler.dart"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"d646fc2889ed3439b7cc4c699ae7d09d5111f2a2e6bdd892eb5933f5fdeb5b2c"}},{"ruleId":"D1","level":"warning","message":{"text":"OutputSettingsPage._buildLanguageSection (cyclomatic 17): OutputSettingsPage._buildLanguageSection has cyclomatic complexity 17 (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/settings/presentation/pages/output_settings_page.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a608b03198769441bb5d91c9903a6674b0e958db07077e40d47c7991f9a5fc45"}},{"ruleId":"D1","level":"warning","message":{"text":"PhraseReplacementService.applyReplacements (cyclomatic 17): PhraseReplacementService.applyReplacements has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/transcription/services/phrase_replacement_service.dart"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4a8e910a93a58afae57b4e3a2f4411c50d9df549735d065d9519b3aab297f0"}},{"ruleId":"D1","level":"warning","message":{"text":"PermissionsStep._buildPermissionCard (cyclomatic 16): PermissionsStep._buildPermissionCard 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/onboarding/presentation/widgets/permissions_step.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a5c25788037d30ad8313631f5cf08e0e510415ee8f6c46e8441bc33eac5026"}},{"ruleId":"D1","level":"warning","message":{"text":"_EnhancedButtonState.build (cyclomatic 16): _EnhancedButtonState.build has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/enhanced_button.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7301c9913aa149293da1ce11ebdc8a059c850d509b0a99850f740acaf019fa"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptionHotkeyHandler.handleHotkey (cognitive 122): TranscriptionHotkeyHandler.handleHotkey has cognitive complexity 122 (threshold 15). Drivers by points: if/else 29 (95 pts), error handling 8 (25 pts), boolean chains 2 (nesting depth added 83). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/handlers/transcription_hotkey_handler.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c4a03a35d2072a67c5731191b55a27c487a7319843e62d5b53d62f59561985"}},{"ruleId":"D2","level":"warning","message":{"text":"PushToTalkHandler._ensureRecordingCleanup (cognitive 105): PushToTalkHandler._ensureRecordingCleanup has cognitive complexity 105 (threshold 15). Drivers by points: if/else 28 (82 pts), error handling 6 (15 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 66). 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/hotkeys/handlers/push_to_talk_handler.dart"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f38657ad5c7bd8fccca25e02b08cdd728ef1bb3140a4c277a8a4acb2e87509"}},{"ruleId":"D2","level":"warning","message":{"text":"AssistantService._sendToGroqAPI (cognitive 93): AssistantService._sendToGroqAPI has cognitive complexity 93 (threshold 15). Drivers by points: if/else 25 (76 pts), error handling 4 (11 pts), ternaries 2 (6 pts) (nesting depth added 62). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/assistant/assistant_service.dart"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f27618bcd07075ea61317b0fed9bab9eb79a0c268282f2e000cf9d1303aaae"}},{"ruleId":"D2","level":"warning","message":{"text":"PushToTalkHandler.handleKeyUp (cognitive 88): PushToTalkHandler.handleKeyUp has cognitive complexity 88 (threshold 15). Drivers by points: if/else 30 (68 pts), error handling 4 (11 pts), ternaries 3 (7 pts), boolean chains 2 (nesting depth added 49). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/handlers/push_to_talk_handler.dart"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"db81dabd19a9e19e5590d5d0e55d53041c7037e6a205e71bf71b39b1bf48349e"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingBloc._onCheckPermissions (cognitive 83): OnboardingBloc._onCheckPermissions has cognitive complexity 83 (threshold 15). Drivers by points: if/else 20 (73 pts), loops 2 (7 pts), boolean chains 2, error handling 1 (nesting depth added 58). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac4c8412c4970d99035f11628ba5f26490463415291620fc53c332610df9995"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptionBloc._onStartTranscription (cognitive 77): TranscriptionBloc._onStartTranscription has cognitive complexity 77 (threshold 15). Drivers by points: if/else 23 (63 pts), error handling 4 (11 pts), boolean chains 3 (nesting depth added 47). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/transcription/presentation/bloc/transcription_bloc.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c8101a179f650ca9e30776503b7815178dd56432684f409e80f520710f144e"}},{"ruleId":"D2","level":"warning","message":{"text":"HotkeyRegistration.prepareHotkeys (cognitive 75): HotkeyRegistration.prepareHotkeys has cognitive complexity 75 (threshold 15). Drivers by points: if/else 20 (64 pts), error handling 4 (10 pts), boolean chains 1 (nesting depth added 50). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/utils/hotkey_registration.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4377342d95b672da2e13107e41f7f8b1e065c92c48b2cfc4aca0fdaee57b0d50"}},{"ruleId":"D2","level":"warning","message":{"text":"PushToTalkHandler.handleKeyDown (cognitive 71): PushToTalkHandler.handleKeyDown has cognitive complexity 71 (threshold 15). Drivers by points: if/else 28 (64 pts), error handling 3 (6 pts), boolean chains 1 (nesting depth added 39). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/handlers/push_to_talk_handler.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2a7a9b4038ecb668c37f651c95a79d5beed8a6908cb3738688b6d30b54d431"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingBloc._onInitializeOnboarding (cognitive 67): OnboardingBloc._onInitializeOnboarding has cognitive complexity 67 (threshold 15). Drivers by points: if/else 18 (56 pts), loops 2 (6 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 43). 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/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"0545cc7c79aa838eaaef487c8aa1e5db346a185e21ff9c1c2ba2fe0cd8466239"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingDataSourceImpl._setupAudioStreamProcessing (cognitive 63): RecordingDataSourceImpl._setupAudioStreamProcessing has cognitive complexity 63 (threshold 15). Drivers by points: if/else 14 (49 pts), error handling 3 (8 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 41). 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/recording/data/datasources/recording_datasource.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"96749d32574ff453679107ada491d66366c8afe2c2eaa0b292c762896ad08b7e"}},{"ruleId":"D2","level":"warning","message":{"text":"PushToTalkHandler._transcribeAndCopyToClipboard (cognitive 61): PushToTalkHandler._transcribeAndCopyToClipboard has cognitive complexity 61 (threshold 15). Drivers by points: if/else 15 (46 pts), error handling 4 (11 pts), boolean chains 4 (nesting depth added 38). 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/hotkeys/handlers/push_to_talk_handler.dart"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba29d15ce317469857b0ce6f66bf2872f3d12064f01377c34b62e919cb354cc"}},{"ruleId":"D2","level":"warning","message":{"text":"ClipboardService.copyToClipboard (cognitive 60): ClipboardService.copyToClipboard has cognitive complexity 60 (threshold 15). Drivers by points: if/else 16 (45 pts), error handling 4 (10 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 37). 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/hotkeys/services/clipboard_service.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1929a96deefac3c7043aa302651b199a2e5068c77dacd62d82fba327095cc0a1"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptionHotkeyHandler._transcribeAndCopyToClipboard (cognitive 53): TranscriptionHotkeyHandler._transcribeAndCopyToClipboard has cognitive complexity 53 (threshold 15). Drivers by points: if/else 14 (40 pts), error handling 4 (9 pts), boolean chains 4 (nesting depth added 31). 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/hotkeys/handlers/transcription_hotkey_handler.dart"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aeaa348a74110d16a9c611c8e53f4bc870172c5f30e4a72cec804bc60c9ce8e"}},{"ruleId":"D2","level":"warning","message":{"text":"AssistantService._stopRecordingAndProcess (cognitive 48): AssistantService._stopRecordingAndProcess has cognitive complexity 48 (threshold 15). Drivers by points: if/else 11 (35 pts), error handling 4 (11 pts), boolean chains 2 (nesting depth added 31). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/assistant/assistant_service.dart"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"e221737461f05a8f7122ec7bca4f9f752bef5fc2e28134235179fd58ed7beb15"}},{"ruleId":"D2","level":"warning","message":{"text":"PushToTalkHandler.cancelRecording (cognitive 43): PushToTalkHandler.cancelRecording has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (37 pts), error handling 3 (6 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/handlers/push_to_talk_handler.dart"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b092433ec74c4b615b9ef6521220a7e715ab85181f55e0c6b8072c30b238cc"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingDataSourceImpl.stopRecording (cognitive 43): RecordingDataSourceImpl.stopRecording has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (35 pts), error handling 2 (8 pts) (nesting depth added 29). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/recording/data/datasources/recording_datasource.dart"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efc97c7630dc57f0b0ce6e69422a14eff2ffb21ee634bb11b3ce53971035cef"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingPage.build (cognitive 40): OnboardingPage.build has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 14 (24 pts), if/else 10 (15 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/pages/onboarding_page.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88dbc16e4ffb2e4790f63bc9bf02b86d481e230e5d613e1e4a7a5d59635a9ae"}},{"ruleId":"D2","level":"warning","message":{"text":"ApiKeyStep.build (cognitive 40): ApiKeyStep.build has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 4 (10 pts), boolean chains 8, error handling 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/widgets/api_key_step.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"be042c4365934d45af4adbfca975b2d5ab05136db9aa7b139b0bd4236683e802"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptionRepositoryImpl._transcribeAudioRemotely (cognitive 39): TranscriptionRepositoryImpl._transcribeAudioRemotely has cognitive complexity 39 (threshold 15). Drivers by points: if/else 19 (32 pts), boolean chains 3, error handling 2, ternaries 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/transcription/data/repositories/transcription_repository_impl.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"129b5f5a241e85177047acd9622d06550a8bf0e8e7561b071b967eeca51f1ead"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioUtils.validateAudioFile (cognitive 37): AudioUtils.validateAudioFile has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (28 pts), boolean chains 8, error handling 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/recording/utils/audio_utils.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aae7063def56dd47f703974b0ec82cc2661b6eed05ceff0f99b1fbf385112b1"}},{"ruleId":"D2","level":"warning","message":{"text":"AssistantService._getHotkeyDisplayString (cognitive 36): AssistantService._getHotkeyDisplayString has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (28 pts), error handling 2 (4 pts), ternaries 1 (4 pts) (nesting depth added 24). 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/assistant/assistant_service.dart"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ff31c8e872478c26da713521fe27bfc50cd13acdfee34a8170f45f4ae2dac0"}},{"ruleId":"D2","level":"warning","message":{"text":"PushToTalkHandler._getHotkeyDisplayString (cognitive 36): PushToTalkHandler._getHotkeyDisplayString has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (28 pts), error handling 2 (4 pts), ternaries 1 (4 pts) (nesting depth added 24). 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/hotkeys/handlers/push_to_talk_handler.dart"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"37671c6e4e3325f2e1b4619fb40262174dcfecd23f870b5965b7a86a740fa8c5"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptionHotkeyHandler._getHotkeyDisplayString (cognitive 36): TranscriptionHotkeyHandler._getHotkeyDisplayString has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (28 pts), error handling 2 (4 pts), ternaries 1 (4 pts) (nesting depth added 24). 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/hotkeys/handlers/transcription_hotkey_handler.dart"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9c0adfc00f11b22d0c8de707f5c859da2fc72ff9dc3a54c7d4295584dcdd92"}},{"ruleId":"D2","level":"warning","message":{"text":"AssistantService.cancelRecording (cognitive 35): AssistantService.cancelRecording has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (31 pts), error handling 2 (4 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/assistant/assistant_service.dart"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2394b6ce81acd78d7efcb68967403edb60d98434e43e9c8e55670202880850"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptionHotkeyHandler.cancelRecording (cognitive 35): TranscriptionHotkeyHandler.cancelRecording has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (31 pts), error handling 2 (4 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/handlers/transcription_hotkey_handler.dart"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"d261ed6aa4445902d14e4080bb442c4715a43c537bdd918160aa6781ec0592b4"}},{"ruleId":"D2","level":"warning","message":{"text":"AssistantService._startRecording (cognitive 34): AssistantService._startRecording has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (30 pts), error handling 2 (4 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/assistant/assistant_service.dart"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf65597b22a072a9534dabff16f04ece2b68637f25cfcf761286b8eb4c346eb"}},{"ruleId":"D2","level":"warning","message":{"text":"WhisperKitService.downloadModel (cognitive 32): WhisperKitService.downloadModel has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (29 pts), loops 1 (2 pts), error handling 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/whisper_kit_service.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"34092c53a707fb78d6debb142c2f31a470a73d03cde226fd18e642a9a330d03a"}},{"ruleId":"D2","level":"warning","message":{"text":"PhraseReplacementService.applyReplacements (cognitive 29): PhraseReplacementService.applyReplacements has cognitive complexity 29 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 8, loops 3 (8 pts) (nesting depth added 13). 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/transcription/services/phrase_replacement_service.dart"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"62dc85e52b9e54cab65fb63e3ce66307f807625ffd62e1866cea903b6168d6a1"}},{"ruleId":"D2","level":"warning","message":{"text":"HotkeyRegistration.ensureHotkeysLoadedAfterOnboarding (cognitive 28): HotkeyRegistration.ensureHotkeysLoadedAfterOnboarding has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (27 pts), error handling 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/utils/hotkey_registration.dart"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b7e8c6569cad8be24190f1866accb8e9382ca0fba644817fd82e8edaceb450"}},{"ruleId":"D2","level":"warning","message":{"text":"PermissionsStep._buildPermissionCard (cognitive 28): PermissionsStep._buildPermissionCard has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 5 (13 pts), match/switch 1 (nesting depth added 13). 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/onboarding/presentation/widgets/permissions_step.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d49e0a65d4f38d28a78e8e1988df65323f87136840efd0e08d120ecd77653f"}},{"ruleId":"D2","level":"warning","message":{"text":"_MinimalistInputState.build (cognitive 25): _MinimalistInputState.build has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 11 (16 pts), if/else 6, boolean chains 3 (nesting depth added 5). 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/widgets/minimalist_input.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6f95709ce9c8aa58a65af0f37bd6d69ab8a9d0be1485b8cb0fab5d68d47c4a"}},{"ruleId":"D2","level":"warning","message":{"text":"VolumeService.muteVolume (cognitive 23): VolumeService.muteVolume has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 1, 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. This shape REPEATS in the file: one other method here (VolumeService.restoreVolume) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/volume_service.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f11834d25037a5b46b15687b4772ce1fc6ddb7ed92507932fe5a120b587117"}},{"ruleId":"D2","level":"warning","message":{"text":"VolumeService.restoreVolume (cognitive 23): VolumeService.restoreVolume has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 1, 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. This shape REPEATS in the file: one other method here (VolumeService.muteVolume) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/volume_service.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aef1b70ba8654ecc101b6adc8b27b09dffc7abd5add24c2a1e50b4830bebdb3"}},{"ruleId":"D2","level":"warning","message":{"text":"HotkeyHandler.keyDownHandler (cognitive 22): HotkeyHandler.keyDownHandler has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/core/hotkey_handler.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34ba9caa2119982553f416792a69112953ec8aeeeb1073d6a4050985a5393ad"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartTranscriptionService.enhanceTranscription (cognitive 22): SmartTranscriptionService.enhanceTranscription has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 1, 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/transcription/services/smart_transcription_service.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da203d59727ef43b11124e260eccb1e337a93c0921d88d62d4e9d5437e7a220"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingBloc._onRequestPermission (cognitive 21): OnboardingBloc._onRequestPermission has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (20 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/features/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b939093285603629afbb5c4e4e9602953a86ee6ec08e8cc044e4f7f59718594"}},{"ruleId":"D2","level":"warning","message":{"text":"WhisperKitService.transcribeAudio (cognitive 20): WhisperKitService.transcribeAudio has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (15 pts), error handling 2 (4 pts), 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/core/services/whisper_kit_service.dart"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b608b96fc03c6cdc628377d09b398914773b85773b9f631235000322c28f8d"}},{"ruleId":"D2","level":"warning","message":{"text":"MinimalistToggle.build (cognitive 20): MinimalistToggle.build has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 13, if/else 4, boolean chains 2, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/minimalist_toggle.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"481d977129e5805b4185a77dd668cf694056c7e1f318f84617e13fe672f10aed"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalStep._buildModelSelectionSection (cognitive 19): LocalStep._buildModelSelectionSection has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 16, if/else 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e206b80d2a0a5ff9a08b77a1e11d25d6a6da6f110fe0dc57e691224a88e4b23"}},{"ruleId":"D2","level":"warning","message":{"text":"_EnhancedButtonState.build (cognitive 19): _EnhancedButtonState.build has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (11 pts), boolean chains 4, if/else 3 (4 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/enhanced_button.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a92cad375c93e5ab6451205d49cb35faba6402cbf015ab2d6666ebc589a3f0"}},{"ruleId":"D2","level":"warning","message":{"text":"MinimalistButton.build (cognitive 19): MinimalistButton.build has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 5 (6 pts), boolean chains 4, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/minimalist_button.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9baaecbbc9e88b79b2bb237b6bcdf2e6322d5981b2ecc7757eb5ff239d45518d"}},{"ruleId":"D2","level":"warning","message":{"text":"MobileOnboardingPage.build (cognitive 18): MobileOnboardingPage.build has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (10 pts), if/else 6 (8 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/pages/mobile_onboarding_page.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb48683f5364448e9287ee1602b26273d78cc53c360ac5b77d82a34854feafaa"}},{"ruleId":"D2","level":"warning","message":{"text":"_GeneralSettingsPageState._selectInputDevice (cognitive 18): _GeneralSettingsPageState._selectInputDevice has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), ternaries 1 (3 pts), 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/features/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0d9d96ec9dcdcab500f6fbca8e43343016b7b1676abfc831b2005447e3eb1b"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsPageState.build (cognitive 18): _SettingsPageState.build has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 16, if/else 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/features/settings/presentation/pages/settings.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a139f775972157e14199535417f456fc08101c45c8e7862673713d95605fd28a"}},{"ruleId":"D2","level":"warning","message":{"text":"_SnackbarContent.build (cognitive 18): _SnackbarContent.build has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 1, match/switch 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/widgets/minimalist_snackbar.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5136ead3175dfed263ecedfb6c62de687d59aeeefbeaa1c6b6dffa1fa61496b"}},{"ruleId":"D2","level":"warning","message":{"text":"MainFlutterWindow.setupMethodChannel (cognitive 18): MainFlutterWindow.setupMethodChannel has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, match/switch 1 (nesting depth added 4). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Runner/MainFlutterWindow.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"91256f985d7549830cf2fc50e2f97960399e796394ff330a8f193a19b3cfb5e0"}},{"ruleId":"D2","level":"warning","message":{"text":"SoundPlayer._playSoundFile (cognitive 17): SoundPlayer._playSoundFile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (16 pts), 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/core/utils/sound_player.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa63c5bb4e045f32c7d709173ebf375ffa4ce598a82faf5b5d94456200774b8"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsBloc._onAutoInitializeSelectedModel (cognitive 17): SettingsBloc._onAutoInitializeSelectedModel has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (16 pts), 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/features/settings/presentation/bloc/settings_bloc.dart"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50765a54ece917a87dc46359e57ef03d1fd5936da2b7db993344cf2e94b992c"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptionSettingsPage._buildModelSelectionSection (cognitive 17): TranscriptionSettingsPage._buildModelSelectionSection has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 15, if/else 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/features/settings/presentation/pages/transcription_settings_page.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9851703e37be3239f4321b03b4ff7f212b88df5e37076d77dd00168ece7cfc77"}},{"ruleId":"D2","level":"warning","message":{"text":"WhisperKitService.initializeModelWithTestAudio (cognitive 16): WhisperKitService.initializeModelWithTestAudio has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/whisper_kit_service.dart"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f59c925f67700a86d70966d2707f37fdc6d87029280ee64bc3af7ca8c87fb80"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingDataSourceImpl.startRecording (cognitive 16): RecordingDataSourceImpl.startRecording has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), error handling 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/recording/data/datasources/recording_datasource.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3951e3b3e628b52e535d8414512e020c456cd5025424666004275e0e262f89ac"}},{"ruleId":"D2","level":"warning","message":{"text":"OutputSettingsPage._buildLanguageSection (cognitive 16): OutputSettingsPage._buildLanguageSection has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 12, boolean chains 2, if/else 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/features/settings/presentation/pages/output_settings_page.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8274503320a6317b15713921ea759413af9e7566f1da0d3e2dbebdfecaf4c718"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptionRepositoryImpl.transcribeAudio (cognitive 16): TranscriptionRepositoryImpl.transcribeAudio has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (16 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/transcription/data/repositories/transcription_repository_impl.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b8deb6edc9103b8b91ec4f77d4ea78cf845bc5c9d3ce4b5dec6d8a789a6a73"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OnboardingPage.build: MethodTooLong \u2014 build runs 244 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 144 over it, 2.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/pages/onboarding_page.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"43127c1b5602808ee83bcb63716fc0be9dff1534e9a72475f8f23321702c6cc3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ApiKeyStep.build: MethodTooLong \u2014 build runs 242 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 142 over it, 2.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/widgets/api_key_step.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c76398933a868723a48aa84903eaf01d281d8f088e6882b2e3376d04d9f6cca"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsPageState.build: MethodTooLong \u2014 build runs 232 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 132 over it, 2.32\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/settings/presentation/pages/settings.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3bb317f3d7ff3aca415701c0f5822b59e15ae516b7bb66ac284340a035f2c5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HotkeysStep.build: MethodTooLong \u2014 build runs 230 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 130 over it, 2.30\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/onboarding/presentation/widgets/hotkeys_step.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdea614255d3069609e962244e6d0182cede85a2e0ca54fe4ff26b409a6915ba"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalStep._buildModelSelectionSection: MethodTooLong \u2014 _buildModelSelectionSection runs 211 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 111 over it, 2.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8715f1a783f24a22a72f4bb164cf28b86276894511f997512c5e7476dfa687"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SettingsBloc: ClassTooLong \u2014 831 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 431 over it, 2.08\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/features/settings/presentation/bloc/settings_bloc.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"06362402306fc3e9371f6bb09eb8b281b9c7e8d04141a84fb98768f386ad9658"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OnboardingBloc: ClassTooLong \u2014 816 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. The bar is 400 significant lines; this is 416 over it, 2.04\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/features/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b6ad79bc2070f47d406f41819b4a49d86971281a6d75de6244754eb191035b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TranscriptionSettingsPage._buildModelSelectionSection: MethodTooLong \u2014 _buildModelSelectionSection runs 202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/pages/transcription_settings_page.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af000e22642a739c040024d39c828595bc26adf40e770fde8b9bf65f242efd5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MobileApiKeyStepState.build: MethodTooLong \u2014 build runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\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/mobile/presentation/widgets/mobile_api_key_step.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"323dd0c6f0408d9504ec34cccaebde652cb3dfdd460b5341c84cb62317465095"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PermissionsStep._buildPermissionCard: MethodTooLong \u2014 _buildPermissionCard runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\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/onboarding/presentation/widgets/permissions_step.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a9e4b5b4fe3b3e8fd8624e10e1e03d59b62acae72c24bbbada73ccde9afcc6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MainLayoutState.build: MethodTooLong \u2014 build runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/navigation/presentation/pages/main_layout.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed5d60a6c1fc4618cea167047e5b841dbfe2f83b17bc78dc88d311d761776cf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MobileKeyboardExtensionStep.build: MethodTooLong \u2014 build runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\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/mobile/presentation/widgets/mobile_keyboard_extension_step.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09cf25136b4340cf7b8069621725f25050879262045267ba1cb425797e78a65"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _GeneralSettingsPageState: ClassTooLong \u2014 679 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 279 over it, 1.70\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/features/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f18d0bf8ec62392fbbf0e479473a7627acd93c76e418a2a63d0269279c1a463"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bloc/settings_bloc.dart: FileTooLong \u2014 846 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: SettingsBloc (18-1413). The bar is 500 significant lines; this is 346 over it, 1.69\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/features/settings/presentation/bloc/settings_bloc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"659eeca52c84e61b0dcd236dd166fa7cef57ce0bc07c049652663c166b94d07e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bloc/onboarding_bloc.dart: FileTooLong \u2014 838 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: OnboardingBloc (24-1376). The bar is 500 significant lines; this is 338 over it, 1.68\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/features/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51a5adde92a0ff300b8cb6326522d701d1059fe880cf6142f73d39e226b951e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PermissionsStep.build: MethodTooLong \u2014 build runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\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/onboarding/presentation/widgets/permissions_step.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6fbe9bb0f879b02db6afe694ce9e8cc5388fdcb0b44d94feae1f3ebc81b9b8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SettingsBloc: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\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/features/settings/presentation/bloc/settings_bloc.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ba07d76bbcbb8d4fdde33fc09c996a3101df35cf1672d0231833a57c5b2039"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OutputSettingsPage._buildPhraseReplacementSection: MethodTooLong \u2014 _buildPhraseReplacementSection runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\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/settings/presentation/pages/output_settings_page.dart"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d44f8ffade97dbe3fbfb2a753e1ee3a4ee5bae4cf7f7c28f39c527195bc4c7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TranscriptionSettingsPage: ClassTooLong \u2014 639 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 239 over it, 1.60\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/features/settings/presentation/pages/transcription_settings_page.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb330ba3d5649ed9d2602d6eec4997fcfda80c145ebad0adf41a554f00dd06e1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DictionarySection.build: MethodTooLong \u2014 build runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/widgets/dictionary_section.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8241698a811ffb4ce3f1a5ed92431b4eca1b7d28f7af9aa168cac6a8ff1dcefb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AssistantService._sendToGroqAPI: MethodTooLong \u2014 _sendToGroqAPI runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/assistant/assistant_service.dart"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c63b971949ab3a0256e2c23a11c1b5c5137919261b42fc90166926aa65d934a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MobileOnboardingPage.build: MethodTooLong \u2014 build runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/pages/mobile_onboarding_page.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f42b1f8ed6aa77334778f3b7024cb7762a8c737b2f8e918a80fc8bfd42bfd5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OutputSettingsPage._buildLanguageSection: MethodTooLong \u2014 _buildLanguageSection runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/pages/output_settings_page.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"318e55e0aa950637edb5fa1ea4c3b9877fcce4e12e57c1390d2acbdd614fa549"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OnboardingBloc: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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/features/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"568ac6bfe99ba31fe5a2b741ceb0dc1f96dbca69b10f184816c808a7cd0fbe3d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _HomePageViewState.build: MethodTooLong \u2014 build runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/home/presentation/pages/home_page.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfa55f65fdfe03b069592bbafbaa24331f20176098798fa0a353578671ee1f1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MobileLocalModelsStep._buildModelSelectionSection: MethodTooLong \u2014 _buildModelSelectionSection runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\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/mobile/presentation/widgets/mobile_local_models_step.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ddf98897e5bb8cb0c53cb0e581abbca0bde6665a3330a59962a121c1478b0b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MobileLocalModelsSection._buildModelSelection: MethodTooLong \u2014 _buildModelSelection runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_local_models_section.dart"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a683c075928fad5bd321cf3429ebb8a5c8ad556ca3a8a83f4b8d6a82d4f2ee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MobileLocalModelsStep.build: MethodTooLong \u2014 build runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_local_models_step.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9c1123c8dfa8710e57776fd19159921ad81187f07e65ce63b95cc1cb0cc156"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PushToTalkHandler: ClassTooLong \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. The bar is 400 significant lines; this is 178 over it, 1.45\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/features/hotkeys/handlers/push_to_talk_handler.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa7808e26f34529b3dc9350805bf84da688feb3258114e89aa3501d58b7fa76"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/general_settings_page.dart: FileTooLong \u2014 698 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: _GeneralSettingsPageState (24-1032). The bar is 500 significant lines; this is 198 over it, 1.40\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/features/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"157b88625405b5fe72badc3c7795e635260e488fda4c4b2352fe5e40b0d46236"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MobilePermissionsStep.build: MethodTooLong \u2014 build runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\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/mobile/presentation/widgets/mobile_permissions_step.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c5458ff421ec7947458efa9e6b4a49e57e0a39278a09a435d2f631aa8eeadd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InfoPage.build: MethodTooLong \u2014 build runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/info/presentation/pages/info_page.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa1005fd119444b34d40dae86a89c1baf6c652f950675679583841cd1c469a7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalStep.build: MethodTooLong \u2014 build runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c383fc3e3c5b7d690650b3e527b00db457dc8a210c15424eb791dc35bed4c7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GeneralSettingsPageState._buildSoundSettingsSection: MethodTooLong \u2014 _buildSoundSettingsSection runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0977fea6e941124f28b3b5239eb7f5ed237ba74b86459fa533fbb0dc187b4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/transcription_settings_page.dart: FileTooLong \u2014 649 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: TranscriptionSettingsPage (12-916). The bar is 500 significant lines; this is 149 over it, 1.30\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/features/settings/presentation/pages/transcription_settings_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68083a39bae71ef1c3d7b0bc947b85fdab55b915dd8318630e23ac9710eb59a3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TranscriptionHotkeyHandler.handleHotkey: MethodTooLong \u2014 handleHotkey 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/features/hotkeys/handlers/transcription_hotkey_handler.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9234fafe13537c15fdd3f70faa899f5f2506ef94cbf45ad3d6dab65ee693e2c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OutputSettingsPage._buildDictionarySection: MethodTooLong \u2014 _buildDictionarySection runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\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/settings/presentation/pages/output_settings_page.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"002f9e252beccaf47c304a8c6894119a572da9d22137595020d4ab9289ab7a2f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GeneralSettingsPageState._buildInputDeviceSettingsSection: MethodTooLong \u2014 _buildInputDeviceSettingsSection runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06b550ac336f400e01d10672df17b08adf99cd71a75fd25607b22b9667b2abc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AssistantService: ClassTooLong \u2014 490 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 90 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/features/assistant/assistant_service.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec9d183b7b3e523e0b974e654a6267bf61bc2d7f683e2129379838baf1162a5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalStep: ClassTooLong \u2014 479 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 79 over it, 1.20\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/features/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd52342d0af97ad1c017c534c446f6f84bcd4906600310806f6e531892c4c3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: handlers/push_to_talk_handler.dart: FileTooLong \u2014 596 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: PushToTalkHandler (22-1018). The bar is 500 significant lines; this is 96 over it, 1.19\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/features/hotkeys/handlers/push_to_talk_handler.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f997aaff6f2f15c07381b78e80d7d9116e820e8c0c5657fa4de2c258495e13"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OutputSettingsPage: ClassTooLong \u2014 470 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 70 over it, 1.18\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/features/settings/presentation/pages/output_settings_page.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70bd9c1616dd7c3534882b3a15ddf58d58dd59d580f990bd4161f527dfce36d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MobilePermissionsStep._buildPermissionCard: MethodTooLong \u2014 _buildPermissionCard runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_permissions_step.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d5a6dd26d1971add8774c26969a55e9d42f4a02606d257aa8550eb33a88637"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GeneralSettingsPageState._buildBehaviorSettingsSection: MethodTooLong \u2014 _buildBehaviorSettingsSection runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4341cc446a2bef4b46e7349e1d26222a22f9dddd079fc2ff197e86e04b626aa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PushToTalkHandler.handleKeyDown: MethodTooLong \u2014 handleKeyDown 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/hotkeys/handlers/push_to_talk_handler.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9216d29d02388e5d235c16a8f275d4585ed01675fba616caec2d8a57041a57ce"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TranscriptionBloc._onStartTranscription: MethodTooLong \u2014 _onStartTranscription runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/transcription/presentation/bloc/transcription_bloc.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2123f67c495f43a2f3d0ed5fd754459ef24f6970a1ad18e6e455e2822c5e1a39"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PushToTalkHandler.handleKeyUp: MethodTooLong \u2014 handleKeyUp runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/handlers/push_to_talk_handler.dart"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f221fc72f46abf5c470da4ceedb6d40e96720212454ca89753690a0abcbceef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MobileApiKeySection.build: MethodTooLong \u2014 build runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_api_key_section.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa994a0f1922c1dbb057231c67045dfbc3df6766450693b92de89e53f725e296"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MinimalistToggle.build: MethodTooLong \u2014 build runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/minimalist_toggle.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d595a0ac17b94d917b2c7b3343cf53e2d4d495c2ee9bff5f13eb7358d0c18a17"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _EnhancedStatsCardState.build: MethodTooLong \u2014 build runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/enhanced_stats_card.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f72e80a1a19886675332af8858f4ca226c1009fefec73790dde339bebb3c003"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: assistant/assistant_service.dart: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: AssistantService (22-907). The bar is 500 significant lines; this is 9 over it, 1.02\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/features/assistant/assistant_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c836f20a34f2f4bfacfc4c902c979efed4f283cf328b9115e293a4497620d734"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MinimalistInputState.build: MethodTooLong \u2014 build runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/minimalist_input.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f001d4a041c54ac698d90956899246f7a0878eaa2111fb82f384bb0e14dbff"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 50 shared lines): lib/features/mobile/presentation/widgets/mobile_api_key_step.dart:25-299 | lib/features/mobile/presentation/widgets/mobile_keyboard_extension_step.dart:7-244 | lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:11-212 | lib/features/mobile/presentation/widgets/mobile_permissions_step.dart:11-207 \u2014 These 4 members are variants of one another: a block of 50 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/mobile/presentation/widgets/mobile_api_key_step.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccff4c04ed6e3ed2722e162e7a8a8aa2997ab6dd2806e2d6c8aa8388ecfbef38"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 48 shared lines): lib/features/settings/presentation/pages/assistant_settings_page.dart:57-154 | lib/features/settings/presentation/pages/general_settings_page.dart:112-296 | lib/features/settings/presentation/pages/general_settings_page.dart:298-457 | lib/features/settings/presentation/pages/transcription_settings_page.dart:58-177 \u2014 These 4 members are variants of one another: a block of 48 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/settings/presentation/pages/assistant_settings_page.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca507d3ee729a43126ed7e0423419a78a6652a0f60b41a07462ad50f586c637"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 37 shared lines): lib/features/settings/presentation/pages/general_settings_page.dart:112-296 | lib/features/settings/presentation/pages/general_settings_page.dart:298-457 | lib/features/settings/presentation/pages/transcription_settings_page.dart:58-177 | lib/features/settings/presentation/widgets/smart_transcription_section.dart:12-60 \u2014 These 4 members are variants of one another: a block of 37 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/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"460af5b3c28dc2161bd5639803578a42a52820e8f76ccf1229d756e635b9e170"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 44 shared lines): lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:409-494 | lib/features/onboarding/presentation/widgets/local_step.dart:485-571 | lib/features/settings/presentation/pages/transcription_settings_page.dart:457-571 \u2014 These 3 members are variants of one another: a block of 44 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 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_local_models_step.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"6775ec79621f3b45026a7c8483aee8dceb66e55074427de4532e303e8879b82e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 26 shared lines): lib/features/settings/presentation/pages/general_settings_page.dart:631-746 | lib/features/settings/presentation/pages/general_settings_page.dart:748-840 | lib/features/settings/presentation/pages/output_settings_page.dart:57-263 \u2014 These 3 members are variants of one another: a block of 26 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 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeddc4c1ba0546885302e78ec63c813b070d8a8dae518d76b11b982fed23fbd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (201 shared lines): lib/features/onboarding/presentation/widgets/local_step.dart:200-471 | lib/features/settings/presentation/pages/transcription_settings_page.dart:191-455 \u2014 These two members are variants of one another: 201 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/features/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"1673868025e07cc629218cab2bb760c557d4a866c0fa2fc609b48d9ebeca08bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (142 shared lines): lib/features/mobile/presentation/widgets/mobile_local_models_section.dart:142-340 | lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:214-407 \u2014 These two members are variants of one another: 142 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/features/mobile/presentation/widgets/mobile_local_models_section.dart"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3c739c01dc80bd8eaf300b3b917f33cc6d7c250c3e17f3c063cd262cabeeba"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (58 shared lines): lib/features/settings/presentation/pages/output_settings_page.dart:265-434 | lib/features/settings/presentation/pages/output_settings_page.dart:436-645 \u2014 These two members are variants of one another: 58 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/features/settings/presentation/pages/output_settings_page.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad32d22deeb7edaf823954fa43643e0a6b3f416d3f1e2da90e83bf79c10fd7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): macos/Runner/AppDelegate.swift:170-214 | macos/Runner/AppDelegate.swift:264-290 | macos/Runner/AppDelegate.swift:297-306 | macos/Runner/AppDelegate.swift:308-317 | macos/Runner/AppDelegate.swift:319-328 | macos/Runner/AppDelegate.swift:362-381 | macos/Runner/AppDelegate.swift:383-402 | macos/Runner/AppDelegate.swift:404-413 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Runner/AppDelegate.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc4921a5903f8cad8f9358ef9ab11b8676de490b785fe807fe448ea62d8d1c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/features/mobile/presentation/pages/mobile_home_page.dart:82-221 | lib/features/mobile/presentation/widgets/mobile_api_key_section.dart:13-169 | lib/features/mobile/presentation/widgets/mobile_local_models_section.dart:11-140 | lib/features/mobile/presentation/widgets/mobile_theme_settings_section.dart:11-137 | lib/features/mobile/presentation/widgets/mobile_transcription_models_section.dart:11-102 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/pages/mobile_home_page.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b07aaaf1a96886b6189ddceb1178e3d4f298c9df3b28237eaa8b6391185838"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/features/settings/presentation/widgets/api_key_section.dart:16-110 | lib/features/settings/presentation/widgets/assistant_hotkey_settings_section.dart:16-36 | lib/features/settings/presentation/widgets/assistant_models_section.dart:12-32 | lib/features/settings/presentation/widgets/transcription_hotkey_settings_section.dart:16-39 | lib/features/settings/presentation/widgets/transcription_models_section.dart:12-32 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/widgets/api_key_section.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc1fcb486558646723b170f869cb619ee20c2500484fff72619d93d3b44b52f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/features/onboarding/presentation/widgets/api_key_step.dart:12-366 | lib/features/onboarding/presentation/widgets/hotkeys_step.dart:14-346 | lib/features/onboarding/presentation/widgets/preferences_step.dart:10-131 | lib/features/onboarding/presentation/widgets/test_hotkeys_step.dart:69-212 \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/onboarding/presentation/widgets/api_key_step.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1f29f522557d68688b94fa68990d84760e0ed1fea9700c4a7c624fabd344bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/features/settings/presentation/pages/assistant_settings_page.dart:14-55 | lib/features/settings/presentation/pages/output_settings_page.dart:19-55 | lib/features/settings/presentation/pages/settings.dart:76-385 | lib/features/settings/presentation/pages/transcription_settings_page.dart:15-56 \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/settings/presentation/pages/assistant_settings_page.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f0f97ef23659bc1154830e57c58153e88a192aeee3164a55e905c2378d8a9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): lib/features/mobile/presentation/pages/mobile_onboarding_page.dart:241-339 | lib/features/onboarding/presentation/widgets/welcome_step.dart:6-87 \u2014 These two members are one piece of code written twice and then edited apart: 82 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/mobile/presentation/pages/mobile_onboarding_page.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d672af6c246932fd277730b398bc26c24a5bfc88b6abd99e830679b8e5b5f13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): lib/features/onboarding/presentation/bloc/onboarding_state.dart:76-135 | lib/features/settings/presentation/bloc/settings_state.dart:131-208 \u2014 These two members are one piece of code written twice and then edited apart: 60 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/onboarding/presentation/bloc/onboarding_state.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"799e4567924bc7c453ecc90bf68a6e114abc5afebb1924efe1e6874082e5526a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): lib/features/settings/presentation/bloc/settings_bloc.dart:352-394 | lib/features/settings/presentation/bloc/settings_bloc.dart:678-718 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/bloc/settings_bloc.dart"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1764ed69b6809bcb4d24858675d2a9e1fe276ac48ee974592eaf935b97f4d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): lib/features/mobile/presentation/widgets/mobile_api_key_step.dart:301-361 | lib/features/onboarding/presentation/widgets/api_key_step.dart:368-431 \u2014 These two members are one piece of code written twice and then edited apart: 61 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_api_key_step.dart"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7a6eb283e9787d9e365154ea0469350c8732b1413978cc28e0799499ad408e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 43\u002B corresponding lines): lib/features/mobile/presentation/pages/mobile_onboarding_page.dart:341-388 | lib/features/onboarding/presentation/widgets/completed_step.dart:109-162 | lib/features/onboarding/presentation/widgets/welcome_step.dart:89-131 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 43 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/mobile/presentation/pages/mobile_onboarding_page.dart"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca17fc02f3627454130275db67f778f3af7d6a99d04e5a93dfa415f404faaf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): lib/features/onboarding/presentation/bloc/onboarding_bloc.dart:1198-1237 | lib/features/settings/presentation/bloc/settings_bloc.dart:1007-1055 \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/features/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"4832d6cc77560d2908f10fa508ff4f44802cbe0dafa6c46e8e4a996c950e32ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): lib/features/onboarding/presentation/bloc/onboarding_bloc.dart:857-912 | lib/features/onboarding/presentation/bloc/onboarding_bloc.dart:914-961 \u2014 These two members are one piece of code written twice and then edited apart: 48 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/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bd4dbb7f9ad61b15ad64d28f509a5d17064170e6b1e4a3d23b92b75f9a2400"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): lib/features/onboarding/presentation/bloc/onboarding_bloc.dart:1321-1352 | lib/features/settings/presentation/bloc/settings_bloc.dart:1156-1193 \u2014 These two members are one piece of code written twice and then edited apart: 32 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/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"141d14579ea50c47f6cfe1443f43347b9afe195ebd3e7538f240e129cdab8346"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 29\u002B corresponding lines): lib/features/settings/presentation/bloc/settings_bloc.dart:743-782 | lib/features/settings/presentation/bloc/settings_bloc.dart:785-815 | lib/features/settings/presentation/bloc/settings_bloc.dart:818-846 | lib/features/settings/presentation/bloc/settings_bloc.dart:938-971 | lib/features/settings/presentation/bloc/settings_bloc.dart:1349-1379 | lib/features/settings/presentation/bloc/settings_bloc.dart:1382-1412 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 29 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/bloc/settings_bloc.dart"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab7b9feeb6541bef875af61be35a6bd78197ebe17497ab861a7f066f1b63122"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lib/features/settings/presentation/bloc/settings_bloc.dart:874-904 | lib/features/settings/presentation/bloc/settings_bloc.dart:974-1004 \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/features/settings/presentation/bloc/settings_bloc.dart"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0714a1f98032e0dbd7fe05e1c4820e05c90090ea03ad3ecfdd61411b31e999"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/features/settings/presentation/bloc/settings_bloc.dart:500-522 | lib/features/settings/presentation/bloc/settings_bloc.dart:562-586 \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/features/settings/presentation/bloc/settings_bloc.dart"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a942da3afb786d7f6c33058be3f788a143d85c895d3b338390f207764b7135c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): macos/Runner/AppDelegate.swift:96-107 | macos/Runner/AppDelegate.swift:109-123 | macos/Runner/AppDelegate.swift:125-136 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Runner/AppDelegate.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6bd6b98accf4a0aee2945091040ae946b7d04de8befb37c6777cd67dde249b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): macos/Runner/RecordingOverlayWindow.swift:148-161 | macos/Runner/RecordingOverlayWindow.swift:163-176 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Runner/RecordingOverlayWindow.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ee84ba7e98a21f8d0a74b7ec01a1cfffb3433cfceb74f7e1cf8b56030c84da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/features/settings/presentation/bloc/settings_bloc.dart:484-498 | lib/features/settings/presentation/bloc/settings_bloc.dart:545-560 \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/settings/presentation/bloc/settings_bloc.dart"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"33185c9c803e9d1f3b36b58154cdf14a322aecf276e3567050e772abc5748e27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/features/settings/presentation/widgets/hotkey_settings_section.dart:13-34 | lib/features/settings/presentation/widgets/models_section.dart:10-30 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/widgets/hotkey_settings_section.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfed0eaff14043d2a7bc7cf331b0b4520aff1ad1616affb02ec14fd5cf2c584"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/features/settings/presentation/bloc/settings_bloc.dart:405-425 | lib/features/settings/presentation/bloc/settings_bloc.dart:720-740 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/bloc/settings_bloc.dart"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"921071d7bcc0901f6fe85f0166d30873b69b395290603f2add4d27516451e334"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): macos/Runner/WhisperKitService.swift:24-40 | macos/Runner/WhisperKitService.swift:190-208 \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":"macos/Runner/WhisperKitService.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00019b3e663f890c04dbfe31ba78884ff574307777a3f42464cd53da5ff56f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/features/settings/presentation/pages/general_settings_page.dart:865-886 | lib/features/settings/presentation/pages/transcription_settings_page.dart:747-765 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"9821f1bbd55c9a3a3dac0cdbd02ab5045209055fcfaef12e49771e24b46ac2f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): lib/features/settings/presentation/bloc/settings_bloc.dart:524-542 | lib/features/settings/presentation/bloc/settings_bloc.dart:588-606 | lib/features/settings/presentation/bloc/settings_bloc.dart:629-645 | lib/features/settings/presentation/bloc/settings_bloc.dart:648-667 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/bloc/settings_bloc.dart"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"f147c58476e25703202b49e979c09ce0f399d9ed31d48e5e3977dd77e5dfed6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/features/settings/presentation/bloc/settings_bloc.dart:461-470 | lib/features/settings/presentation/bloc/settings_bloc.dart:472-481 \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/features/settings/presentation/bloc/settings_bloc.dart"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e4f2a180bef72cd5c4f753279af423eb9a20e8a91763b7881154e028da7aab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/features/mobile/presentation/bloc/mobile_onboarding_bloc.dart:158-177 | lib/features/mobile/presentation/bloc/mobile_onboarding_bloc.dart:179-197 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/bloc/mobile_onboarding_bloc.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72a284113dc947dd5b59eb0607bd7b469620c0465790c71f7f7ea662841305a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/features/onboarding/presentation/bloc/onboarding_bloc.dart:90-113 | lib/features/onboarding/presentation/bloc/onboarding_bloc.dart:140-156 \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/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"62df95c5a12a3309f25a4d83985a5274d6af27abba32166b40fb969048fe3f4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/features/settings/presentation/bloc/settings_bloc.dart:236-247 | lib/features/settings/presentation/bloc/settings_bloc.dart:249-260 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/bloc/settings_bloc.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4937071c5746367f55275f9e07156059a796c9937e0a0e09a8fb44c7ad6107"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): macos/Runner/PermissionService.swift:206-216 | macos/Runner/PermissionService.swift:258-268 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Runner/PermissionService.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad21c082d0ff65513cda3decffea715694a6e7aadb76b1a144a8512ba846137"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): lib/features/mobile/presentation/pages/mobile_home_page.dart:31-49 | lib/features/settings/presentation/pages/settings.dart:51-68 | lib/widgets/enhanced_button.dart:52-67 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/pages/mobile_home_page.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b9328e90a8a6bffd77c66aa18ffeb878918befe13aadec5913059b1af89cb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/core/theme/design_tokens.dart:289-307 | lib/core/theme/design_tokens.dart:310-328 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/theme/design_tokens.dart"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6c2086a6c0d3b4217156d5630025a1d64c321babda602562dc330cd7900547"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/features/mobile/presentation/bloc/mobile_onboarding_bloc.dart:148-156 | lib/features/onboarding/presentation/bloc/onboarding_bloc.dart:167-176 \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/mobile/presentation/bloc/mobile_onboarding_bloc.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c2f055bed3faa9e0dccab8420a3fd6e96a99a8edbc88fa0a92b7b6736a8b60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (96\u2013100 lines \u00D7 2): lib/features/mobile/presentation/widgets/mobile_local_models_section.dart:229-328 | lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:300-395 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_local_models_section.dart\u0060 and \u0060lib/features/mobile/presentation/widgets/mobile_local_models_step.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 161 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/features/mobile/presentation/widgets/mobile_local_models_section.dart:229\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/mobile/presentation/widgets/mobile_local_models_section.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ad4a9a698b6b156048a921ad26c43be433b06abb9f9f5af19f7477f640c3c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (83 lines \u00D7 2): lib/features/settings/presentation/widgets/assistant_models_section.dart:122-204 | lib/features/settings/presentation/widgets/transcription_models_section.dart:124-206 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/widgets/assistant_models_section.dart\u0060 and \u0060lib/features/settings/presentation/widgets/transcription_models_section.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 218 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/features/settings/presentation/widgets/assistant_models_section.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/widgets/assistant_models_section.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bed681eb101f95b074a4d1797e2de76646ffb1769545fb4939e7a95b57ccb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (79 lines \u00D7 2): lib/features/onboarding/presentation/widgets/local_step.dart:291-369 | lib/features/settings/presentation/pages/transcription_settings_page.dart:263-341 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/local_step.dart\u0060 and \u0060lib/features/settings/presentation/pages/transcription_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 359 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/onboarding/presentation/widgets/local_step.dart:291\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/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afa1747c10c1714680e2194867a002af31bbdfd178e46134f59d25438c3ee45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51\u201354 lines \u00D7 2): lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:71-124 | lib/features/onboarding/presentation/widgets/local_step.dart:65-115 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_local_models_step.dart\u0060 and \u0060lib/features/onboarding/presentation/widgets/local_step.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 133 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/mobile/presentation/widgets/mobile_local_models_step.dart:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_local_models_step.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4333877c350b59edc624fa07bf477613979edfda04a9e99c08b64c973d09f10d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): lib/features/onboarding/presentation/widgets/local_step.dart:140-191 | lib/features/onboarding/presentation/widgets/permissions_step.dart:169-220 \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/features/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"302a7fd8b4d6bef03185009354913b84738fd0665d68392a5f3c89c8a3ffe703"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:156-203 | lib/features/mobile/presentation/widgets/mobile_permissions_step.dart:128-175 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_local_models_step.dart\u0060 and \u0060lib/features/mobile/presentation/widgets/mobile_permissions_step.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 119 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/features/mobile/presentation/widgets/mobile_local_models_step.dart:156\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/mobile/presentation/widgets/mobile_local_models_step.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"4785d70b22ddd55fe2ac95d5a9366772995041c0436f4517566e3dcd8e6073d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): lib/features/settings/presentation/widgets/assistant_hotkey_settings_section.dart:38-78 | lib/features/settings/presentation/widgets/transcription_hotkey_settings_section.dart:41-81 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/widgets/assistant_hotkey_settings_section.dart\u0060 and \u0060lib/features/settings/presentation/widgets/transcription_hotkey_settings_section.dart\u0060 as WHOLE FILES: this scan already matched 5 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. 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/features/settings/presentation/widgets/assistant_hotkey_settings_section.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3038d307f863354a8542de16009c3cdde0c304813319eab00ad40e9fd784cf73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201339 lines \u00D7 4): lib/features/mobile/presentation/widgets/mobile_api_key_step.dart:35-73 | lib/features/mobile/presentation/widgets/mobile_keyboard_extension_step.dart:9-44 | lib/features/mobile/presentation/widgets/mobile_permissions_step.dart:21-59 | lib/features/mobile/presentation/widgets/mobile_theme_step.dart:17-55 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_api_key_step.dart\u0060 and \u0060lib/features/mobile/presentation/widgets/mobile_keyboard_extension_step.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 123 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/features/mobile/presentation/widgets/mobile_api_key_step.dart:35\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/mobile/presentation/widgets/mobile_api_key_step.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b6441495331f52df57f4c10c69432a3796678aeef414b81fd8fec8ba00ce82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): lib/features/mobile/presentation/pages/mobile_onboarding_page.dart:88-126 | lib/features/onboarding/presentation/pages/onboarding_page.dart:112-150 \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/mobile/presentation/pages/mobile_onboarding_page.dart:88\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/mobile/presentation/pages/mobile_onboarding_page.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"11913a55b0f0f62a76c175462032adfd09bc08a9c060194d9fcff222730096e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201338 lines \u00D7 2): lib/features/settings/presentation/widgets/assistant_models_section.dart:35-70 | lib/features/settings/presentation/widgets/transcription_models_section.dart:35-72 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/widgets/assistant_models_section.dart\u0060 and \u0060lib/features/settings/presentation/widgets/transcription_models_section.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 218 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/features/settings/presentation/widgets/assistant_models_section.dart:35\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/widgets/assistant_models_section.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e653025b87eca856834e44c60cb8403249ac3a2b3f3cb27906ef4a9c8e9a1558"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): lib/features/onboarding/presentation/widgets/local_step.dart:603-635 | lib/features/settings/presentation/pages/transcription_settings_page.dart:640-673 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/local_step.dart\u0060 and \u0060lib/features/settings/presentation/pages/transcription_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 359 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/onboarding/presentation/widgets/local_step.dart:603\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/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db9ad581cbd31d486187c10be297e73edf09d0ec42dc5b742056493ccfa406b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): lib/features/onboarding/presentation/widgets/local_step.dart:202-233 | lib/features/settings/presentation/pages/transcription_settings_page.dart:193-224 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/local_step.dart\u0060 and \u0060lib/features/settings/presentation/pages/transcription_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 359 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/onboarding/presentation/widgets/local_step.dart:202\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/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"e685341f530c28aff814de31a9d2d9bc46a79ecd5499122d2a44336a92266115"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): lib/widgets/hotkey_display.dart:174-205 | lib/widgets/hotkey_display.dart:209-240 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/hotkey_display.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e25e4a9a8b1560ca77eb488840111e885dc8ea91d84b27f53acb2b7fd7ec5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): lib/features/mobile/presentation/pages/mobile_onboarding_page.dart:58-86 | lib/features/onboarding/presentation/pages/onboarding_page.dart:81-110 \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/mobile/presentation/pages/mobile_onboarding_page.dart:58\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/mobile/presentation/pages/mobile_onboarding_page.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0568237b03b0904c0f72d80293bdaec9aa226dade1e15d3238f11dedddbf2feb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201329 lines \u00D7 4): lib/features/onboarding/presentation/widgets/api_key_step.dart:44-72 | lib/features/onboarding/presentation/widgets/hotkeys_step.dart:16-44 | lib/features/onboarding/presentation/widgets/preferences_step.dart:12-36 | lib/features/onboarding/presentation/widgets/test_hotkeys_step.dart:73-101 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/api_key_step.dart\u0060 and \u0060lib/features/onboarding/presentation/widgets/hotkeys_step.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 100 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/features/onboarding/presentation/widgets/api_key_step.dart:44\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/onboarding/presentation/widgets/api_key_step.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1a12ca38180118ffbd7c6f1f55068cf62b919517132d9150b2d1af994c1f12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): lib/features/onboarding/presentation/widgets/local_step.dart:33-61 | lib/features/onboarding/presentation/widgets/permissions_step.dart:46-74 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/features/onboarding/presentation/widgets/local_step.dart:33\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"672ce98f105d2a902255ad7237409d4fd6046d5180e3c6fe3271061dad04f2be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): lib/features/settings/presentation/pages/general_settings_page.dart:718-746 | lib/features/settings/presentation/pages/general_settings_page.dart:812-840 \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/settings/presentation/pages/general_settings_page.dart:718\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/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"9910c59ffe49cfedacde1b5cd186a9ddcb525145ff28e9d8334c3daa0dd38e3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201328 lines \u00D7 4): lib/features/settings/presentation/pages/general_settings_page.dart:156-183 | lib/features/settings/presentation/pages/general_settings_page.dart:213-235 | lib/features/settings/presentation/pages/general_settings_page.dart:344-366 | lib/features/settings/presentation/pages/general_settings_page.dart:400-422 \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/settings/presentation/pages/general_settings_page.dart:156\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/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"580c905a19da9e2c5b9b1fe7f9539e2e71e6f5fe29347b3e2a5aa1799454dc9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lib/features/mobile/presentation/widgets/mobile_local_models_section.dart:143-170 | lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:216-243 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_local_models_section.dart\u0060 and \u0060lib/features/mobile/presentation/widgets/mobile_local_models_step.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 161 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/features/mobile/presentation/widgets/mobile_local_models_section.dart:143\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/mobile/presentation/widgets/mobile_local_models_section.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e46f8d5aca5946690f5a22c652f00aaea97bd3877664ef72fbea23d51ed0b7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lib/features/onboarding/presentation/widgets/hotkeys_step.dart:355-382 | lib/features/onboarding/presentation/widgets/test_hotkeys_step.dart:223-250 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/hotkeys_step.dart\u0060 and \u0060lib/features/onboarding/presentation/widgets/test_hotkeys_step.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 187 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/features/onboarding/presentation/widgets/hotkeys_step.dart:355\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/onboarding/presentation/widgets/hotkeys_step.dart"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"543cd9543a306f20ab1f7c6f57e2e591ef101b683b655829a046a3b428d12c82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201326 lines \u00D7 2): lib/features/onboarding/presentation/widgets/preferences_step.dart:96-118 | lib/features/onboarding/presentation/widgets/test_hotkeys_step.dart:162-187 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/preferences_step.dart\u0060 and \u0060lib/features/onboarding/presentation/widgets/test_hotkeys_step.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 109 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/features/onboarding/presentation/widgets/preferences_step.dart:96\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/onboarding/presentation/widgets/preferences_step.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c053de298c94ba1e293ec31968b2b184948c8bce4190a3791157f4270e08de2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 6): lib/features/onboarding/presentation/widgets/local_step.dart:359-383 | lib/features/onboarding/presentation/widgets/local_step.dart:391-415 | lib/features/onboarding/presentation/widgets/local_step.dart:423-447 | lib/features/settings/presentation/pages/transcription_settings_page.dart:331-355 | lib/features/settings/presentation/pages/transcription_settings_page.dart:363-387 | lib/features/settings/presentation/pages/transcription_settings_page.dart:395-419 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/local_step.dart\u0060 and \u0060lib/features/settings/presentation/pages/transcription_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 359 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/onboarding/presentation/widgets/local_step.dart:359\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/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a82a4f0f15bd293c5f114843b4622f8d44de80a60b14fbce242eb3f0e01444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 5): lib/features/settings/presentation/pages/assistant_settings_page.dart:116-137 | lib/features/settings/presentation/pages/general_settings_page.dart:179-200 | lib/features/settings/presentation/pages/general_settings_page.dart:362-383 | lib/features/settings/presentation/pages/general_settings_page.dart:418-439 | lib/features/settings/presentation/pages/transcription_settings_page.dart:129-153 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/pages/assistant_settings_page.dart\u0060 and \u0060lib/features/settings/presentation/pages/general_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 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/features/settings/presentation/pages/assistant_settings_page.dart:116\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/settings/presentation/pages/assistant_settings_page.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea3552536abe8c385c0de8123f351457f7060889e07dd2e777b7274169b3f3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 3): lib/features/onboarding/presentation/widgets/api_key_step.dart:296-320 | lib/features/onboarding/presentation/widgets/hotkeys_step.dart:316-338 | lib/features/onboarding/presentation/widgets/test_hotkeys_step.dart:178-202 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/api_key_step.dart\u0060 and \u0060lib/features/onboarding/presentation/widgets/hotkeys_step.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 100 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/features/onboarding/presentation/widgets/api_key_step.dart:296\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/onboarding/presentation/widgets/api_key_step.dart"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda93452f3fef5bc0de77a49b79357f19a058ecc75f5d24117f80b615201672a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/features/mobile/presentation/widgets/mobile_local_models_section.dart:205-229 | lib/features/mobile/presentation/widgets/mobile_transcription_models_section.dart:159-183 \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/features/mobile/presentation/widgets/mobile_local_models_section.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"466ffe86b5a9f9338e594249960335703c55f88b6fa8ab683f03ff116c6775e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/features/onboarding/presentation/widgets/completed_step.dart:29-53 | lib/features/onboarding/presentation/widgets/welcome_step.dart:24-48 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/completed_step.dart\u0060 and \u0060lib/features/onboarding/presentation/widgets/welcome_step.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/features/onboarding/presentation/widgets/completed_step.dart:29\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/onboarding/presentation/widgets/completed_step.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f960bfe9ce01c02e3e273ea9ec1d8a98a5e5f9cf4aa44011593ae589d62b697"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/features/onboarding/presentation/widgets/local_step.dart:487-511 | lib/features/settings/presentation/pages/transcription_settings_page.dart:459-483 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/local_step.dart\u0060 and \u0060lib/features/settings/presentation/pages/transcription_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 359 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/onboarding/presentation/widgets/local_step.dart:487\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060OnboardingState\u0060 in one and \u0060SettingsState\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fe911e2e7f58e9f59813a0e44a84c057dd12dbf63c9d081cf4aef303486c92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): lib/features/mobile/presentation/widgets/mobile_api_key_section.dart:47-68 | lib/features/mobile/presentation/widgets/mobile_local_models_section.dart:33-56 \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/features/mobile/presentation/widgets/mobile_api_key_section.dart:47\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/mobile/presentation/widgets/mobile_api_key_section.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3dcfa938a6de37f940dd8f7e17c53b071590b938d887c455d4b320ae4a00e98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): lib/features/mobile/presentation/widgets/mobile_api_key_section.dart:142-164 | lib/features/settings/presentation/widgets/api_key_section.dart:86-106 \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/mobile/presentation/widgets/mobile_api_key_section.dart:142\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_api_key_section.dart"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec17f94f203879efa52831cdf0916936804ac888a3e34ae493b8f12091047001"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/features/onboarding/presentation/widgets/hotkeys_step.dart:179-201 | lib/features/onboarding/presentation/widgets/hotkeys_step.dart:269-291 \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/onboarding/presentation/widgets/hotkeys_step.dart:179\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/onboarding/presentation/widgets/hotkeys_step.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50466d2408250dfbd75dea39df377b4010e2aee9424ba1819356e45b549131b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 5): lib/features/mobile/presentation/widgets/mobile_api_key_step.dart:37-58 | lib/features/mobile/presentation/widgets/mobile_keyboard_extension_step.dart:11-30 | lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:17-38 | lib/features/mobile/presentation/widgets/mobile_permissions_step.dart:23-44 | lib/features/mobile/presentation/widgets/mobile_theme_step.dart:19-40 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_api_key_step.dart\u0060 and \u0060lib/features/mobile/presentation/widgets/mobile_keyboard_extension_step.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 123 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/features/mobile/presentation/widgets/mobile_api_key_step.dart:37\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/mobile/presentation/widgets/mobile_api_key_step.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"55960f14ce3c7f96cad15e34cd9edd12bdee3bb8ceb652e73d324bbbe196330e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/features/mobile/presentation/widgets/mobile_theme_settings_section.dart:43-64 | lib/features/mobile/presentation/widgets/mobile_transcription_models_section.dart:43-64 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_theme_settings_section.dart\u0060 and \u0060lib/features/mobile/presentation/widgets/mobile_transcription_models_section.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/features/mobile/presentation/widgets/mobile_theme_settings_section.dart:43\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/mobile/presentation/widgets/mobile_theme_settings_section.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ce113dab8de23783df17b8a430d18def6b9acc723201de630ed0a544c905af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 11): lib/features/settings/presentation/pages/assistant_settings_page.dart:79-99 | lib/features/settings/presentation/pages/general_settings_page.dart:135-155 | lib/features/settings/presentation/pages/general_settings_page.dart:321-341 | lib/features/settings/presentation/pages/general_settings_page.dart:487-507 | lib/features/settings/presentation/pages/general_settings_page.dart:652-672 | lib/features/settings/presentation/pages/general_settings_page.dart:769-789 | lib/features/settings/presentation/pages/output_settings_page.dart:77-97 | lib/features/settings/presentation/pages/output_settings_page.dart:285-305 | lib/features/settings/presentation/pages/output_settings_page.dart:456-476 | lib/features/settings/presentation/pages/transcription_settings_page.dart:81-101 | lib/features/settings/presentation/widgets/smart_transcription_section.dart:35-55 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/pages/assistant_settings_page.dart\u0060 and \u0060lib/features/settings/presentation/pages/general_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 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/features/settings/presentation/pages/assistant_settings_page.dart:79\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/settings/presentation/pages/assistant_settings_page.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"521c2ecb2a8398b4fb443ded07fe24b1fb80167877a5eedc8e80b2745b0d813a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:428-448 | lib/features/onboarding/presentation/widgets/local_step.dart:501-521 | lib/features/settings/presentation/pages/transcription_settings_page.dart:473-493 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_local_models_step.dart\u0060 and \u0060lib/features/onboarding/presentation/widgets/local_step.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 133 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/mobile/presentation/widgets/mobile_local_models_step.dart:428\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/mobile/presentation/widgets/mobile_local_models_step.dart"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ffea9371141a401369d66c6489c8498b37429cd9e37cdd8fc77929d76c4c84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): lib/features/mobile/presentation/widgets/mobile_transcription_models_section.dart:168-188 | lib/features/settings/presentation/widgets/assistant_models_section.dart:187-207 | lib/features/settings/presentation/widgets/transcription_models_section.dart:189-209 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/widgets/assistant_models_section.dart\u0060 and \u0060lib/features/settings/presentation/widgets/transcription_models_section.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 218 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/features/mobile/presentation/widgets/mobile_transcription_models_section.dart:168\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/mobile/presentation/widgets/mobile_transcription_models_section.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cdec51b6690e2111bfe65b510045f77c989096215d852f379d9615f201c40a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/features/settings/presentation/widgets/assistant_hotkey_settings_section.dart:80-100 | lib/features/settings/presentation/widgets/transcription_hotkey_settings_section.dart:83-103 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/widgets/assistant_hotkey_settings_section.dart\u0060 and \u0060lib/features/settings/presentation/widgets/transcription_hotkey_settings_section.dart\u0060 as WHOLE FILES: this scan already matched 5 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. 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/features/settings/presentation/widgets/assistant_hotkey_settings_section.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be16c59eab5fffd1b97227257834cd35f85e22117406ee02b5eb1dfc44c5509"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/features/info/presentation/pages/info_page.dart:144-163 | lib/features/info/presentation/pages/info_page.dart:181-200 \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/info/presentation/pages/info_page.dart:144\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/info/presentation/pages/info_page.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"54791ea306addfb5d901a52d9dd9577526f76aa40e00c88614b0a1c7320b5604"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 13): lib/features/home/presentation/pages/home_page.dart:225-243 | lib/features/settings/presentation/pages/assistant_settings_page.dart:74-89 | lib/features/settings/presentation/pages/general_settings_page.dart:130-145 | lib/features/settings/presentation/pages/general_settings_page.dart:316-331 | lib/features/settings/presentation/pages/general_settings_page.dart:482-497 | lib/features/settings/presentation/pages/general_settings_page.dart:647-662 | lib/features/settings/presentation/pages/general_settings_page.dart:764-779 | lib/features/settings/presentation/pages/output_settings_page.dart:72-87 | lib/features/settings/presentation/pages/output_settings_page.dart:280-295 | lib/features/settings/presentation/pages/output_settings_page.dart:451-466 | lib/features/settings/presentation/pages/transcription_settings_page.dart:76-91 | lib/features/settings/presentation/widgets/smart_transcription_section.dart:30-45 | lib/features/settings/presentation/widgets/theme_settings_section.dart:30-45 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/pages/assistant_settings_page.dart\u0060 and \u0060lib/features/settings/presentation/pages/general_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 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/features/home/presentation/pages/home_page.dart:225\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/home/presentation/pages/home_page.dart"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb21caff561be297da3284ee8ae3e463ddbd45dc3075ebfdb547ec3d464873d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 5): lib/features/settings/presentation/pages/general_settings_page.dart:170-185 | lib/features/settings/presentation/pages/general_settings_page.dart:222-237 | lib/features/settings/presentation/pages/general_settings_page.dart:353-368 | lib/features/settings/presentation/pages/general_settings_page.dart:409-424 | lib/features/settings/presentation/pages/transcription_settings_page.dart:118-136 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/pages/general_settings_page.dart\u0060 and \u0060lib/features/settings/presentation/pages/transcription_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 150 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/features/settings/presentation/pages/general_settings_page.dart:170\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/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb2d121592754922933e26496a5b998c81103e982fa66a35c578a996504299e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 4): lib/features/onboarding/presentation/widgets/api_key_step.dart:292-310 | lib/features/onboarding/presentation/widgets/hotkeys_step.dart:312-328 | lib/features/onboarding/presentation/widgets/preferences_step.dart:108-123 | lib/features/onboarding/presentation/widgets/test_hotkeys_step.dart:174-192 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/api_key_step.dart\u0060 and \u0060lib/features/onboarding/presentation/widgets/hotkeys_step.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 100 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/features/onboarding/presentation/widgets/api_key_step.dart:292\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/onboarding/presentation/widgets/api_key_step.dart"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee1a89e7d2da7ce0b9a1265096473374c3068783c8529fe2ff8e71ddabc6256"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 3): lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:72-90 | lib/features/onboarding/presentation/widgets/local_step.dart:66-83 | lib/features/settings/presentation/pages/transcription_settings_page.dart:64-80 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_local_models_step.dart\u0060 and \u0060lib/features/onboarding/presentation/widgets/local_step.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 133 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/mobile/presentation/widgets/mobile_local_models_step.dart:72\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/mobile/presentation/widgets/mobile_local_models_step.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"875c8fcae9a6301358cc64300a83c116546a2133c366d33f1020bae055b48fc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): lib/features/settings/presentation/pages/general_settings_page.dart:601-618 | lib/features/settings/presentation/pages/general_settings_page.dart:721-739 | lib/features/settings/presentation/pages/general_settings_page.dart:815-833 \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/settings/presentation/pages/general_settings_page.dart:601\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/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c97b9c85579a6836ef6d596b7acc46da87587a4ccaa39fb9abd87c8aea6b2ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/features/onboarding/presentation/widgets/hotkeys_step.dart:397-415 | lib/features/onboarding/presentation/widgets/test_hotkeys_step.dart:291-309 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/hotkeys_step.dart\u0060 and \u0060lib/features/onboarding/presentation/widgets/test_hotkeys_step.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 187 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/features/onboarding/presentation/widgets/hotkeys_step.dart:397\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/onboarding/presentation/widgets/hotkeys_step.dart"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7437eff89f99d55c64c70cfff9cada446e65e6c25c70f90783adf4a87f6042"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): lib/features/onboarding/presentation/widgets/api_key_step.dart:273-290 | lib/features/onboarding/presentation/widgets/hotkeys_step.dart:293-310 | lib/features/onboarding/presentation/widgets/preferences_step.dart:89-106 | lib/features/onboarding/presentation/widgets/test_hotkeys_step.dart:155-172 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/api_key_step.dart\u0060 and \u0060lib/features/onboarding/presentation/widgets/hotkeys_step.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 100 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/features/onboarding/presentation/widgets/api_key_step.dart:273\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/onboarding/presentation/widgets/api_key_step.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b8dda3abac2d55741cab576567bbe784d0fd6b43e1720d5d090a4bcd853c7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): lib/features/mobile/presentation/widgets/mobile_api_key_step.dart:209-226 | lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:151-168 | lib/features/mobile/presentation/widgets/mobile_permissions_step.dart:123-140 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_api_key_step.dart\u0060 and \u0060lib/features/mobile/presentation/widgets/mobile_local_models_step.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 119 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/features/mobile/presentation/widgets/mobile_api_key_step.dart:209\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/mobile/presentation/widgets/mobile_api_key_step.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c1298d5f06592fd291516e6f2335c56891d000b06fa52297a4a478599b212f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 3): lib/features/onboarding/presentation/widgets/completed_step.dart:128-142 | lib/features/onboarding/presentation/widgets/hotkeys_step.dart:374-391 | lib/features/onboarding/presentation/widgets/test_hotkeys_step.dart:242-259 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/completed_step.dart\u0060 and \u0060lib/features/onboarding/presentation/widgets/hotkeys_step.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 64 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/features/onboarding/presentation/widgets/completed_step.dart:128\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/features/onboarding/presentation/widgets/test_hotkeys_step.dart:260\u0060 calls \u0060Row\u0060 and \u0060lib/features/onboarding/presentation/widgets/completed_step.dart:143\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/onboarding/presentation/widgets/completed_step.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"978cdfb5b8b0eab3d7ab430254e12cc0e62b09fe2129268f60562b6d19aaa117"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/features/mobile/presentation/widgets/mobile_keyboard_extension_step.dart:106-123 | lib/features/mobile/presentation/widgets/mobile_transcription_models_section.dart:21-38 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/features/mobile/presentation/widgets/mobile_keyboard_extension_step.dart:106\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/mobile/presentation/widgets/mobile_keyboard_extension_step.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31d3a90a5f9f707063c9421b395416366981f2027ceb43a2396a66e81e23e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/features/mobile/presentation/widgets/mobile_local_models_section.dart:80-97 | lib/features/mobile/presentation/widgets/mobile_theme_settings_section.dart:86-103 \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/features/mobile/presentation/widgets/mobile_local_models_section.dart:80\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/mobile/presentation/widgets/mobile_local_models_section.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"837f3760e2719acde05fd5111e6c88145e0e453c9bdd94b9785a110256b6d4d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/features/mobile/presentation/widgets/mobile_local_models_section.dart:177-194 | lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:262-279 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_local_models_section.dart\u0060 and \u0060lib/features/mobile/presentation/widgets/mobile_local_models_step.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 161 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/features/mobile/presentation/widgets/mobile_local_models_section.dart:177\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/features/mobile/presentation/widgets/mobile_local_models_step.dart:260\u0060 calls \u0060contains\u0060 and \u0060lib/features/mobile/presentation/widgets/mobile_local_models_section.dart:175\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_local_models_section.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b74540e8fe9ed569dddd0dc52abb535dba3ee524caabbfb9c2fd4dfa05358ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/features/mobile/presentation/widgets/mobile_permissions_step.dart:80-97 | lib/features/mobile/presentation/widgets/mobile_theme_step.dart:107-124 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_permissions_step.dart\u0060 and \u0060lib/features/mobile/presentation/widgets/mobile_theme_step.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/features/mobile/presentation/widgets/mobile_permissions_step.dart:80\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/mobile/presentation/widgets/mobile_permissions_step.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4729e5d60e89c55457f34b686dc2cdbe2d4e09189ab7b14066592ae3e2c7f5b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/features/mobile/presentation/widgets/mobile_permissions_step.dart:273-290 | lib/features/onboarding/presentation/widgets/permissions_step.dart:347-364 \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/mobile/presentation/widgets/mobile_permissions_step.dart:273\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/mobile/presentation/widgets/mobile_permissions_step.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd34664ab5873d60c7a07a6aa4f8c1c1c7dd82e3d57b0c47540e706db0f000d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lib/features/onboarding/presentation/bloc/onboarding_bloc.dart:1201-1218 | lib/features/settings/presentation/bloc/settings_bloc.dart:1009-1025 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/bloc/onboarding_bloc.dart\u0060 and \u0060lib/features/settings/presentation/bloc/settings_bloc.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 68 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/onboarding/presentation/bloc/onboarding_bloc.dart:1201\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/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3b7c22bc3e78cfabc051ac82921de481f6d49584bc6d47dce2cf810603602c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 5): lib/features/mobile/presentation/pages/mobile_home_page.dart:141-157 | lib/features/mobile/presentation/widgets/mobile_api_key_section.dart:44-57 | lib/features/mobile/presentation/widgets/mobile_local_models_section.dart:30-43 | lib/features/mobile/presentation/widgets/mobile_theme_settings_section.dart:40-53 | lib/features/mobile/presentation/widgets/mobile_transcription_models_section.dart:40-53 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_api_key_section.dart\u0060 and \u0060lib/features/mobile/presentation/widgets/mobile_theme_settings_section.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/features/mobile/presentation/pages/mobile_home_page.dart:141\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/mobile/presentation/pages/mobile_home_page.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"016ef608b7ac3bb5b07f9bd0d8177d110dca60a77e45d6ba84a19b8130417a4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): lib/features/settings/presentation/pages/assistant_settings_page.dart:16-32 | lib/features/settings/presentation/pages/output_settings_page.dart:23-39 | lib/features/settings/presentation/pages/transcription_settings_page.dart:17-33 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/pages/assistant_settings_page.dart\u0060 and \u0060lib/features/settings/presentation/pages/output_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 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/features/settings/presentation/pages/assistant_settings_page.dart:16\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/features/settings/presentation/pages/output_settings_page.dart:21\u0060 calls \u0060of\u0060 and \u0060lib/features/settings/presentation/pages/assistant_settings_page.dart:15\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/settings/presentation/pages/assistant_settings_page.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0ddaee40fda492442e1558797347678340b25f11d6458bd6c66ac84240c8e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): lib/features/settings/presentation/widgets/assistant_hotkey_settings_section.dart:102-118 | lib/features/settings/presentation/widgets/hotkey_settings_section.dart:91-107 | lib/features/settings/presentation/widgets/transcription_hotkey_settings_section.dart:105-121 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/widgets/assistant_hotkey_settings_section.dart\u0060 and \u0060lib/features/settings/presentation/widgets/transcription_hotkey_settings_section.dart\u0060 as WHOLE FILES: this scan already matched 5 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. 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/features/settings/presentation/widgets/assistant_hotkey_settings_section.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d7665753a3c284c8f36b120bef80517a8e1035f67a1b7c9c5c094014e6235e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/features/mobile/presentation/widgets/mobile_api_key_step.dart:69-85 | lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:49-65 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_api_key_step.dart\u0060 and \u0060lib/features/mobile/presentation/widgets/mobile_local_models_step.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 119 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/features/mobile/presentation/widgets/mobile_api_key_step.dart:69\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/mobile/presentation/widgets/mobile_api_key_step.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1cffa3db178821f513151c7c71fe507d7420aa314051de03f86643010cad5a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/features/onboarding/presentation/widgets/local_step.dart:526-542 | lib/features/settings/presentation/pages/transcription_settings_page.dart:501-517 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/local_step.dart\u0060 and \u0060lib/features/settings/presentation/pages/transcription_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 359 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/onboarding/presentation/widgets/local_step.dart:526\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6d02636892a205f233ddc300500a3b495728312d5c202ded918b684c0bbe7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/features/onboarding/presentation/widgets/permissions_step.dart:418-434 | lib/features/settings/presentation/widgets/smart_transcription_section.dart:97-113 \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/onboarding/presentation/widgets/permissions_step.dart:418\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/onboarding/presentation/widgets/permissions_step.dart"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"2193e03463a2aa7d9da1b404784d6adf697fc4a30530e0bea6518e64da7d7f82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/features/settings/presentation/bloc/settings_bloc.dart:361-377 | lib/features/settings/presentation/bloc/settings_bloc.dart:685-701 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060event\u0060 to \u0060UpdateRecordedHotkey\u0060 in one and \u0060StartPushToTalkHotkeyRecording\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/bloc/settings_bloc.dart"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac96735508d61ecaec6c5318149ee615ecac36e650d7192402c3c6e69d572e9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/features/settings/presentation/pages/output_settings_page.dart:355-371 | lib/features/settings/presentation/pages/output_settings_page.dart:546-562 \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/settings/presentation/pages/output_settings_page.dart:355\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/settings/presentation/pages/output_settings_page.dart"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"6532c6acead037e6f2c05426f49f5dc309aa5523293dc3e291960d51ad7709f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 8): lib/features/settings/presentation/pages/general_settings_page.dart:153-168 | lib/features/settings/presentation/pages/general_settings_page.dart:210-220 | lib/features/settings/presentation/pages/general_settings_page.dart:339-351 | lib/features/settings/presentation/pages/general_settings_page.dart:395-407 | lib/features/settings/presentation/pages/general_settings_page.dart:505-515 | lib/features/settings/presentation/pages/general_settings_page.dart:670-685 | lib/features/settings/presentation/pages/general_settings_page.dart:787-802 | lib/features/settings/presentation/pages/transcription_settings_page.dart:99-114 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/pages/general_settings_page.dart\u0060 and \u0060lib/features/settings/presentation/pages/transcription_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 150 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/features/settings/presentation/pages/general_settings_page.dart:153\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/features/settings/presentation/pages/general_settings_page.dart:169\u0060 calls \u0060Row\u0060, \u0060Expanded\u0060 and \u0060lib/features/settings/presentation/pages/general_settings_page.dart:516\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/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"20809e985932a40aa647c35a772c775096b4724a36f8d131e485063473762d1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): lib/features/mobile/presentation/widgets/mobile_api_key_step.dart:205-220 | lib/features/mobile/presentation/widgets/mobile_keyboard_extension_step.dart:196-211 | lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:147-162 | lib/features/mobile/presentation/widgets/mobile_permissions_step.dart:119-134 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_api_key_step.dart\u0060 and \u0060lib/features/mobile/presentation/widgets/mobile_keyboard_extension_step.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 123 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/features/mobile/presentation/widgets/mobile_api_key_step.dart:205\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/mobile/presentation/widgets/mobile_api_key_step.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5974389ad14cdac29339c36d36cf4cfc3eb13f8a7b6fb555bc07a4ef82e8f377"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): lib/features/mobile/presentation/widgets/mobile_api_key_step.dart:67-82 | lib/features/mobile/presentation/widgets/mobile_keyboard_extension_step.dart:38-52 | lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:47-62 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_api_key_step.dart\u0060 and \u0060lib/features/mobile/presentation/widgets/mobile_keyboard_extension_step.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 123 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/features/mobile/presentation/widgets/mobile_api_key_step.dart:67\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_api_key_step.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3205dd05988e7aae77ca6c4cdef41080c72f7521a511b34a97936edcc990adda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): lib/features/settings/presentation/widgets/models_section.dart:55-70 | lib/features/settings/presentation/widgets/models_section.dart:72-87 | lib/features/settings/presentation/widgets/models_section.dart:89-104 \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/settings/presentation/widgets/models_section.dart:55\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/settings/presentation/widgets/models_section.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"be974d904dc712aa95600c54bb7a051faeacade6e90ba24ba7650f3603d9c561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): lib/features/navigation/presentation/pages/main_layout.dart:130-144 | lib/features/settings/presentation/pages/settings.dart:110-125 \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/navigation/presentation/pages/main_layout.dart:130\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/navigation/presentation/pages/main_layout.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8c5cc997c20317b34b355ae35fa44df3e58739135d25c978b5505b9b536d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): lib/features/onboarding/presentation/bloc/onboarding_bloc.dart:1327-1340 | lib/features/settings/presentation/bloc/settings_bloc.dart:1164-1179 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/bloc/onboarding_bloc.dart\u0060 and \u0060lib/features/settings/presentation/bloc/settings_bloc.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 68 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/settings/presentation/bloc/settings_bloc.dart:1164\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/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"d489bedd6b69470b3322487995e2234060bd97ecfe730a5070ad87f790f20aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/features/onboarding/presentation/widgets/local_step.dart:255-270 | lib/features/settings/presentation/pages/transcription_settings_page.dart:240-255 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/local_step.dart\u0060 and \u0060lib/features/settings/presentation/pages/transcription_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 359 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/onboarding/presentation/widgets/local_step.dart:255\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/features/onboarding/presentation/widgets/local_step.dart:254\u0060 calls \u0060contains\u0060 and \u0060lib/features/settings/presentation/pages/transcription_settings_page.dart:239\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/features/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1dc2c5a63ab29fe0150b0d8353e8589e08afd57cafcdb5e2e4d54b1dba1127"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/features/onboarding/presentation/widgets/local_step.dart:556-571 | lib/features/settings/presentation/pages/transcription_settings_page.dart:556-571 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/local_step.dart\u0060 and \u0060lib/features/settings/presentation/pages/transcription_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 359 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/onboarding/presentation/widgets/local_step.dart:556\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/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"7447c448d08b97ae0d68ef1e9cf0c7e6aaa2fcecba7897e8147d9c887fbfd0f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/features/settings/presentation/widgets/dictionary_section.dart:25-40 | lib/features/settings/presentation/widgets/dictionary_section.dart:112-127 \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/settings/presentation/widgets/dictionary_section.dart:25\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/widgets/dictionary_section.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"303eadff5f07ddc27ae8cf46927f49aa708ef36b3e17fb24ffd62a0f3ce97b6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): lib/features/settings/presentation/widgets/smart_transcription_section.dart:63-78 | lib/features/settings/presentation/widgets/transcription_hotkey_settings_section.dart:124-138 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/features/settings/presentation/widgets/smart_transcription_section.dart:63\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/widgets/smart_transcription_section.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6326137c67f6d16c50e0f3aa601b59bbd0131dfd4150c3d9009d7d824e65c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 6): lib/features/mobile/presentation/widgets/mobile_api_key_section.dart:20-31 | lib/features/mobile/presentation/widgets/mobile_api_key_step.dart:79-93 | lib/features/mobile/presentation/widgets/mobile_keyboard_extension_step.dart:99-112 | lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:59-73 | lib/features/mobile/presentation/widgets/mobile_theme_settings_section.dart:16-27 | lib/features/mobile/presentation/widgets/mobile_transcription_models_section.dart:16-27 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_api_key_section.dart\u0060 and \u0060lib/features/mobile/presentation/widgets/mobile_theme_settings_section.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/features/mobile/presentation/widgets/mobile_api_key_section.dart:20\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/mobile/presentation/widgets/mobile_api_key_section.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b41cddb24d5dbd066faa1cc385382d85a13aad0b391341141af26130e443b79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 5): lib/features/mobile/presentation/widgets/mobile_api_key_step.dart:62-76 | lib/features/mobile/presentation/widgets/mobile_keyboard_extension_step.dart:34-47 | lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:42-56 | lib/features/mobile/presentation/widgets/mobile_permissions_step.dart:48-62 | lib/features/mobile/presentation/widgets/mobile_theme_step.dart:44-58 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_api_key_step.dart\u0060 and \u0060lib/features/mobile/presentation/widgets/mobile_keyboard_extension_step.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 123 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/features/mobile/presentation/widgets/mobile_api_key_step.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d399d9503131a3b01c1b282ae1b06b577a33dc06bf71c6857cc5a8fa9b45d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): lib/features/mobile/presentation/widgets/mobile_local_models_section.dart:152-166 | lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:225-239 | lib/features/onboarding/presentation/widgets/local_step.dart:213-227 | lib/features/settings/presentation/pages/transcription_settings_page.dart:204-218 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_local_models_section.dart\u0060 and \u0060lib/features/mobile/presentation/widgets/mobile_local_models_step.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 161 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/features/mobile/presentation/widgets/mobile_local_models_section.dart:152\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_local_models_section.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9f7f01ffd8e64e791f649c22831679312a6a851e3e27345818699f61f290be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): lib/features/onboarding/presentation/widgets/completed_step.dart:136-150 | lib/features/onboarding/presentation/widgets/hotkeys_step.dart:385-399 | lib/features/onboarding/presentation/widgets/welcome_step.dart:106-120 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/completed_step.dart\u0060 and \u0060lib/features/onboarding/presentation/widgets/hotkeys_step.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 64 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/features/onboarding/presentation/widgets/completed_step.dart:136\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/onboarding/presentation/widgets/completed_step.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d69291fec818ddac6bdd60f7f450199d5b69155a04b0154af9a0e00aad1cd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lib/features/onboarding/presentation/widgets/local_step.dart:120-134 | lib/features/settings/presentation/pages/transcription_settings_page.dart:159-172 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/local_step.dart\u0060 and \u0060lib/features/settings/presentation/pages/transcription_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 359 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/onboarding/presentation/widgets/local_step.dart:120\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/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe1217f0abc3c731b8b098a42de888965850de0b1900322331ac92f551d49ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 2): lib/features/onboarding/presentation/widgets/local_step.dart:243-252 | lib/features/settings/presentation/pages/transcription_settings_page.dart:225-239 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/local_step.dart\u0060 and \u0060lib/features/settings/presentation/pages/transcription_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 359 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/onboarding/presentation/widgets/local_step.dart:243\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060OnboardingState\u0060 in one and \u0060SettingsState\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/features/onboarding/presentation/widgets/local_step.dart:254\u0060 calls \u0060contains\u0060 and \u0060lib/features/settings/presentation/pages/transcription_settings_page.dart:240\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/features/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ca84058575333d971cb1226ebf3c7c52d06d58ea1037b17a6629b537d1ae85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/features/settings/presentation/pages/output_settings_page.dart:339-353 | lib/features/settings/presentation/pages/output_settings_page.dart:530-544 \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/settings/presentation/pages/output_settings_page.dart:339\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/settings/presentation/pages/output_settings_page.dart"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"e061ea9b7d4aab406552aab6a3b8fcd395c1aac0443a3e5bbd45239a21997788"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 4): lib/features/onboarding/presentation/widgets/completed_step.dart:125-134 | lib/features/onboarding/presentation/widgets/hotkeys_step.dart:370-383 | lib/features/onboarding/presentation/widgets/test_hotkeys_step.dart:238-251 | lib/features/onboarding/presentation/widgets/welcome_step.dart:96-105 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/completed_step.dart\u0060 and \u0060lib/features/onboarding/presentation/widgets/hotkeys_step.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 64 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/features/onboarding/presentation/widgets/completed_step.dart:125\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/onboarding/presentation/widgets/completed_step.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bbb60033c510216d13900d914eeed425e308874f944dfdb5ea4d769f8f121a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): lib/features/settings/presentation/widgets/assistant_hotkey_settings_section.dart:16-29 | lib/features/settings/presentation/widgets/assistant_models_section.dart:12-25 | lib/features/settings/presentation/widgets/transcription_hotkey_settings_section.dart:16-29 | lib/features/settings/presentation/widgets/transcription_models_section.dart:12-25 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/widgets/assistant_hotkey_settings_section.dart\u0060 and \u0060lib/features/settings/presentation/widgets/transcription_hotkey_settings_section.dart\u0060 as WHOLE FILES: this scan already matched 5 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. 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/features/settings/presentation/widgets/assistant_hotkey_settings_section.dart:16\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/settings/presentation/widgets/assistant_hotkey_settings_section.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"495f7c0fee4798ea8e7bffe37b43ad96418839575fe653ec81bf5b5ca28285ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/features/onboarding/presentation/bloc/onboarding_bloc.dart:1224-1237 | lib/features/settings/presentation/bloc/settings_bloc.dart:1042-1055 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/bloc/onboarding_bloc.dart\u0060 and \u0060lib/features/settings/presentation/bloc/settings_bloc.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 68 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/onboarding/presentation/bloc/onboarding_bloc.dart:1224\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/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ed10ceeff13be366ccf830a9064a08eb6ca4b166708564c7b3475931bc9fb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/features/onboarding/presentation/widgets/hotkeys_step.dart:98-111 | lib/features/onboarding/presentation/widgets/hotkeys_step.dart:242-255 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/features/onboarding/presentation/widgets/hotkeys_step.dart:98\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/onboarding/presentation/widgets/hotkeys_step.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f3d1cd1a57067488fe74062cb7033f4b2a96d53ad22ba32c6e22c0af58befe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/features/settings/presentation/pages/assistant_settings_page.dart:59-72 | lib/features/settings/presentation/pages/general_settings_page.dart:749-762 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/pages/assistant_settings_page.dart\u0060 and \u0060lib/features/settings/presentation/pages/general_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 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/features/settings/presentation/pages/assistant_settings_page.dart:59\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/settings/presentation/pages/assistant_settings_page.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"973132da423e394db98db0b36b58ffb91d9a637fb5b2d4d7339f0d4002749243"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/features/settings/presentation/pages/general_settings_page.dart:873-886 | lib/features/settings/presentation/pages/transcription_settings_page.dart:752-765 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/pages/general_settings_page.dart\u0060 and \u0060lib/features/settings/presentation/pages/transcription_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 150 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/features/settings/presentation/pages/general_settings_page.dart:873\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/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8872c8a27c29fbf63392f1f3b8684b95d59a9de5f5aecfff616fba95278014e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/features/settings/presentation/widgets/hotkey_settings_section.dart:13-26 | lib/features/settings/presentation/widgets/models_section.dart:10-23 \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/features/settings/presentation/widgets/hotkey_settings_section.dart:13\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/settings/presentation/widgets/hotkey_settings_section.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc61884300deade1462b77115a97d4d376edfb94d1f6ac0bb317ea2d32da0132"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/features/settings/presentation/widgets/smart_transcription_section.dart:82-95 | lib/features/settings/presentation/widgets/transcription_hotkey_settings_section.dart:142-155 \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/features/settings/presentation/widgets/smart_transcription_section.dart:82\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/settings/presentation/widgets/smart_transcription_section.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c22ae90bcad641ab498ad3146a2d88416c965043f42e01665a79dcf42208dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): lib/features/settings/presentation/widgets/api_key_section.dart:22-34 | lib/features/settings/presentation/widgets/assistant_hotkey_settings_section.dart:19-31 | lib/features/settings/presentation/widgets/assistant_models_section.dart:15-27 | lib/features/settings/presentation/widgets/transcription_hotkey_settings_section.dart:19-31 | lib/features/settings/presentation/widgets/transcription_models_section.dart:15-27 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/widgets/assistant_hotkey_settings_section.dart\u0060 and \u0060lib/features/settings/presentation/widgets/transcription_hotkey_settings_section.dart\u0060 as WHOLE FILES: this scan already matched 5 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. 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/features/settings/presentation/widgets/api_key_section.dart:22\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/settings/presentation/widgets/api_key_section.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad781c5c0ffe2125713123d2eb73f05ba5a568cc7f9e2b70d1560556b2b0a8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): lib/features/settings/presentation/pages/assistant_settings_page.dart:19-31 | lib/features/settings/presentation/pages/output_settings_page.dart:26-38 | lib/features/settings/presentation/pages/settings.dart:83-95 | lib/features/settings/presentation/pages/transcription_settings_page.dart:20-32 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/pages/assistant_settings_page.dart\u0060 and \u0060lib/features/settings/presentation/pages/output_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 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/features/settings/presentation/pages/assistant_settings_page.dart:19\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/settings/presentation/pages/assistant_settings_page.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"df02c03f25134df119d9e922ba3f45a729e2ed41c68fc2c93fc69714f7f38f5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/features/home/presentation/pages/home_page.dart:86-98 | lib/features/mobile/presentation/pages/mobile_home_page.dart:57-69 \u2014 before extracting anything, compare \u0060lib/features/home/presentation/pages/home_page.dart\u0060 and \u0060lib/features/mobile/presentation/pages/mobile_home_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 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/home/presentation/pages/home_page.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b373a6acc035d6596c4893a0c81e72f4743fd0c76d7fec33f4d1157c282fc261"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/features/onboarding/presentation/bloc/onboarding_bloc.dart:768-780 | lib/features/onboarding/presentation/bloc/onboarding_bloc.dart:801-813 \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/features/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4644ff5403c9536929e508a97bacd64a295375016fcf663b50c625aaa77dd22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/features/onboarding/presentation/bloc/onboarding_bloc.dart:901-912 | lib/features/onboarding/presentation/bloc/onboarding_bloc.dart:949-961 \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/onboarding/presentation/bloc/onboarding_bloc.dart:901\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/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad4ffa893184eb78ee3ebd296e81aa1421059c0a8600e11c50e52adbfedd4b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/features/onboarding/presentation/bloc/onboarding_bloc.dart:1260-1272 | lib/features/settings/presentation/bloc/settings_bloc.dart:1090-1102 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/bloc/onboarding_bloc.dart\u0060 and \u0060lib/features/settings/presentation/bloc/settings_bloc.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 68 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/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d56f3f78698efc1010fd5f76c2b37664bd49f6d03f515dd25bd3f9714107a21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/features/onboarding/presentation/widgets/permissions_step.dart:275-290 | lib/features/onboarding/presentation/widgets/permissions_step.dart:294-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. 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/onboarding/presentation/widgets/permissions_step.dart"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"4baad8ebd385033e60c0f6c9614a7c2896d4266acd2bf3d9b513e4ddd57c6779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/features/settings/presentation/bloc/settings_bloc.dart:382-394 | lib/features/settings/presentation/bloc/settings_bloc.dart:706-718 \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/settings/presentation/bloc/settings_bloc.dart:382\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/settings/presentation/bloc/settings_bloc.dart"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af345f75bb2276590c2ffa79fe5ea12c87ed6d82a1c5235f75657d7f5a29622"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/features/settings/presentation/pages/general_settings_page.dart:115-127 | lib/features/settings/presentation/widgets/smart_transcription_section.dart:16-27 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/pages/general_settings_page.dart\u0060 and \u0060lib/features/settings/presentation/widgets/smart_transcription_section.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 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/settings/presentation/pages/general_settings_page.dart:115\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/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e1efd020f89d414c423e61cb3f8d2277f5659e7e289b5224ba9d0b4ddc346f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/features/settings/presentation/widgets/models_section.dart:33-45 | lib/features/settings/presentation/widgets/models_section.dart:115-127 \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/settings/presentation/widgets/models_section.dart:33\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/widgets/models_section.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4e25957cd58df286307b5d634dc4db6d5d71d3ed9c79ebafba04b130f55f5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 13): lib/features/info/presentation/pages/info_page.dart:141-152 | lib/features/info/presentation/pages/info_page.dart:178-189 | lib/features/settings/presentation/pages/assistant_settings_page.dart:87-98 | lib/features/settings/presentation/pages/general_settings_page.dart:143-154 | lib/features/settings/presentation/pages/general_settings_page.dart:329-340 | lib/features/settings/presentation/pages/general_settings_page.dart:495-506 | lib/features/settings/presentation/pages/general_settings_page.dart:660-671 | lib/features/settings/presentation/pages/general_settings_page.dart:777-788 | lib/features/settings/presentation/pages/output_settings_page.dart:85-96 | lib/features/settings/presentation/pages/output_settings_page.dart:293-304 | lib/features/settings/presentation/pages/output_settings_page.dart:464-475 | lib/features/settings/presentation/pages/transcription_settings_page.dart:89-100 | lib/features/settings/presentation/widgets/smart_transcription_section.dart:43-54 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/pages/assistant_settings_page.dart\u0060 and \u0060lib/features/settings/presentation/pages/general_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 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/features/info/presentation/pages/info_page.dart:141\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/info/presentation/pages/info_page.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2442e3119b106ae7753219e77503fe812b658b5be351b70fd87542efc34968"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 5): lib/features/settings/presentation/pages/general_settings_page.dart:113-124 | lib/features/settings/presentation/pages/general_settings_page.dart:299-310 | lib/features/settings/presentation/pages/transcription_settings_page.dart:59-70 | lib/features/settings/presentation/widgets/smart_transcription_section.dart:14-24 | lib/features/settings/presentation/widgets/theme_settings_section.dart:13-24 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/pages/general_settings_page.dart\u0060 and \u0060lib/features/settings/presentation/pages/transcription_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 150 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/features/settings/presentation/pages/general_settings_page.dart:113\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b3f23ef138de81d2784805f1a88e20d2943f11ac09fbde8e64bdfd7496e117"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:452-462 | lib/features/onboarding/presentation/widgets/local_step.dart:525-535 | lib/features/settings/presentation/pages/transcription_settings_page.dart:499-510 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_local_models_step.dart\u0060 and \u0060lib/features/onboarding/presentation/widgets/local_step.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 133 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/mobile/presentation/widgets/mobile_local_models_step.dart:452\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/mobile/presentation/widgets/mobile_local_models_step.dart"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c11d8745e794e50da6591e863715a97a1903a42e478487e73aa11cfcf9ab07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:468-479 | lib/features/onboarding/presentation/widgets/local_step.dart:543-554 | lib/features/settings/presentation/pages/transcription_settings_page.dart:543-554 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_local_models_step.dart\u0060 and \u0060lib/features/onboarding/presentation/widgets/local_step.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 133 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/mobile/presentation/widgets/mobile_local_models_step.dart:468\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/features/settings/presentation/pages/transcription_settings_page.dart:555\u0060 calls \u0060add\u0060, \u0060DownloadModel\u0060 and \u0060lib/features/mobile/presentation/widgets/mobile_local_models_step.dart:481\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_local_models_step.dart"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a5450c34b0b17988268bb0b747ff210c8adecf24b2dd18c92515f006b57dfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/features/settings/presentation/pages/assistant_settings_page.dart:61-72 | lib/features/settings/presentation/pages/general_settings_page.dart:751-762 | lib/features/settings/presentation/pages/transcription_settings_page.dart:63-74 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/pages/assistant_settings_page.dart\u0060 and \u0060lib/features/settings/presentation/pages/general_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 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/features/settings/presentation/pages/assistant_settings_page.dart:61\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/settings/presentation/pages/assistant_settings_page.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2355a89b52a3b73bf0592020ea6cc12feb831cd4631cf277a6912147bd0028ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/features/settings/presentation/pages/general_settings_page.dart:117-128 | lib/features/settings/presentation/pages/output_settings_page.dart:438-449 | lib/features/settings/presentation/widgets/smart_transcription_section.dart:17-28 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/pages/general_settings_page.dart\u0060 and \u0060lib/features/settings/presentation/pages/output_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 88 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/features/settings/presentation/pages/general_settings_page.dart:117\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/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb296fe6286b4a8e9ca8637193723ffd3643f0cc709a8f0f0cab0bc4731db3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/features/settings/presentation/pages/general_settings_page.dart:303-314 | lib/features/settings/presentation/pages/general_settings_page.dart:634-645 | lib/features/settings/presentation/pages/output_settings_page.dart:59-70 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/pages/general_settings_page.dart\u0060 and \u0060lib/features/settings/presentation/pages/output_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 88 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/features/settings/presentation/pages/general_settings_page.dart:303\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/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"648d92d62a04a50aad55442a19b88248e0d91c2fd8f76df535cc1d7a4c765dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/features/settings/presentation/pages/assistant_settings_page.dart:109-121 | lib/features/settings/presentation/pages/output_settings_page.dart:100-111 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/pages/assistant_settings_page.dart\u0060 and \u0060lib/features/settings/presentation/pages/output_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 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/features/settings/presentation/pages/assistant_settings_page.dart:109\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/settings/presentation/pages/assistant_settings_page.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1329ae8886360062c9336de157352fca1e880230833bdbac3cd734e44f9d2db9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/features/settings/presentation/pages/general_settings_page.dart:689-700 | lib/features/settings/presentation/pages/output_settings_page.dart:234-244 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/pages/general_settings_page.dart\u0060 and \u0060lib/features/settings/presentation/pages/output_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 88 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/features/settings/presentation/pages/general_settings_page.dart:689\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/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"051b561a55df9b70365c38a79929a1f500c4cf2b5b7a8ca5a87b69315ebb71e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/features/mobile/presentation/widgets/mobile_api_key_section.dart:59-69 | lib/features/mobile/presentation/widgets/mobile_theme_settings_section.dart:55-65 | lib/features/mobile/presentation/widgets/mobile_transcription_models_section.dart:55-65 \u2014 before extracting anything, compare \u0060lib/features/mobile/presentation/widgets/mobile_api_key_section.dart\u0060 and \u0060lib/features/mobile/presentation/widgets/mobile_theme_settings_section.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/features/mobile/presentation/widgets/mobile_api_key_section.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc43bbc9753a98fc6bca9abad9f0d34841a6a7aa958c6f53bdd31560cc124f60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/features/settings/presentation/widgets/dictionary_section.dart:71-81 | lib/features/settings/presentation/widgets/dictionary_section.dart:178-188 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/features/settings/presentation/widgets/dictionary_section.dart:71\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/settings/presentation/widgets/dictionary_section.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"752fa80b3187d5cbd66cf683d6074ca46ac7bd20b6e7fd94a52579b7319d965e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/features/info/presentation/pages/info_page.dart:36-44 | lib/features/onboarding/presentation/widgets/local_step.dart:232-241 \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/onboarding/presentation/widgets/local_step.dart:232\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/info/presentation/pages/info_page.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"596de732a44ac707b217713191940e457712e58dbc2b6958bb91a21ccd043141"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/features/onboarding/presentation/widgets/completed_step.dart:114-123 | lib/features/onboarding/presentation/widgets/preferences_step.dart:137-146 \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/features/onboarding/presentation/widgets/completed_step.dart:114\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/onboarding/presentation/widgets/completed_step.dart"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f708dc1b873b40515bafe4510b4434fca380c957f78d4328654695728e70fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/features/settings/presentation/pages/general_settings_page.dart:632-641 | lib/features/settings/presentation/pages/general_settings_page.dart:749-758 \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/settings/presentation/pages/general_settings_page.dart:632\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/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"824f760ee451e2195f79ccd9c91acc2e9529f40fd2a5db2242e6454145726d25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/features/settings/presentation/bloc/settings_bloc.dart:514-522 | lib/features/settings/presentation/bloc/settings_bloc.dart:534-542 \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/settings/presentation/bloc/settings_bloc.dart:514\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/settings/presentation/bloc/settings_bloc.dart"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac89aa4c0d707df2af0340ff3178fd27f676c86b6478b57720219af3a976a3f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): lib/features/onboarding/presentation/widgets/api_key_step.dart:276-284 | lib/features/onboarding/presentation/widgets/completed_step.dart:116-123 | lib/features/onboarding/presentation/widgets/hotkeys_step.dart:296-304 | lib/features/onboarding/presentation/widgets/preferences_step.dart:92-100 | lib/features/onboarding/presentation/widgets/test_hotkeys_step.dart:158-166 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/api_key_step.dart\u0060 and \u0060lib/features/onboarding/presentation/widgets/hotkeys_step.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 100 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/features/onboarding/presentation/widgets/api_key_step.dart:276\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/onboarding/presentation/widgets/api_key_step.dart"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d93a2f3bb6d4f8467ae75ec04e3f25518620a76d1a505a72e0a59c5719b9f38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): lib/features/onboarding/presentation/widgets/completed_step.dart:114-121 | lib/features/onboarding/presentation/widgets/hotkeys_step.dart:355-362 | lib/features/onboarding/presentation/widgets/preferences_step.dart:137-144 | lib/features/onboarding/presentation/widgets/test_hotkeys_step.dart:223-230 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/completed_step.dart\u0060 and \u0060lib/features/onboarding/presentation/widgets/hotkeys_step.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 64 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/features/onboarding/presentation/widgets/completed_step.dart:114\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/onboarding/presentation/widgets/completed_step.dart"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde9b4663748385d83a63ae73574eec0ae2abd4a5484e0906671392e4195e3e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/features/onboarding/presentation/bloc/onboarding_bloc.dart:65-71 | lib/features/settings/presentation/bloc/settings_bloc.dart:89-95 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/bloc/onboarding_bloc.dart\u0060 and \u0060lib/features/settings/presentation/bloc/settings_bloc.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 68 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/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16288dc8438948470bfdc360261ac45b6fea56572b4a6def8e683fec656ccd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/features/onboarding/presentation/widgets/local_step.dart:589-594 | lib/features/settings/presentation/pages/transcription_settings_page.dart:620-625 \u2014 before extracting anything, compare \u0060lib/features/onboarding/presentation/widgets/local_step.dart\u0060 and \u0060lib/features/settings/presentation/pages/transcription_settings_page.dart\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 359 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060OnboardingState\u0060 in one and \u0060SettingsState\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6615d2e3a30a9e902f665eb07aa8a0dce046862ec2ca3aeb7c94808c0fd445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): lib/features/settings/presentation/widgets/assistant_models_section.dart:72-120 | lib/features/settings/presentation/widgets/transcription_models_section.dart:74-122 \u2014 before extracting anything, compare \u0060lib/features/settings/presentation/widgets/assistant_models_section.dart\u0060 and \u0060lib/features/settings/presentation/widgets/transcription_models_section.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 218 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/features/settings/presentation/widgets/assistant_models_section.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5860a8370563a97a16e0abebde1a83d91c9725be101342ea66cd6805189bad66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/features/assistant/assistant_service.dart:36-44 | lib/features/recording/presentation/bloc/recording_bloc.dart:79-87 \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/assistant/assistant_service.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"753a95468e540706ac54effcac3b5b5bd888f6eed62c2ee3acf9def535748c8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/features/home/presentation/pages/home_page.dart:100-109 | lib/features/mobile/presentation/pages/mobile_home_page.dart:71-80 \u2014 before extracting anything, compare \u0060lib/features/home/presentation/pages/home_page.dart\u0060 and \u0060lib/features/mobile/presentation/pages/mobile_home_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 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/home/presentation/pages/home_page.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ac0c2870864526fbb72a0b03ab6dce9c1e7e2f2853bbc7bae2313dbe1c3d56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/features/home/presentation/pages/home_page.dart:10-16 | lib/features/mobile/presentation/pages/mobile_home_page.dart:10-16 \u2014 before extracting anything, compare \u0060lib/features/home/presentation/pages/home_page.dart\u0060 and \u0060lib/features/mobile/presentation/pages/mobile_home_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 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/home/presentation/pages/home_page.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacdc582e165283483f889da7ecc3a01d4ef0e5b050234fe4257ad7c4861129a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/features/mobile/presentation/bloc/mobile_onboarding_bloc.dart:103-111 | lib/features/onboarding/presentation/bloc/onboarding_bloc.dart:619-627 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060emit\u0060 to \u0060Emitter\u003CMobileOnboardingState\u003E\u0060 in one and \u0060Emitter\u003COnboardingState\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/bloc/mobile_onboarding_bloc.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af52d440f0ac885e92bf212ca1c8f4e7981c87e3d4c162d5d37c5c87f1c22ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): macos/Runner/AppDelegate.swift:265-272 | macos/Runner/AppDelegate.swift:363-370 | macos/Runner/AppDelegate.swift:384-391 \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 \u0060macos/Runner/AppDelegate.swift:265\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":"macos/Runner/AppDelegate.swift"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"313f91f5ea07f40c654df2b68fb10915baac555cb7e2a7a7e4168a3298c967b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): macos/Runner/RecordingOverlayWindow.swift:149-155 | macos/Runner/RecordingOverlayWindow.swift:164-170 \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 \u0060macos/Runner/RecordingOverlayWindow.swift: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":"macos/Runner/RecordingOverlayWindow.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa999579bceb77f2c8a96bcf17dcbe60ed27f2418795ac84dea058619b8cc14d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): macos/Runner/AppDelegate.swift:171-175 | macos/Runner/AppDelegate.swift:265-269 | macos/Runner/AppDelegate.swift:298-302 | macos/Runner/AppDelegate.swift:309-313 | macos/Runner/AppDelegate.swift:320-324 | macos/Runner/AppDelegate.swift:363-367 | macos/Runner/AppDelegate.swift:384-388 | macos/Runner/AppDelegate.swift:405-409 \u2014 all 8 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":"macos/Runner/AppDelegate.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"023444f0a735ba55b2313b7ce8a34652676795a7db70ddbd0a81a81c408b5adb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): macos/Runner/AppDelegate.swift:98-103 | macos/Runner/AppDelegate.swift:111-116 | macos/Runner/AppDelegate.swift:127-132 \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. 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":"macos/Runner/AppDelegate.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee32c2c8d8060b903b407edb747e20efbaf95dc779cfac0a9e6b42ab485ef50c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SettingsBloc (LCOM4 41): SettingsBloc\u0027s methods fall into 41 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 41 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/bloc/settings_bloc.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4638441327461d5d98457f0b4f7d853196f340732fa96274ef797885e25fde2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OnboardingBloc (LCOM4 34): OnboardingBloc\u0027s methods fall into 34 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 34 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4227f83ca7557e56874ec2072c671d600928d0b561952f44953eee7fb28216"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MobileOnboardingBloc (LCOM4 11): MobileOnboardingBloc\u0027s methods fall into 11 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 11 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/bloc/mobile_onboarding_bloc.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7a43540c23818235f5da3cf25191795e6c61ac3dd1de27bdab1cc0c43757da"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TranscriptionBloc (LCOM4 5): TranscriptionBloc\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/transcription/presentation/bloc/transcription_bloc.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d0a64b80a7f0087fd46dcf1e653dfe062a9dabe4b9e1b80db2ce97f17739f1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RecordHotkeyDialogBloc (LCOM4 4): RecordHotkeyDialogBloc\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/record_hotkey_dialog/bloc/record_hotkey_dialog_bloc.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cd82f2d8027b9a338bf6e5ca6e1cf6d9cd455ba4aaeb2605ea62b73c238a05"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/features/hotkeys/handlers/push_to_talk_handler.dart: lib/features/hotkeys/handlers/push_to_talk_handler.dart changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in PushToTalkHandler.handleKeyUp at line 309. 4 of those changes were fix/bug commits, and the other 10 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 2025-05-25..2025-08-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-05-25 11:37:41 -04:00\u0027 --until=\u00272025-08-23 11:37:41 -04:00\u0027 --full-history --no-merges -- lib/features/hotkeys/handlers/push_to_talk_handler.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/hotkeys/handlers/push_to_talk_handler.dart"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0f7f34c1d13ab2aac72d09803aea881744da2497e4eeaed586c08891fe48c8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/features/hotkeys/handlers/transcription_hotkey_handler.dart: lib/features/hotkeys/handlers/transcription_hotkey_handler.dart changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in TranscriptionHotkeyHandler.handleHotkey at line 69. 1 of those changes was a fix/bug commit, and the other 8 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 2025-05-25..2025-08-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-05-25 11:37:41 -04:00\u0027 --until=\u00272025-08-23 11:37:41 -04:00\u0027 --full-history --no-merges -- lib/features/hotkeys/handlers/transcription_hotkey_handler.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/hotkeys/handlers/transcription_hotkey_handler.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0692246e00e947dd60ef2e53ae7781f15907391130b6fbf0a3eefb3bed527125"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/features/onboarding/presentation/bloc/onboarding_bloc.dart: lib/features/onboarding/presentation/bloc/onboarding_bloc.dart changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in OnboardingBloc._onInitializeOnboarding at line 264. 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 2025-05-25..2025-08-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-05-25 11:37:41 -04:00\u0027 --until=\u00272025-08-23 11:37:41 -04:00\u0027 --full-history --no-merges -- lib/features/onboarding/presentation/bloc/onboarding_bloc.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/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4bf8e84f9ffb2143de50221729e1f92c420e472aacc4a081a76935abe2ed84"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: macos/Runner/MainFlutterWindow.swift: macos/Runner/MainFlutterWindow.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in MainFlutterWindow.setupMethodChannel at line 25. 1 of those changes was a fix/bug commit, and the other 9 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 2025-05-25..2025-08-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-05-25 11:37:41 -04:00\u0027 --until=\u00272025-08-23 11:37:41 -04:00\u0027 --full-history --no-merges -- macos/Runner/MainFlutterWindow.swift\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":"macos/Runner/MainFlutterWindow.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac2d7f5177d4016a1c58233f09aeb3aec05459bbdd4a21224b05c64fa781184"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/features/recording/data/datasources/recording_datasource.dart: lib/features/recording/data/datasources/recording_datasource.dart changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in RecordingDataSourceImpl._setupAudioStreamProcessing at line 232. 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 2025-05-25..2025-08-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-05-25 11:37:41 -04:00\u0027 --until=\u00272025-08-23 11:37:41 -04:00\u0027 --full-history --no-merges -- lib/features/recording/data/datasources/recording_datasource.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/recording/data/datasources/recording_datasource.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf14095fd80ca7123fffbd1806b9677cca18197706f98b781988a6087c580bdc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/features/assistant/assistant_service.dart: lib/features/assistant/assistant_service.dart changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AssistantService._stopRecordingAndProcess at line 313. 1 of those changes was a fix/bug commit, and the other 7 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 2025-05-25..2025-08-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-05-25 11:37:41 -04:00\u0027 --until=\u00272025-08-23 11:37:41 -04:00\u0027 --full-history --no-merges -- lib/features/assistant/assistant_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/features/assistant/assistant_service.dart"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed828857a1fa26713e0f05ec7359f3b0917729c42417e421117801c9480d52f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/features/transcription/data/repositories/transcription_repository_impl.dart: lib/features/transcription/data/repositories/transcription_repository_impl.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in TranscriptionRepositoryImpl._transcribeAudioRemotely at line 145. 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 2025-05-25..2025-08-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-05-25 11:37:41 -04:00\u0027 --until=\u00272025-08-23 11:37:41 -04:00\u0027 --full-history --no-merges -- lib/features/transcription/data/repositories/transcription_repository_impl.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/transcription/data/repositories/transcription_repository_impl.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1758c20c22209d0e28d8bb23798d89693cac89960c090472600bd355f0fe6708"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/features/onboarding/presentation/widgets/api_key_step.dart: lib/features/onboarding/presentation/widgets/api_key_step.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ApiKeyStep.build at line 12. 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 2025-05-25..2025-08-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-05-25 11:37:41 -04:00\u0027 --until=\u00272025-08-23 11:37:41 -04:00\u0027 --full-history --no-merges -- lib/features/onboarding/presentation/widgets/api_key_step.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/onboarding/presentation/widgets/api_key_step.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5f4346c3cfed6b142850e41b777ab11850ac839e4796fea91f84128fc72a7a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/features/transcription/presentation/bloc/transcription_bloc.dart: lib/features/transcription/presentation/bloc/transcription_bloc.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in TranscriptionBloc._onStartTranscription at line 126. 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 2025-05-25..2025-08-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-05-25 11:37:41 -04:00\u0027 --until=\u00272025-08-23 11:37:41 -04:00\u0027 --full-history --no-merges -- lib/features/transcription/presentation/bloc/transcription_bloc.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/transcription/presentation/bloc/transcription_bloc.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8debe164d6b91631a22188b48c37b93abc240b8fac0ba9d35cbc011355d3507"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/features/onboarding/presentation/pages/onboarding_page.dart: lib/features/onboarding/presentation/pages/onboarding_page.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in OnboardingPage.build at line 21. 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 2025-05-25..2025-08-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-05-25 11:37:41 -04:00\u0027 --until=\u00272025-08-23 11:37:41 -04:00\u0027 --full-history --no-merges -- lib/features/onboarding/presentation/pages/onboarding_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/onboarding/presentation/pages/onboarding_page.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf566e147373d1b877679c2ea9a086456165db14b7ebd8eb8ca9b9255781a40"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/features/hotkeys/core/hotkey_handler.dart: lib/features/hotkeys/core/hotkey_handler.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in HotkeyHandler.keyDownHandler at line 74. 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 2025-05-25..2025-08-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-05-25 11:37:41 -04:00\u0027 --until=\u00272025-08-23 11:37:41 -04:00\u0027 --full-history --no-merges -- lib/features/hotkeys/core/hotkey_handler.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/hotkeys/core/hotkey_handler.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"264b97e033a48a6417aeb2ecdc8cad98656a5f0a7a7231223b73f86c5bd5c10b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/features/onboarding/presentation/widgets/permissions_step.dart: lib/features/onboarding/presentation/widgets/permissions_step.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in PermissionsStep._buildPermissionCard at line 241. 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 2025-05-25..2025-08-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-05-25 11:37:41 -04:00\u0027 --until=\u00272025-08-23 11:37:41 -04:00\u0027 --full-history --no-merges -- lib/features/onboarding/presentation/widgets/permissions_step.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/onboarding/presentation/widgets/permissions_step.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ace1425701c8615db901d55279c43e6b2dfcc9daed9b2fe84b0b1279967c79"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/features/settings/presentation/pages/settings.dart: lib/features/settings/presentation/pages/settings.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in _SettingsPageState.build at line 76. 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 2025-05-25..2025-08-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-05-25 11:37:41 -04:00\u0027 --until=\u00272025-08-23 11:37:41 -04:00\u0027 --full-history --no-merges -- lib/features/settings/presentation/pages/settings.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/settings/presentation/pages/settings.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"84da1124e68f2cd75c7ecf706450762a22474e9b4569a160feb2e10c553b2721"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/features/settings/presentation/pages/transcription_settings_page.dart: lib/features/settings/presentation/pages/transcription_settings_page.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in TranscriptionSettingsPage._buildModelSelectionSection at line 191. 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 2025-05-25..2025-08-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-05-25 11:37:41 -04:00\u0027 --until=\u00272025-08-23 11:37:41 -04:00\u0027 --full-history --no-merges -- lib/features/settings/presentation/pages/transcription_settings_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/settings/presentation/pages/transcription_settings_page.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51f3627d65f4798f2fc540eb45494637b16d41508bc4868d0a269a647d36f2b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/features/hotkeys/services/clipboard_service.dart: lib/features/hotkeys/services/clipboard_service.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ClipboardService.copyToClipboard at line 13. 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 2025-05-25..2025-08-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-05-25 11:37:41 -04:00\u0027 --until=\u00272025-08-23 11:37:41 -04:00\u0027 --full-history --no-merges -- lib/features/hotkeys/services/clipboard_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/features/hotkeys/services/clipboard_service.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"83413668220ad4ccd28a3fe0a8bdb599fd50601802ad42d4725d860f6ba82133"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/features/settings/presentation/pages/output_settings_page.dart: lib/features/settings/presentation/pages/output_settings_page.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in OutputSettingsPage._buildLanguageSection at line 57. 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 2025-05-25..2025-08-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-05-25 11:37:41 -04:00\u0027 --until=\u00272025-08-23 11:37:41 -04:00\u0027 --full-history --no-merges -- lib/features/settings/presentation/pages/output_settings_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/settings/presentation/pages/output_settings_page.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda2440e34bed1e4ba88fe8cb12d69f19303c2b664c1e93a6c837dc181a75be6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Open iOS Settings app to keyboard section \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_keyboard_extension_step.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bc5ed321048bc836063dff3dfd49de948dd1cdfaa11d3ccad78586ccdcfb2b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Start download \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_local_models_section.dart"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"c731f3388a48fe088e41e0645dfdd9adf1c29fa1dfacbf13f1f49b23aa340a62"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement download functionality \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_local_models_step.dart"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1cbbc30e40638700994ff5c9bd2da92a17946b6127dce79c78f955a537dd72"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Open app settings \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_permissions_step.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"41abd5f82bc156022d1c08f815808d2c3d11da395c2c0f14f924cae870318650"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Open app settings \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_permissions_step.dart"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba85ccced2b9d2008a0537c242af183b3475e90787dea88e662f3cda5e515c1b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Show user-friendly message when update server is not available \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/auto_update_service.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e0abb8523866de17744fcb5db75c1ac268b03235a699f7dbaad4e1718a5556"}},{"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":"D21","level":"note","message":{"text":"\u0060_sendToGroqAPI\u0060 spells \u0060API\u0060 where 39 names in the project spell it \u0060Api\u0060: 39 of 40 names in project repository.features spell the token \u0060Api\u0060 (39 of 40; unit: names in project repository.features containing \u0060Api\u0060). Peers: MobileOnboardingBloc._onUpdateApiKey (lib/features/mobile/presentation/bloc/mobile_onboarding_bloc.dart:103); MobileOnboardingBloc._onToggleApiKeyVisibility (lib/features/mobile/presentation/bloc/mobile_onboarding_bloc.dart:113); MobileOnboardingBloc._onValidateApiKey (lib/features/mobile/presentation/bloc/mobile_onboarding_bloc.dart:122); MobileOnboardingBloc._onClearApiKey (lib/features/mobile/presentation/bloc/mobile_onboarding_bloc.dart:148); repository.features.UpdateApiKey (lib/features/mobile/presentation/bloc/mobile_onboarding_event.dart:28). Rename to \u0060_sendToGroqApi\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/assistant/assistant_service.dart"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b5d0495e246a97c8b481b3707d90dc2df518ac8b410d33055c5822c9388164"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (26677 LoC, 256 module-visible types across 43 directories) overshoots its size bounds. 1 of 4 build unit(s) (Gradle, Xcode, pub) overshoot their size bounds, lowering Project Cohesion to 5.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":"pubspec.yaml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9fee3010c053c10733ebad6b156234032ce361c46f8c03bb63f2bdc3c8adbd"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ccefaa4b34cd265f299be06c3f16ef9327c2fe8317fc1aefbd35e71f9cde7e47"},"properties":{"commitSha":"44f20de822dca26e2ae394caee382b0d71cc8b28"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","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":"262b504b538fd9f5b94ceb9d616d1b63ef2dde64c0bc6e01c5aac448807c615b"},"taxa":[{"id":"CWE-561","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 91 of 91 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 91 separate risks. Counted over 91 of the 130 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/bloc/settings_bloc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2ca98c94f82e78b79c0a13802b4bef793802489580ee442f2e33d8869c70b4"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/bloc/onboarding_bloc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8d86f04dd73580a668b2cb0791c5131c5acc73afbf0e2e8ccd21e2ca083e8e"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0783b164f988e03658b69f97ea4ee6433bf91b35ea1fb821ee65e9bf5328df4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/pages/transcription_settings_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a7f5a68df68feb387200239d11b6250e8d3c2577731fd3df94e60b6b2b6181"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/handlers/push_to_talk_handler.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cce9610b59dc322a2751125c7318135bde11c6835a3c11d9618f05fc0edb49c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/assistant/assistant_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca25239dab3c4e49d7d9a9ca1b414a35b1dd5b7fc08146e70fc20a83a70d02c9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae68783a51141dc5f4ff0b86bff2d03d13c530716defbb7d7f9070805972e6c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/pages/output_settings_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9e10db1ed872d6b33c66c24e197922419e087f6f692745775e4d53b52c3d84"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_local_models_step.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f94a7956870442fb4a797c0e924f087964df1dd3b1ab93cbf283ad215a2e36"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Runner/RecordingOverlayWindow.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0593c42086b7b78a9396ed23619b50d936557853d62b17860589697c98ae7a2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Runner/WhisperKitService.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c32ccb84657fac0e6c97e2a86770385ef6808e178b8c3302657d62ee8ba3a3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/handlers/transcription_hotkey_handler.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bba766a226f8eeb957b7953150873d587a0225b22984803f0a0e2ca693d8764"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/widgets/permissions_step.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c334f5df568f618f797b07497bec2393c7fe5b995cdd4e01c5d2fe610823a25d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/widgets/hotkeys_step.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5551f182578d68a3ea05f9895ec959cb272b8956cba5013b8bd4f935f638540c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/recording/data/datasources/recording_datasource.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a18df7d8edd7b9d777121bab8cc47a9e5f86aa2a935564d728edeea99a9532c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/pages/onboarding_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d86dc291a448a4e5a77ed43854e935ccc0c58cca2b0ff2d98e5ab17ec4193d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/widgets/api_key_step.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd4c721536a8d2744027dc90b293f156fc1773ed049bd2668038afbc5b66c0c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/pages/settings.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ad88461dd2b5db7cf09e8891d3c9e6a7355f02d65d440f5d73e60d95228b5f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/pages/mobile_onboarding_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e94422ec5f13382a90d394f6120d9c127210377f736acaa1d0596eb8fd3a35c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/navigation/presentation/pages/main_layout.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"252e455d447ad1e6b9ca5feac72136724548a28be5002f628a60d4f1c3b3e7dc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_api_key_step.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b93e343e53fa23a31a226b59bcf4ad02af1db276fdc11ded25219e58bae4c3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/utils/hotkey_registration.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cde22ae5d4b3d6a1e1d932930f50ddd1f11eaa99eef0fc40ee950de7fc3f25"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_local_models_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"837d140f11ec4d576036a601a9294548c54ed821f428d96e8a7f0f4811bf032a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/core/hotkey_handler.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07de1594acf178fdd6563d9dc764564f912adf90315cd122625559a64106dcef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/theme/app_theme.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a8f17017ccbef840cdef3cfac59625cf04da9817b99ae1168974ca60e64c48"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Runner/AppDelegate.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f015401ab3c4614c640bf5971d3a9c77c664417ae3bfe15269d87141e54d5dc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_permissions_step.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5bf2b5cbefcc8eafa0d3eb65636d7be6eb4e62e0c8f1f3d5bbe0511b73e9f54"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/info/presentation/pages/info_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e202273b033356ea4e44e5d17e5555718c4013c22f2599c475631701f3dcc744"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_keyboard_extension_step.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4769699fd3f09b72594f458fcd870833a661d69d7c7cd42bf231ea279767120"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/widgets/test_hotkeys_step.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5851d62f85eb6af8fd7db2475e273d5fba2f5e4a047b385db3bea7a0bf80e23"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/transcription/presentation/bloc/transcription_bloc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83d095dcd797d58999e95ce01bc2dc75533a09d301ada7c91b0e4fd0883d1a6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/home/presentation/pages/home_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce5fd39f64c8289333bc3256e46b6186da6c730fb0de7756b0e36e50c3de775"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_theme_step.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81208f6ecb23a9507fa184df4cfbe64f624aa2639e661aeee790ee203c35a188"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7640bdf659bc2ebf7ab791fe9de8b4a3b244b3456b58da3fb45dc1cf30f2c6b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/transcription/data/repositories/transcription_repository_impl.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ffb578c0a5a05e19e2c9e06eb0e08d49f2af4b7d66577e6111109c071f8d2c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/recording/utils/audio_utils.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbb8233b16a945ae84bd849c3e34f3a5935050237416694befe2cd6042d6cfa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/whisper_kit_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b22ca7fdddc821de1cfc41da69ac892cee37c8e5c3fba7bfce62ae2f96514b4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Runner/BlinkingLabel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"695634c6c00e041fd32d00c2cdfc249172d70b8953653b10e6a332317cac9e81"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Runner/PermissionService.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e4f99101c2c48702aa251be99438d1c602c216706fe6e5495a209007d89fd9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/theme/design_tokens.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0bcc9aa94ba3829976e99013e41f4299fdd36d44549051d91218b41af5d62f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/widgets/dictionary_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddede99692452399a4113ecb19d5bbad485ab629aecd9d4075fc9b082a657bdb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/enhanced_button.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7d9dda2a9ab456163519493daf38b7c1458a57342d752eca89acd45f8977bb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/bloc/settings_state.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6e01cd87948cd84b03dc8cda910f6496dab0f47af2a7654f9d95df1f2076a1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/recording/data/platform/recording_overlay_platform.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0321c9c7131b1bd66fc3e36f48a7e0582afcaacef47e388103a2b5173b03db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/widgets/transcription_hotkey_settings_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9608b19d825698de03cb7b3e0d9b295bab0c62a59c7de6340ad728a0703546ad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/pages/mobile_home_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9ce43a04e1d3ed18bc0cd5c3853f7fecb8b8aa72e2e1568f7e01bf573ceec5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/enhanced_stats_card.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4c704b074a74b5f8f0b07f44c01274083f39277994b38c327989e3ca1691ae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/transcription/services/smart_transcription_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acddcf2c2eb061f9e8d1d6df25242cdb117670d279f9c4ee5699510bac4c3ee6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/widgets/transcription_models_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2ef477e78c658662d9da6f7f40f787ea73a728647f7216c0c4d45d999bf8a9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/widgets/assistant_models_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a789bd39d183753b93aa1202d20fcd3efa634fda69123f4237d59a13e3a5cf2e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/widgets/preferences_step.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"102cc566b69afa070b207083cad244a892b942096bf773d55f9606fb9a00ee32"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/minimalist_input.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"453b58871229fa32c24aa26da387d39ca1d3da264dc2ecefbc3147a3883e91e5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/bloc/mobile_onboarding_bloc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3fbb82d5dfb6dc83b1a3aaba31225544e1055b0cbabdae0b53845d2813acc4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/enhanced_loading_indicator.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08b54c66a0e0f600ed1bb5f1ecd36501791aa78b40cd026ca80fe41920b39c2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_transcription_models_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc9c8d2f73fef99dfd0b9b1957c5f7fcdf76d444c88e90feba71caf28ef54c4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/storage/app_storage.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"414e1f6018de93957db4ad78d6f174b7b1ced5852cbd76d01bbd93574c791a84"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_api_key_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7da4fd7d0ac9a9d710abbf9422f5ed9cf882d09566552a74216281579fed2b1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/widgets/completed_step.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a514c83dae935bcf8c57b56cb9da376168cb08ba8c7422daeb999504ebc83534"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/services/clipboard_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e2358aa66ca10ac872532d9f52f2370568d0149ea9982cddae28204658781a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/hotkey_display.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b913591f31cce5bf01a06b36c973d7ea9683f90a71f20d9ecd635f375da9cd2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/bloc/onboarding_state.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bcad696ff8f6605e119927785002771120798290d575fc631713669b4d28bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/volume_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5184835fbaa890247a141a691f5fc64e28c1b9b6aec06f9282b29760e8627fe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/minimalist_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae3835e2dae19f45b1d41cfbcf5ba7005f2352259d789af7d39d77a11c6256e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/minimalist_toggle.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a55ae0d172bacd38c752df4ecdcc65103063570bb35ac1cbe43faa0b7fbe874"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/pages/assistant_settings_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb38bbd973a7ce03dc37a6c875111ff7fa572a0a4ae50aa8e921e59d412c1315"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/minimalist_button.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c240827f509050a25d6efd05b3e6463bfae6707520411c2620729b139314509c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Runner/WaveformView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc31bfc95cb6005e952a0e3d8ea3f34bef1f2da88b05f1d8da19a33c679175b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/bloc/settings_event.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe45523c2042385e99fab0286da69a272421b4520d024a1263b3812f24d62de"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/minimalist_snackbar.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a43ebc7c2440bdab1e44d59ea053708ab9159614effaa3659d8f394f78165eb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/widgets/mobile_theme_settings_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6164b559d106e21013d683e164cef4c77f5f057562f3033b64efe4251054d6e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/widgets/smart_transcription_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff142278b2c999e44eb19380abaa2c34e9c6ed946a92004cb481060de08f87f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/permissions/permission_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc8f3188bbecac8983cccf7b1eb9175227d9d98266431b16f85dfa12003b12f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/bloc/onboarding_event.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58087ce8d32199dff5d3e439094c53bfd0408b195c85567997a075bf86766f04"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/widgets/models_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fdf902f50b1f3e5d90404c7e89ffa70280f952ef4ffa837bcbc894d56116d1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/stats/stats_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2454e7d66323c7bbb7476a7bb0503b56628784b4b0d37204b3900cd66912c8db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/record_hotkey_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6357711d1a2aae202fb9bc5e420366cae1abb56547940845fa3b5a2381bf79b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Runner/MainFlutterWindow.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa1758224ad13ec409a89ed9fba030097bc62c1d3c3052424600e8f7fa795ce"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/recording/presentation/bloc/recording_bloc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d83d9f2fb179a74a4e6cdae8070922fc370ec13829bf8899d08a4fc42b74c28"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/mobile/presentation/bloc/mobile_onboarding_state.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0a848d9febb715cdaa5b19dbea82fa458ad909ee9404b6ff7f06f92eecadb5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/widgets/api_key_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f96461c6e1330d0d219ccf5b69b5f8f01e9c471d2ea5759d18b5f2e7cddaafb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/home/presentation/bloc/home_bloc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58b5f4a1926b1770745bb85dca21a45f0e2e2f90d358d8634e0f1b6c66ac61e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/widgets/assistant_hotkey_settings_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dadcdcd8cb7bb122ae682f56063edd6c5c92b11c13b29495dae4d003bf96908"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/widgets/welcome_step.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d6d4fc95d50698d1f8c826559e2d6220b71591be7ef7f2a7ecbc34fb0e4971"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/settings/settings_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c60349ae254ff4e6d5a88df4c85385cb70c0df45c7620ec3bd3095810248fe4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/hotkey_handler.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8cfce651445bd30aa7eb712300b75ff0bb1b5e537adbae86c96a0c7b26330f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/utils/sound_player.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dc96185509d70b50e2edf8a906d4ebbb45d34766eddaeca3c089c21222c632"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/widgets/hotkey_settings_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a803eef8fd09ad98160f9c3e95d0465a1e0f34c8a7fe3362a4f7fae8aef24623"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/widgets/theme_settings_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"930a32fb157a8e97330499cdfe08f9f6c9df0d8b6fa14b0c4d226d8dd74e7bbd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/assistant/clipboard_listener_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e4fe05447d616d2817ec0d5dad5518484fa2f80986ae8cf3eb7cf556cd050c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/minimalist_card.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1384b4c202a8cc88d38e1fb7611570df3a3224205382acac2cd0ed4fb7af3ca1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/services/input_device_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfe1a386adfed923bc0a9eac08bb6c993dc6e6f35a4ca9730f5dda592822069"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: settings_event.dart \u2194 settings_state.dart: \u0060lib/features/settings/presentation/bloc/settings_event.dart\u0060 and \u0060lib/features/settings/presentation/bloc/settings_state.dart\u0060 change together 96% of the time (22 of the 23 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 22 shared commits counted here, the most recent 3 are \u00608c8b649f\u0060 clipboard settings \u002B auto enter key press setting working; \u0060227b1eab\u0060 ui: audio input section reflects state changes; \u0060203bfa22\u0060 backend and ui: audio input device selection complete \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/bloc/settings_event.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7af7343846dace276340de2bb32c926bbcfd45bc9ac7811e0a6d3934d444c5a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: onboarding_event.dart \u2194 onboarding_state.dart: \u0060lib/features/onboarding/presentation/bloc/onboarding_event.dart\u0060 and \u0060lib/features/onboarding/presentation/bloc/onboarding_state.dart\u0060 change together 90% of the time (9 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00601f7400b1\u0060 local model onboarding step working; \u00606a4dacf2\u0060 made api key step bloc compliant; \u006003340433\u0060 made permissions step bloc compliant \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/onboarding/presentation/bloc/onboarding_event.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bf4dfa732cbaf45c8abb63bdd3db9592719aaa96cab5e2a806ef00b22295f1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: clipboard_service.dart \u2194 transcription_bloc.dart: \u0060lib/features/hotkeys/services/clipboard_service.dart\u0060 and \u0060lib/features/transcription/presentation/bloc/transcription_bloc.dart\u0060 change together 67% of the time (8 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060733164cd\u0060 space added to the end of transcription; \u00606546907b\u0060 transcriptions being saved in AutoQuillAITranscriptions folder within\u2026; \u006094677e62\u0060 sounds working with occasional 400 error when selecting text for cont\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/services/clipboard_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d6ee31d7dbd4f714a2db69a9c68343f649e1315296944a2f32c016e73c588e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: transcription_hotkey_handler.dart \u2192 assistant_service.dart, push_to_talk_handler.dart, transcription_bloc.dart: \u0060lib/features/hotkeys/handlers/transcription_hotkey_handler.dart\u0060 changes together with 3 other files \u2014 \u0060lib/features/assistant/assistant_service.dart\u0060, \u0060lib/features/hotkeys/handlers/push_to_talk_handler.dart\u0060, \u0060lib/features/transcription/presentation/bloc/transcription_bloc.dart\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/handlers/transcription_hotkey_handler.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd56c91263ad3ee4e731ad4687d8fb8ee63136903a8c2b6dd83e53244342f01"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: settings_state.dart \u2194 transcription_repository_impl.dart: \u0060lib/features/settings/presentation/bloc/settings_state.dart\u0060 and \u0060lib/features/transcription/data/repositories/transcription_repository_impl.dart\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00604b10eb49\u0060 local inference working perfectly; \u00600e673269\u0060 multilingual transcription working correctly; \u0060006ee27d\u0060 massive speed improvements \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/settings/presentation/bloc/settings_state.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c322813c7695122ea8283d039273c306df8de0d58def7dea33ba08d058216d3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: hotkeys \u2192 assistant: \u0060HotkeyHandler\u0060 (slice \u0027hotkeys\u0027) depends on \u0060AssistantService\u0060 from slice \u0027assistant\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/core/hotkey_handler.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfa0b0a113868e01fa82be99dc45dc34090e19ab06b2f343e06ac381b7d1702"}},{"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":"M4","level":"note","message":{"text":"README/code drift: README.md links to \u0060BUILD_INSTRUCTIONS.md\u0060, but \u0060BUILD_INSTRUCTIONS.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85864071a30ab325207b0475304e4f6aa1b79c8e2996b50e4173a6d35a328ea"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add the Dart analyzer\u0027s security lints plus \u0060semgrep --config=auto\u0060 \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060listTranscriptions\u0060 is async and calls listSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/core/storage/transcription_storage.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b25b31b93876069d3d79cf41d528ed63695a13c5163675eb6fe1697ea26b88"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_fromPhraseController.text.isNotEmpty \u0026\u0026 _toPhraseController.text.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/features/settings/presentation/pages/output_settings_page.dart, lib/features/settings/presentation/widgets/dictionary_section.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/settings/presentation/pages/output_settings_page.dart"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00f690000faffc46edd298d650a7dee244bc5d51331f1814b3e8dee4db6bf76"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_fromPhraseController.text.isNotEmpty \u0026\u0026 value.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/features/settings/presentation/pages/output_settings_page.dart, lib/features/settings/presentation/widgets/dictionary_section.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/settings/presentation/pages/output_settings_page.dart"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad911ac7eec392b67a4b0115361b184d3ed2c594e1b108d8fa235875190d5ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_recordingRepository == null || _transcriptionRepository == null\u0060 appears character-identically in 3 files \u2014 lib/features/assistant/assistant_service.dart, lib/features/hotkeys/handlers/push_to_talk_handler.dart, lib/features/hotkeys/handlers/transcription_hotkey_handler.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/assistant/assistant_service.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0261de425d047a5b5637bd9a174bddc9b3e451aeb2725f2adc14b7c435367082"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error.toLowerCase().contains(\u0027authorization\u0027) || error.toLowerCase().contains(\u0027authorizationrequired\u0027)\u0060 appears character-identically in 2 files \u2014 lib/features/onboarding/presentation/widgets/local_step.dart, lib/features/settings/presentation/pages/transcription_settings_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/onboarding/presentation/widgets/local_step.dart"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5188d6d1c98ba535a7e9789190641441c1e2a02392a774ad37285571033cc2d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060smartTranscriptionEnabled \u0026\u0026 transcriptionText.isNotEmpty \u0026\u0026 apiKey.isNotEmpty\u0060 appears character-identically in 3 files \u2014 lib/features/hotkeys/handlers/push_to_talk_handler.dart, lib/features/hotkeys/handlers/transcription_hotkey_handler.dart, lib/features/transcription/presentation/bloc/transcription_bloc.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/hotkeys/handlers/push_to_talk_handler.dart"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4b1d8f68cfbf453a2893beceea49818504c52ebb067b08f609ff48e954ac05"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.transcriptionEnabled \u0026\u0026 state.assistantEnabled\u0060 appears character-identically in 2 files \u2014 lib/features/onboarding/presentation/widgets/completed_step.dart, lib/features/onboarding/presentation/widgets/hotkeys_step.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/onboarding/presentation/widgets/completed_step.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6fc562e3ce56804395e023d5e3b60883900bf5eadcaff06db900ce4e876721"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060storedReplacements != null \u0026\u0026 storedReplacements.isNotEmpty\u0060 appears character-identically in 3 files \u2014 lib/features/hotkeys/handlers/push_to_talk_handler.dart, lib/features/hotkeys/handlers/transcription_hotkey_handler.dart, lib/features/transcription/presentation/bloc/transcription_bloc.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/hotkeys/handlers/push_to_talk_handler.dart"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ed7ba7798ba043c14d642b8ef81e826f8f3b58f053946128a44d507d457552"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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/features/settings/presentation/pages/general_settings_page.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f192a1db2c2bed957d270a40197a4c40e32ae581939aa21c018ad32caef49c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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/features/onboarding/presentation/widgets/completed_step.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae300ace181ce86e9537a0a8f5c71b7c00308aa2fe0d12da196c5697048afb4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/handlers/push_to_talk_handler.dart"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f2bf4ed5669656fc98be44006bcbec176ae6d2bb63ec3a450d059553cf5ff0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/handlers/transcription_hotkey_handler.dart"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8b9d13176f972cadf7695967a571e93bf3d5004a88d9648ffb89c02e44468c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/hotkeys/handlers/transcription_hotkey_handler.dart"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae62d7848e415e29b5c8eb03073d1cd64d57063db1d37bdbd8f06dbcaf8c14d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/features/assistant/assistant_service.dart"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a4a4d411fd0237887b467e45e0682580a63c9b59d40c11b14ed79a8ed78e0e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_formatHotkey\u0060 turns every thrown error into \u0060\u0027Custom Hotkey\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/features/onboarding/presentation/widgets/completed_step.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc322a48e560e5eebcc29cdae17d94454eda9db87651f60ecfe0e29faf10d03"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-561","guid":"522a7ba7-45e9-ab53-9088-45d86e04b53a","name":"CWE-561","shortDescription":{"text":"CWE-561"},"helpUri":"https://cwe.mitre.org/data/definitions/561.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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"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":3,"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."]}]}