{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"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":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"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":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility (rendered)","shortDescription":{"text":"Runtime accessibility (rendered)"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM11","name":"Constructible invalid state","shortDescription":{"text":"Constructible invalid state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM11"},{"id":"DM12","name":"Ambient inputs in the domain","shortDescription":{"text":"Ambient inputs in the domain"},"helpUri":"https://codehealth.canine.dev/dimensions/DM12"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"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":"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":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"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":"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":"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":"MobileAudioProcessingStore.validateSnapshotLayoutLocked (cyclomatic 85): MobileAudioProcessingStore.validateSnapshotLayoutLocked has cyclomatic complexity 85 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":2232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6a4fb9464039bfcc5785a531f677d3c2a459dec0c358720551a710c62eaa6c"}},{"ruleId":"D1","level":"warning","message":{"text":"HotkeyOption.from (cyclomatic 48): HotkeyOption.from has cyclomatic complexity 48 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Views/HotkeyRecorderView.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3ce2252959e23f2a0c4070918efe5923f25d9637bd9ed7914d924505cca60c"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioProcessingCoordinator.StartCaptureAsync (cyclomatic 45): AudioProcessingCoordinator.StartCaptureAsync has cyclomatic complexity 45 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7215e4d82d3168409cd37e06fd125477a6113d6223ade26d567fff30adbe40f"}},{"ruleId":"D1","level":"warning","message":{"text":"MobileAudioProcessingStore.normalizeInterruptedAttempts (cyclomatic 44): MobileAudioProcessingStore.normalizeInterruptedAttempts has cyclomatic complexity 44 (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":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"704d0d23aa50867db8d9eab4aac60c1a0354b0fcf8a565c3dff7f01e9ed8b852"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingScreenKt.OnboardingScreen (cyclomatic 41): OnboardingScreenKt.OnboardingScreen has cyclomatic complexity 41 (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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a493aa360371a5c79525d227aa340f7d399488eac53cef97f58156a5645c50f9"}},{"ruleId":"D1","level":"warning","message":{"text":"AppState.handleRecorderFinalizationTerminal (cyclomatic 39): AppState.handleRecorderFinalizationTerminal 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52d4368110d9d88d6bfd249af0d364e97164d2844fb79d848f08e9ede6111b7"}},{"ruleId":"D1","level":"warning","message":{"text":"MacAudioProcessingStore.validate (cyclomatic 39): MacAudioProcessingStore.validate 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":2447}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c14e13dbf3c0c92325fdba512e07da6c7f18d7abd17ba864111342aab49447"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidAudioProcessingCoordinator.cancelCapture (cyclomatic 36): AndroidAudioProcessingCoordinator.cancelCapture has cyclomatic complexity 36 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"69533625fbc78aa39adf452e83a86fbbda3dc00478590dbc83ba803a22078ba3"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioProcessingCoordinator.RunRecognitionAsync (cyclomatic 35): AudioProcessingCoordinator.RunRecognitionAsync has cyclomatic complexity 35 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. 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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"97323b76b86b7f4c057f4a74326558a4dc6d895a902ef9ed80680fa44c9c5997"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIClient.transcribeSinglePart (cyclomatic 33): OpenAIClient.transcribeSinglePart has cyclomatic complexity 33 (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":"Whishpermate/Whispermate/Services/OpenAIClient.swift"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4b70861745b1aae04f98fd9c8c41e798173adea254321a3170a5b2b6d8486d"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioContainerValidator.ValidateFinalizedWave (cyclomatic 32): AudioContainerValidator.ValidateFinalizedWave has cyclomatic complexity 32 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioContainerValidator.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd712db02f80f2dcfd0038ae27e39a07f9b9886a7b637370be7d373522da153"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioProcessingCoordinator.StopAndTranscribeAsync (cyclomatic 31): AudioProcessingCoordinator.StopAndTranscribeAsync 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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed0cdefb7dbe65de4af3034a2b59578cd6d94287842ac0720038db56beeb9af"}},{"ruleId":"D1","level":"warning","message":{"text":"MacAudioProcessingStore.beginRecognition (cyclomatic 31): MacAudioProcessingStore.beginRecognition has cyclomatic complexity 31 (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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c98adcb5f61df6ba8ceddd0a1a99047ac7f69b1ea04bc4751633e62a2fe348a"}},{"ruleId":"D1","level":"warning","message":{"text":"android_overlay_model.system_actions (cyclomatic 31): android_overlay_model.system_actions 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":"formal/android_overlay_model.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4ee95f64fffefb8f5b919a43f5df3d230ef2c6471ad7a15327cf0d4ac415ab"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioProcessingCoordinator.RetryAsync (cyclomatic 30): AudioProcessingCoordinator.RetryAsync has cyclomatic complexity 30 (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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"573c1436f8b633273b141747c3d420fa5dc11d33904b8aa18133008fe2e017e6"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioProcessingCoordinator.ShutdownCoreAsync (cyclomatic 30): AudioProcessingCoordinator.ShutdownCoreAsync has cyclomatic complexity 30 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4189da3cfb9aa25036aacdbf747187fea2e83605d0cdf74421bd21fc727b59"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidAudioProcessingCoordinator.retry (cyclomatic 30): AndroidAudioProcessingCoordinator.retry has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac9b74d0c5f43bc403806ea29cad9406a8d40c97da3f593e059618e01cb83eb"}},{"ruleId":"D1","level":"warning","message":{"text":"AppState.performTranscription (cyclomatic 29): AppState.performTranscription has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":3274}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c9d16add69e5152a99ba917c2f91086ac25b0671b10e9b67c5156f0ce24d00"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioProcessingCoordinator.PersistAbandonedAttemptAsync (cyclomatic 28): AudioProcessingCoordinator.PersistAbandonedAttemptAsync has cyclomatic complexity 28 (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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"827647d655ac1a8cd20131a9828d450ba0fd43893a26012c98b4e5899396c307"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyboardDictationHandoff.journalIsValid (cyclomatic 28): KeyboardDictationHandoff.journalIsValid has cyclomatic complexity 28 (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":"Whishpermate/WhisperMateShared/Services/KeyboardDictationHandoff.swift"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0f2ad20cc42d317cc14daf38af6c78c24398616b9b3cb89ab7b56997e99b5e"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingScreenKt.ButtonDemoStep (cyclomatic 28): OnboardingScreenKt.ButtonDemoStep has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e9d14b8fb35f947f2a7243d23bc0f5ba37902a24a4e17b7c30796d0c49aca0"}},{"ruleId":"D1","level":"warning","message":{"text":"Contract.VerifyDurableStoreAsync (cyclomatic 27): Contract.VerifyDurableStoreAsync has cyclomatic complexity 27 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbef7189c8ccd75e50b50ef931d40da010c31796806ccd3c626567105cd5513"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineRecordingCoordinator.transcribeAudio (cyclomatic 27): InlineRecordingCoordinator.transcribeAudio has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3679}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0dfc5b72d39aa8b372084e5334542c59cc63c30bdcc30c21f482cdcad752e1"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioRecorder.processCaptureBuffer (cyclomatic 27): AudioRecorder.processCaptureBuffer has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AudioRecorder.swift"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9895f6613336d986b15a396c6e5157cbfcc809eaeb5a5e4edf01b86debd4cf"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIClient.transcribe (cyclomatic 27): OpenAIClient.transcribe has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/OpenAIClient.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3f1d4e83bb3e998a02b74ebb6fd692c1de28586a7d448199d72e5edfeb0db4"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordingRow.body (cyclomatic 27): RecordingRow.body has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Views/HistoryView.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0251cfbf0381918368e365eb273894efeb6deccbd021efd335d08193b7a72cc4"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioRecorder.start (cyclomatic 27): AudioRecorder.start has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/util/AudioRecorder.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"192ac174330198741934a72d447d83590dc495815c4886c62566a892d4835fc9"}},{"ruleId":"D1","level":"warning","message":{"text":"OverlayWindow.ApplyState (cyclomatic 26): OverlayWindow.ApplyState has cyclomatic complexity 26 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 11 belong to one function literal inside it that branches. 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":"AIDictation.Windows/AIDictation/Views/OverlayWindow.xaml.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"516060b51b86aa7313ae740ebac9b399ff7aff4461c318619fddf9dd6b9c9a9b"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineRecordingCoordinator.beginRecording (cyclomatic 26): InlineRecordingCoordinator.beginRecording 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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3288}}}],"partialFingerprints":{"codehealthFindingId/v1":"28eea4e52c3017c2a188b03302d877d4781e647dbc89fe1cc716f87bff0346ad"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineRecordingCoordinator.stopRecording (cyclomatic 26): InlineRecordingCoordinator.stopRecording 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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3498}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb821bca249617cd2716ec0aeac55d95c1638e095142b32519d801c42dd36a3"}},{"ruleId":"D1","level":"warning","message":{"text":"AppState.finalizeRecording (cyclomatic 26): AppState.finalizeRecording 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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4da9f3b28d9aae3d2f71030e85f7c892a6d915c6e7c1d22133601acac8b5ed"}},{"ruleId":"D1","level":"warning","message":{"text":"AppState.reconcileAudioProcessingStore (cyclomatic 25): AppState.reconcileAudioProcessingStore has cyclomatic complexity 25 (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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":1759}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19c4907697e8c18f0e7386a7629b4364ea0192737751e05bf5978a9bad0e581"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIClient.transcribe (cyclomatic 24): OpenAIClient.transcribe 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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"636e63a9f511041a5644efa5714b74b17e8a684f9440f2c2a57cf09034525379"}},{"ruleId":"D1","level":"warning","message":{"text":"AppState.executeTranscriptionAttempt (cyclomatic 24): AppState.executeTranscriptionAttempt 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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":2241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c70dde9a7cbe226fe11a4c9f5ea2354cb45a4dc1d08ba63cbd6c5081bcc978"}},{"ruleId":"D1","level":"warning","message":{"text":"MacAudioProcessingStore.finishFinalization (cyclomatic 24): MacAudioProcessingStore.finishFinalization has cyclomatic complexity 24 (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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0f62f33754801e9738918985ffe9f1f338e419fc5e2733bd0781aba7c62d4e"}},{"ruleId":"D1","level":"warning","message":{"text":"MacAudioProcessingStore.reconcileAfterRestart (cyclomatic 24): MacAudioProcessingStore.reconcileAfterRestart 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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":2564}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67e683a09b9c2cf227fc47fda3a7c9d9d3a920feae80ff46e425e4cb6af41d9"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidAudioProcessingCoordinator.stopCapture (cyclomatic 24): AndroidAudioProcessingCoordinator.stopCapture 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b97e6e2901a0423f3a2cdd841cc15a9c61759eea13d145f508023cdde0221e6"}},{"ruleId":"D1","level":"warning","message":{"text":"mac_audio_store_model.record_actions (cyclomatic 24): mac_audio_store_model.record_actions has cyclomatic complexity 24 (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":"formal/mac_audio_store_model.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3dfeecc7198d8de157d7dfc262b147ddd4e08cbc4397a80ef284250227a7b5f"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordingSheetView.transcribeAudio (cyclomatic 23): RecordingSheetView.transcribeAudio 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":"Whishpermate/WhisperMateIOS/RecordingSheetView.swift"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"c169f222dff0036e26285ef0e7fd2f983f1314010ed12eb401cbe4876bff72c8"}},{"ruleId":"D1","level":"warning","message":{"text":"AppContextHelper.getWindowTitle (cyclomatic 23): AppContextHelper.getWindowTitle 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":"Whishpermate/Whispermate/Services/AppContextHelper.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b35a196667eccecd89e258bd7631aaca4c5f1d811dcfd271f5415e461be958"}},{"ruleId":"D1","level":"warning","message":{"text":"AppState.handleRecorderStartTerminal (cyclomatic 23): AppState.handleRecorderStartTerminal 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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"41633917e8ea087131834f96bda6a03fa1da611eb68cc8714d8fe035c6c2203d"}},{"ruleId":"D1","level":"warning","message":{"text":"MainScreenKt.MainScreen (cyclomatic 23): MainScreenKt.MainScreen has cyclomatic complexity 23 (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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b8cf53910eb6e1b01f872882d342cbee18c3b0d5ba8aa8fdf1060f74853589"}},{"ruleId":"D1","level":"warning","message":{"text":"android_overlay_model.check (cyclomatic 23): android_overlay_model.check 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":"formal/android_overlay_model.py"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"581b83b1524ecbdbc53685c99e04932292c331d03e4c7994697c1c247c4d495d"}},{"ruleId":"D1","level":"warning","message":{"text":"mac_audio_store_model.check (cyclomatic 23): mac_audio_store_model.check 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":"formal/mac_audio_store_model.py"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"697fd469f16b335475f2fcd1ddcb5207bc98c359da289e97bfd818797e27da08"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyboardDictationHandoff.publishHostPhase (cyclomatic 22): KeyboardDictationHandoff.publishHostPhase has cyclomatic complexity 22 (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":"Whishpermate/WhisperMateShared/Services/KeyboardDictationHandoff.swift"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11643aae06d728b6328a80280586f1b66562ba2c7a27b7e33b8190a91780014"}},{"ruleId":"D1","level":"warning","message":{"text":"AppState.finishTerminationOwnership (cyclomatic 22): AppState.finishTerminationOwnership 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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":1954}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c1d09488301d6c20fc18f8bdc1c3974847c655d92d603eaad5c78e2c8ec570"}},{"ruleId":"D1","level":"warning","message":{"text":"MacAudioProcessingStore.validateClosedAudio (cyclomatic 22): MacAudioProcessingStore.validateClosedAudio 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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":2781}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a3f55e1f520280d97e463030ec4c764393700acd397e0a707987ec70b5a087"}},{"ruleId":"D1","level":"warning","message":{"text":"SileroVAD.analyzeAudio (cyclomatic 22): SileroVAD.analyzeAudio 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":"Whishpermate/Whispermate/Services/SileroVAD.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"df78ed72d740de2660d17f4bf67dd0312de7e23759ffc74b2d2feba2194f70bd"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidAudioProcessingCoordinator.processRecognition (cyclomatic 22): AndroidAudioProcessingCoordinator.processRecognition 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe25eaa3bf1e5f839b6889edc56bdc94c525a3a665fae8b0e673285728a7af5b"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentView.reviewHostIsAtRest (cyclomatic 21): ContentView.reviewHostIsAtRest has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"46259f12e94ce5b802ee358c283b2dbff762e4980b9a959f7bffa9275009aa1f"}},{"ruleId":"D1","level":"warning","message":{"text":"AppState.runRetranscription (cyclomatic 21): AppState.runRetranscription 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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3beb5e7ea900d8b49a6c60f79a32ea8b680523a635aa0a7cabda30b0a6141c6"}},{"ruleId":"D1","level":"warning","message":{"text":"MacAudioProcessingStore.checkpointRecoverablePartial (cyclomatic 21): MacAudioProcessingStore.checkpointRecoverablePartial has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e49dbb6d552145dcb2022abf15d9961e0738861778fd2964e1d3c26f323164"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingView.onboardingTelemetryData (cyclomatic 21): OnboardingView.onboardingTelemetryData has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Views/OnboardingView.swift"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14703ae559ebc61ffb5ff6bf79f5a4d5f6904072a7b1126e4e94bf08a0c9206"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordingOverlayView.contentView (cyclomatic 21): RecordingOverlayView.contentView 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":"Whishpermate/Whispermate/Views/RecordingOverlayView.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff3fcf44fa5a19c27f6d4d76e81445dbd915a41f9317e34c4e3810427798239"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsView.accountSection (cyclomatic 21): SettingsView.accountSection 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":"Whishpermate/Whispermate/Views/SettingsView.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19023e9809aac91b8389f0b69a6ad9fdfb68ef549e4f23c03eb1640c98731d6"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioProcessingStore.AdoptFinalizedCaptureAsync (cyclomatic 20): AudioProcessingStore.AdoptFinalizedCaptureAsync 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":"AIDictation.Windows/AIDictation/Services/AudioProcessingStore.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"55046ac21b193c08e7b4fed1d33ad9d78cfa164e1d6f5ee4aab351669bd60fa6"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentView.iPhoneLayout (cyclomatic 20): ContentView.iPhoneLayout 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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9dcf63a4f6289b686c8eccad109c3cbc2d61efafa1182fea723830d068f9c62"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyboardViewController.reconcileHandoff (cyclomatic 20): KeyboardViewController.reconcileHandoff 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":"Whishpermate/WhisperMateKeyboard/KeyboardViewController.swift"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72d9cba61b9daae63ca0926d68a01cb3843b42784a15451418bcf6fbf330c00"}},{"ruleId":"D1","level":"warning","message":{"text":"AppState.beginPreparedCapture (cyclomatic 20): AppState.beginPreparedCapture 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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f6502e75bfdd95194965d0225b978cd9efcbfe2b4cca28673037b6969ec313"}},{"ruleId":"D1","level":"warning","message":{"text":"HotkeyManager.handleCGEvent (cyclomatic 20): HotkeyManager.handleCGEvent 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. This is NOT this file\u0027s highest cyclomatic complexity: KeyCodeHelper.string (cyclomatic 49) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/HotkeyManager.swift"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8ad6a1daaa34f020d194c9b2acf9937077bbc0ba6a7a60ba86e47cc0f3053a"}},{"ruleId":"D1","level":"warning","message":{"text":"MacAudioProcessingStore.sameCASState (cyclomatic 20): MacAudioProcessingStore.sameCASState has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":2307}}}],"partialFingerprints":{"codehealthFindingId/v1":"440af7ff428c8880e4e9f2d745719f5b58904898c8077ac13eaa1fd5b4e7805e"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexRealtimeTranscriptionClient.handle (cyclomatic 20): CodexRealtimeTranscriptionClient.handle 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":"Whishpermate/Whispermate/Services/OpenAIRealtimeTranscriptionClient.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a401e00193cf7016c7229d98e939a1148a0ae50e877d0a95031627b8fb58adcf"}},{"ruleId":"D1","level":"warning","message":{"text":"mac_audio_store_model.lease_actions (cyclomatic 20): mac_audio_store_model.lease_actions 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":"formal/mac_audio_store_model.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"beed8035ed991d96e1f9c975a346dba3bf81eefb7758caeafa8b8eb5f146e14c"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioProcessingStore.RecoverOnLaunchAsync (cyclomatic 19): AudioProcessingStore.RecoverOnLaunchAsync 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":"AIDictation.Windows/AIDictation/Services/AudioProcessingStore.cs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d123ce0744f17fe44abfe4c000a9b45a29449c141ef6d30312cc8dd20c28c9e"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordingSheetView.retryCurrentRecording (cyclomatic 19): RecordingSheetView.retryCurrentRecording 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":"Whishpermate/WhisperMateIOS/RecordingSheetView.swift"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"2488210bcdc29f88eb7992309d39bbbb5eb8cb869df2148a7e3863d4ec84fc35"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordingSheetView.modelCueText (cyclomatic 19): RecordingSheetView.modelCueText 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":"Whishpermate/WhisperMateIOS/RecordingSheetView.swift"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0528ca5c4d2624314cf73a6fe9af454c94f0e51357c7a5b48d4099a5a42cb97"}},{"ruleId":"D1","level":"warning","message":{"text":"MobileAudioProcessingStore.persistTerminalState (cyclomatic 19): MobileAudioProcessingStore.persistTerminalState 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":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a060cbc9de464bc97a2e180e49598ed3298d0be3f5ec31a486c9aa8f4745204"}},{"ruleId":"D1","level":"warning","message":{"text":"MobileAudioProcessingStore.validateReferencedPayloadsLocked (cyclomatic 19): MobileAudioProcessingStore.validateReferencedPayloadsLocked 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":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":2381}}}],"partialFingerprints":{"codehealthFindingId/v1":"33607e528047b8580162f4eafeec6352a88d2808f0593da0187ad14baca1d341"}},{"ruleId":"D1","level":"warning","message":{"text":"AppState.startRealtimeTranscriptionIfAvailable (cyclomatic 19): AppState.startRealtimeTranscriptionIfAvailable 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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":2763}}}],"partialFingerprints":{"codehealthFindingId/v1":"de12ef4dfae30fcdfd814e46850dfcd9838441e31d0a76aca07053b3c41d659c"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioHttpRecoveryPolicy.ExecuteAsync (cyclomatic 18): AudioHttpRecoveryPolicy.ExecuteAsync has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioHttpRecoveryPolicy.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"86daf1089ace2463d9940f9417d74dda391e2c6d6eb839a3eb207c82ac87a11a"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptionService.TranscribeAsync (cyclomatic 18): TranscriptionService.TranscribeAsync has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/TranscriptionService.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1337cf50ab61bcc4811a91db144ff2043a909c5d8ff2a4d61e97df8b49122b3"}},{"ruleId":"D1","level":"warning","message":{"text":"WhisperLocalService.EnsureModelAsync (cyclomatic 18): WhisperLocalService.EnsureModelAsync has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/WhisperLocalService.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e461e728948e27ddc219f37dbf7cc138479cc7a1f2dd2ec3b5faadbeb9a93bc"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineRecordingCoordinator.finishTerminalRecording (cyclomatic 18): InlineRecordingCoordinator.finishTerminalRecording has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3904}}}],"partialFingerprints":{"codehealthFindingId/v1":"951b3f106c67da76ae8cc551919e1a53e513130af1d7bfd218c07c38b84b9130"}},{"ruleId":"D1","level":"warning","message":{"text":"WritingmateRealtimeClientSecretProvider.fetchAuthorization (cyclomatic 18): WritingmateRealtimeClientSecretProvider.fetchAuthorization 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":"Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbca6cbea01788bb8d21e777b8776717b7b31decfe4ee01b0e4ab9b8b4dbd7f9"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIRealtimeTranscriptionClient.handle (cyclomatic 18): OpenAIRealtimeTranscriptionClient.handle has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1513b306358f22795aefffaffaea3e8079da9b27ab4d879fd1f9707a98c778a"}},{"ruleId":"D1","level":"warning","message":{"text":"AppState.commitTranscriptionSuccess (cyclomatic 18): AppState.commitTranscriptionSuccess has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":2412}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaed273ef02e290b03008ef7d4076ad37dc887642d030d9b504ea24e6e2f64b8"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioRecorder.prepareCapture (cyclomatic 18): AudioRecorder.prepareCapture has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AudioRecorder.swift"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"235298340eae6e6250b8792a1e897ec6644c3935829a9527149bd4ce1f60bfa6"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioRecorder.stopRecording (cyclomatic 18): AudioRecorder.stopRecording 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":"Whishpermate/Whispermate/Services/AudioRecorder.swift"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcee169eafa376475c911c00ee1848e2b045f92297fe7069291da01fc30f5483"}},{"ruleId":"D1","level":"warning","message":{"text":"MacAudioProcessingStore.adoptFinalizedSource (cyclomatic 18): MacAudioProcessingStore.adoptFinalizedSource 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. This is NOT this file\u0027s highest cyclomatic complexity: StoreError.errorDescription (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8dd8c17332f2b6b907648cb803791dcae9dcc33ec76a36daf24911695165ee"}},{"ruleId":"D1","level":"warning","message":{"text":"MacAudioProcessingStore.transition (cyclomatic 18): MacAudioProcessingStore.transition 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. This is NOT this file\u0027s highest cyclomatic complexity: StoreError.errorDescription (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d3318b6a45ec38fe6d0c07ba2072bc808dac7c38bfaad324c68f12e428ac65"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidAudioProcessingCoordinator.startCapture (cyclomatic 18): AndroidAudioProcessingCoordinator.startCapture has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5368deeaedc5c94a3c337577cb8dc1c5ed915059e42e012fc79d262c20cab6"}},{"ruleId":"D1","level":"warning","message":{"text":"OverlayDictationAccessibilityService.attachDragAndTapHandler (cyclomatic 18): OverlayDictationAccessibilityService.attachDragAndTapHandler has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa32c6455e8919fd47a15985883c63b35dffbcd53b7980ad09279c11046a7833"}},{"ruleId":"D1","level":"warning","message":{"text":"OverlayDictationAccessibilityService.startRecording (cyclomatic 18): OverlayDictationAccessibilityService.startRecording 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"3161efaf5f5f8b1521b999fe385760be23dc4f9414ced4a4edbb2bc64a71bffc"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioRecorderService.CloseSessionResourcesAsync (cyclomatic 17): AudioRecorderService.CloseSessionResourcesAsync 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":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9dd1407e757ef60e4c36ae411680d73965ccad9c427285a87740390e537f99"}},{"ruleId":"D1","level":"warning","message":{"text":"HotkeyService.MouseHookCallback (cyclomatic 17): HotkeyService.MouseHookCallback 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":"AIDictation.Windows/AIDictation/Services/HotkeyService.cs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13bbc07072c7efbf6466a1d0993c2cf562f891141418d9e8acc2d8f3434f769"}},{"ruleId":"D1","level":"warning","message":{"text":"Contract.VerifyHttpMatrixAsync (cyclomatic 17): Contract.VerifyHttpMatrixAsync has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to 6 function literals inside it that branch. 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 is NOT this file\u0027s highest cyclomatic complexity: Contract.VerifyCapturedContextAndGenerationResetAsync (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47b98f5e5b02deb141f5e02eedb9d374dce2f1c6d28e2b855c6872eb0b9c84c"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordingSheetView.beginRecording (cyclomatic 17): RecordingSheetView.beginRecording 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":"Whishpermate/WhisperMateIOS/RecordingSheetView.swift"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6087645ae00bf6350b2c5fa63b5aa49acbe6627dc5d39b09abe54611dd6074"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordingSheetView.stopRecording (cyclomatic 17): RecordingSheetView.stopRecording 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":"Whishpermate/WhisperMateIOS/RecordingSheetView.swift"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"fceefb656a600c98645b565b9b1a496c6e8f8571e01f232446e7004e50674d59"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordingSheetView.cancelAndReconcileActiveAttempt (cyclomatic 17): RecordingSheetView.cancelAndReconcileActiveAttempt 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":"Whishpermate/WhisperMateIOS/RecordingSheetView.swift"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaece8c63cb3d4c20bb1156648b11469261a94faacd3b0bb848ee10a2148cbe8"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyboardDictationHandoff.normalizeAfterHostLaunch (cyclomatic 17): KeyboardDictationHandoff.normalizeAfterHostLaunch has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/KeyboardDictationHandoff.swift"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ad6afa25868553fd167e0b9f5f277c9928469fb568123f80d61e1c5e185b90"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyboardDictationHandoff.publish (cyclomatic 17): KeyboardDictationHandoff.publish has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/KeyboardDictationHandoff.swift"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de96a9dbb5cead687b4b8258e7d1629b72dd351b75f416ae2a2292fa3f4a85d"}},{"ruleId":"D1","level":"warning","message":{"text":"MobileAudioProcessingStore.inspectClosedSourceDetached (cyclomatic 17): MobileAudioProcessingStore.inspectClosedSourceDetached 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":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"de830484d602be707a607b6fb0226379be4d09a5d0f167a9c73ab8f3d0386ef8"}},{"ruleId":"D1","level":"warning","message":{"text":"AppState.deleteRecording (cyclomatic 17): AppState.deleteRecording 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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7689eb1ba4281ea70502de87093a194935f40f2069063da369c87343ef42da5"}},{"ruleId":"D1","level":"warning","message":{"text":"AppState.clearHistory (cyclomatic 17): AppState.clearHistory 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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":1675}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8df9ebddff0cc4f881fc3c76e73760e9eea9c07640ffd22ece25189f7e4e65"}},{"ruleId":"D1","level":"warning","message":{"text":"MacAudioProcessingStore.salvageFinalizedPartial (cyclomatic 17): MacAudioProcessingStore.salvageFinalizedPartial 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. This is NOT this file\u0027s highest cyclomatic complexity: StoreError.errorDescription (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1831ff39e4a3bf97e903452b100b2210cd5064ba61c1b1b83f1692f0e8d799"}},{"ruleId":"D1","level":"warning","message":{"text":"MacDescriptorTree.removeAllEntries (cyclomatic 17): MacDescriptorTree.removeAllEntries 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 is NOT this file\u0027s highest cyclomatic complexity: StoreError.errorDescription (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":3285}}}],"partialFingerprints":{"codehealthFindingId/v1":"141579eb238c4a1a9d3403482dc1771472c9994fadd8541303766e4712c5f2ff"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordingDetailView.body (cyclomatic 17): RecordingDetailView.body 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":"Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2ff347f44cb1f9822807d512ccd9ceba256c68b4ba707e4446932ef80c2d57"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingView.navigationButtons (cyclomatic 17): OnboardingView.navigationButtons 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":"Whishpermate/Whispermate/Views/OnboardingView.swift"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"9759c642540362a7d03c7cd1f33ecd33bd9e1b58088e958fb13d9bc3b0bfae27"}},{"ruleId":"D1","level":"warning","message":{"text":"OverlayDictationAccessibilityService.normalizeEditableText (cyclomatic 17): OverlayDictationAccessibilityService.normalizeEditableText 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt"},"region":{"startLine":2312}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c4f2ebecfe2505a726d978fd6a0d6881df476598e907f24d13323c265e578b"}},{"ruleId":"D1","level":"warning","message":{"text":"android_overlay_model.main (cyclomatic 17): android_overlay_model.main 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":"formal/android_overlay_model.py"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b65b2375c0b80aa78bcb74cb5505df5bc3c2134273fc1dcf0cb29790137c4c6"}},{"ruleId":"D1","level":"warning","message":{"text":"mac_audio_store_model.worker_actions (cyclomatic 17): mac_audio_store_model.worker_actions 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":"formal/mac_audio_store_model.py"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"3029c2c7119b14745456f225ff93b13c4fe4306aef06d085ca84dab395c91153"}},{"ruleId":"D1","level":"warning","message":{"text":"App.StopRecordingAsync (cyclomatic 16): App.StopRecordingAsync has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"8773b65099e9d3dfe3ef7c9690cb152f1b572d3d5778d88110a38e71a499fb8c"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentView.inlineModelCueText (cyclomatic 16): ContentView.inlineModelCueText 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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"c701bf883f98e6c1b2019c7cc84820466642f41b6f4d462595b6df5b24f8e530"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineRecordingCoordinator.stopListening (cyclomatic 16): InlineRecordingCoordinator.stopListening 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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":2989}}}],"partialFingerprints":{"codehealthFindingId/v1":"39973f9d8062d049a73f3e1718a96b457c470ef98457b13ee85faa19a8320aad"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyboardDictationHandoff.writeDurably (cyclomatic 16): KeyboardDictationHandoff.writeDurably has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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":"Whishpermate/WhisperMateShared/Services/KeyboardDictationHandoff.swift"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"635a08597be1abefba56a2ab3366bd872ea4ccd174a7d4c366addb811431ba18"}},{"ruleId":"D1","level":"warning","message":{"text":"HistoryManager.removeCanonicalAudioIfPresent (cyclomatic 16): HistoryManager.removeCanonicalAudioIfPresent 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":"Whishpermate/WhisperMateShared/Storage/HistoryManager.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fd7ee2c419b31d8583c55522143fcca851a48009246fef587943ce177cb54d"}},{"ruleId":"D1","level":"warning","message":{"text":"AppState.startRecording (cyclomatic 16): AppState.startRecording 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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5436db7d3e8a6410ca12286dff4f64d578f47b0f9381212d7b4973a5da8fba2"}},{"ruleId":"D1","level":"warning","message":{"text":"SentryTelemetry.deviceKind (cyclomatic 16): SentryTelemetry.deviceKind has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/SentryTelemetry.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0a50dc68c4a887424e3ee3035ddae562f06c415c0a5013e3b98c93b34093b5"}},{"ruleId":"D1","level":"warning","message":{"text":"mac_audio_store_model.valid (cyclomatic 16): mac_audio_store_model.valid 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":"formal/mac_audio_store_model.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb50945daef745fd88125ab557b7e0a77adc2efd0eee04da682af47d638e96fe"}},{"ruleId":"D2","level":"warning","message":{"text":"MobileAudioProcessingStore.normalizeInterruptedAttempts (cognitive 91): MobileAudioProcessingStore.normalizeInterruptedAttempts has cognitive complexity 91 (threshold 15). Drivers by points: if/else 27 (68 pts), ternaries 4 (12 pts), boolean chains 8, match/switch 1 (2 pts), loops 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":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c3997be627cf895dedad786bb67286615e1380bcbc2dc71bc0c5fc09e52a29"}},{"ruleId":"D2","level":"warning","message":{"text":"MobileAudioProcessingStore.validateSnapshotLayoutLocked (cognitive 85): MobileAudioProcessingStore.validateSnapshotLayoutLocked has cognitive complexity 85 (threshold 15). Drivers by points: boolean chains 57, if/else 14 (24 pts), match/switch 4 (nesting depth added 10). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":2232}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f12548d69559e2887c631151f62810c019e64d629238e4b3b911b53606dde8"}},{"ruleId":"D2","level":"warning","message":{"text":"AppState.handleRecorderFinalizationTerminal (cognitive 85): AppState.handleRecorderFinalizationTerminal has cognitive complexity 85 (threshold 15). Drivers by points: if/else 26 (70 pts), ternaries 3 (8 pts), boolean chains 4, error handling 1 (2 pts), match/switch 1 (nesting depth added 50). 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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54e46057e8fe0fc5da2c1133b324c678c825feab5bf8b603fe99c339e824609"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioRecorder.start (cognitive 59): AudioRecorder.start has cognitive complexity 59 (threshold 15). Drivers by points: if/else 30 (51 pts), boolean chains 4, error handling 2 (3 pts), loops 1 (nesting depth added 22). 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/util/AudioRecorder.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d133509c54152e38ff3b2a231ea9a109589a7c0d11c0e7bb24577d39fe678bb"}},{"ruleId":"D2","level":"warning","message":{"text":"MacAudioProcessingStore.validate (cognitive 57): MacAudioProcessingStore.validate has cognitive complexity 57 (threshold 15). Drivers by points: if/else 15 (34 pts), boolean chains 20, match/switch 1 (2 pts), loops 1 (nesting depth added 20). 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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":2447}}}],"partialFingerprints":{"codehealthFindingId/v1":"7884148adb70021aae0d391cdc1262f23b40aa289079aed567d3d22426c9bd83"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingScreenKt.OnboardingScreen (cognitive 55): OnboardingScreenKt.OnboardingScreen has cognitive complexity 55 (threshold 15). Drivers by points: if/else 36 (47 pts), boolean chains 5, match/switch 2 (3 pts) (nesting depth added 12). 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"f119d2f76b0143df346a9838bc813ce66381573255f14f4c10560c78c52557e4"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidAudioProcessingCoordinator.retry (cognitive 54): AndroidAudioProcessingCoordinator.retry has cognitive complexity 54 (threshold 15). Drivers by points: if/else 27 (42 pts), boolean chains 7, match/switch 1 (3 pts), error handling 2 (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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c621d86e6b6ec5429b6f2948b3f004fd3bab11f424bb7afcf22384466e303f"}},{"ruleId":"D2","level":"warning","message":{"text":"HotkeyOption.from (cognitive 53): HotkeyOption.from has cognitive complexity 53 (threshold 15). Drivers by points: if/else 27 (33 pts), boolean chains 18, match/switch 1 (2 pts) (nesting depth added 7). 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":"Whishpermate/Whispermate/Views/HotkeyRecorderView.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cd30818be14623c53f82f1e6eb698b8b457673bfd2dbc9886ac72e076457c5"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioProcessingCoordinator.StartCaptureAsync (cognitive 52): AudioProcessingCoordinator.StartCaptureAsync has cognitive complexity 52 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c822131f761a20fd5e5fa19fbfc4edad673939883391edba18b39287e9aebd"}},{"ruleId":"D2","level":"warning","message":{"text":"AppState.executeTranscriptionAttempt (cognitive 51): AppState.executeTranscriptionAttempt has cognitive complexity 51 (threshold 15). Drivers by points: if/else 13 (26 pts), error handling 6 (16 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":2241}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ef09e66e3c3dd04d16ddee93c4c5ddb08c4bc3dc900cfd4ec158dc0c0fed21"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIClient.transcribeSinglePart (cognitive 51): OpenAIClient.transcribeSinglePart has cognitive complexity 51 (threshold 15). Drivers by points: if/else 18 (35 pts), boolean chains 15, loops 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":"Whishpermate/Whispermate/Services/OpenAIClient.swift"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"56099ddad47bef31d3324150f71ba5a488f047bef9d2158c525fb8faad8a9e55"}},{"ruleId":"D2","level":"warning","message":{"text":"android_overlay_model.check (cognitive 51): android_overlay_model.check has cognitive complexity 51 (threshold 15). Drivers by points: if/else 12 (36 pts), loops 7 (12 pts), boolean chains 3 (nesting depth added 29). 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":"formal/android_overlay_model.py"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"539ab3e7c901c2a6085e334c3264128bc89b0d35e1e3d4fef94be41fc60493da"}},{"ruleId":"D2","level":"warning","message":{"text":"mac_audio_store_model.check (cognitive 51): mac_audio_store_model.check has cognitive complexity 51 (threshold 15). Drivers by points: if/else 11 (29 pts), loops 9 (20 pts), boolean chains 2 (nesting depth added 29). 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":"formal/mac_audio_store_model.py"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c88cd7c4384d2353e684213630ba73de01c02bce69d86d137f206b691d4ee9a"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineRecordingCoordinator.transcribeAudio (cognitive 49): InlineRecordingCoordinator.transcribeAudio has cognitive complexity 49 (threshold 15). Drivers by points: if/else 17 (37 pts), boolean chains 7, error handling 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 22). 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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3679}}}],"partialFingerprints":{"codehealthFindingId/v1":"274774c4059b9a7aa1eb92564d2e1aeb055df11d4ea2c758f1b805434f646606"}},{"ruleId":"D2","level":"warning","message":{"text":"AppState.reconcileAudioProcessingStore (cognitive 46): AppState.reconcileAudioProcessingStore has cognitive complexity 46 (threshold 15). Drivers by points: if/else 10 (25 pts), ternaries 4 (8 pts), boolean chains 4, loops 3 (4 pts), error handling 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 23). 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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":1759}}}],"partialFingerprints":{"codehealthFindingId/v1":"3686cb5005be8195ae8b0632e09fc8e17e1a7cb2523a7342aa983aebd2b9a1c8"}},{"ruleId":"D2","level":"warning","message":{"text":"android_overlay_model.system_actions (cognitive 46): android_overlay_model.system_actions has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (35 pts), ternaries 2 (6 pts), boolean chains 4, loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"formal/android_overlay_model.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"047453b05d29fe00edea23506228bd8045e61e98ee26851a5eea088be77e1781"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineRecordingCoordinator.beginRecording (cognitive 44): InlineRecordingCoordinator.beginRecording has cognitive complexity 44 (threshold 15). Drivers by points: if/else 14 (29 pts), boolean chains 8, ternaries 2 (5 pts), error handling 2 (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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3288}}}],"partialFingerprints":{"codehealthFindingId/v1":"10eaf2a33e0f3ee86e58d3ec2f91e9937bf3bda4b500be145165ce0870d4784a"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineRecordingCoordinator.stopRecording (cognitive 44): InlineRecordingCoordinator.stopRecording has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (32 pts), boolean chains 7, ternaries 2 (4 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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3498}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77d8b33cdb5ff96320bf0c44f7d3445de9ded5bdc9ad69ef0693ed71b9d81aa"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIClient.transcribe (cognitive 43): OpenAIClient.transcribe has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 9 (19 pts), if/else 6 (10 pts), error handling 6 (8 pts), boolean chains 6 (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":"Whishpermate/Whispermate/Services/OpenAIClient.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"0888f5b5e6c00a9a88401983f25ec26894c900002f32f2be507b066bdd644b24"}},{"ruleId":"D2","level":"warning","message":{"text":"AppState.runRetranscription (cognitive 42): AppState.runRetranscription has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (35 pts), match/switch 1 (4 pts), boolean chains 2, error handling 1 (nesting depth added 23). 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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c002ba358bbc44baa49f9af20309b0f95b678783eefe07cc48abd94cf0836f"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioRecorder.processCaptureBuffer (cognitive 42): AudioRecorder.processCaptureBuffer has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (31 pts), boolean chains 6, match/switch 2 (4 pts), error handling 1 (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":"Whishpermate/Whispermate/Services/AudioRecorder.swift"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed5a7664481c7176058c75ee0441955bcf8ea7191a99cc1f43b004ddd388dbb"}},{"ruleId":"D2","level":"warning","message":{"text":"SileroVAD.analyzeAudio (cognitive 42): SileroVAD.analyzeAudio has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (37 pts), loops 4 (5 pts) (nesting depth added 20). 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":"Whishpermate/Whispermate/Services/SileroVAD.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf74f9fbbc84e754cf55f9254df6d9299d465117a76a4b73e3e775a55e25f6f2"}},{"ruleId":"D2","level":"warning","message":{"text":"AppState.performTranscription (cognitive 41): AppState.performTranscription has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 7, ternaries 4 (7 pts), error handling 2 (6 pts), match/switch 2 (3 pts) (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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":3274}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0eb3192e93cef273382e4ca7ec0fed52b3a265d6d8d3ee206f72b1c9ed20c4d"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsView.accountSection (cognitive 41): SettingsView.accountSection has cognitive complexity 41 (threshold 15). Drivers by points: if/else 20 (28 pts), ternaries 4 (10 pts), boolean chains 3 (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":"Whishpermate/Whispermate/Views/SettingsView.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43cdb9013fcf25e1dad024fa13a080481b66b4664d32a7ada6836e2108f0f07"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioProcessingCoordinator.RunRecognitionAsync (cognitive 39): AudioProcessingCoordinator.RunRecognitionAsync has cognitive complexity 39 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. 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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c14b7635b7f702c4c0238bfcce14faec5b86663c3faddea7180664193d3525"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingSheetView.transcribeAudio (cognitive 38): RecordingSheetView.transcribeAudio has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 7, error handling 2 (3 pts), ternaries 1 (2 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":"Whishpermate/WhisperMateIOS/RecordingSheetView.swift"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb4d3d8b2b39067021c2c682e87cc92453bf0d0fb2b7e9fa44f7c1604daebae"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIClient.transcribe (cognitive 37): OpenAIClient.transcribe has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 6 (13 pts), if/else 6 (10 pts), error handling 6 (8 pts), boolean chains 6 (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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d961dd8f93590c14c266a940578ee5abf86c2ef75ba7155027dd6dfdda7cbef6"}},{"ruleId":"D2","level":"warning","message":{"text":"AppState.handleRecorderStartTerminal (cognitive 37): AppState.handleRecorderStartTerminal has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (30 pts), boolean chains 4, error handling 1 (2 pts), match/switch 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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6ba2ca153ed21d0d194bffb9a16e89a5822f430e9b4645d1f866f5921b20e2"}},{"ruleId":"D2","level":"warning","message":{"text":"AppState.finalizeRecording (cognitive 37): AppState.finalizeRecording has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 9, ternaries 2, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a59ed297d8c8664f879c40e5ebf16ab5271645f4669932732819daeee270e19"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidAudioProcessingCoordinator.stopCapture (cognitive 37): AndroidAudioProcessingCoordinator.stopCapture has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19 (27 pts), boolean chains 6, match/switch 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"600ec4b31e9841c94e39b75b6b7223903f55d02617908b2c44b72131ee28fac2"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioProcessingCoordinator.StopAndTranscribeAsync (cognitive 36): AudioProcessingCoordinator.StopAndTranscribeAsync has cognitive complexity 36 (threshold 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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fb8a840c43fc22352da4911eace8f51c78900f746c20b25af25954df03dce2"}},{"ruleId":"D2","level":"warning","message":{"text":"HotkeyManager.handleCGEvent (cognitive 36): HotkeyManager.handleCGEvent has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (32 pts), boolean chains 4 (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":"Whishpermate/Whispermate/Services/HotkeyManager.swift"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"523b37bb87b619de59f5e9f4530795c76ac44b136da648b5d6f23203f8cd7a10"}},{"ruleId":"D2","level":"warning","message":{"text":"MacAudioProcessingStore.reconcileAfterRestart (cognitive 36): MacAudioProcessingStore.reconcileAfterRestart has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 3, match/switch 1 (2 pts), ternaries 1 (2 pts), loops 1 (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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":2564}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb969cab2b398a145091632a6da007a3a939ecc7100a194a1ba2f3e2d74d0344"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingRow.body (cognitive 36): RecordingRow.body has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (20 pts), ternaries 7 (12 pts), boolean chains 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Views/HistoryView.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"529a46ba51d4689c0d69c665df41674f4ed8272fa40d7c43cb61f1d7a794a723"}},{"ruleId":"D2","level":"warning","message":{"text":"android_overlay_model.main (cognitive 35): android_overlay_model.main has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 7 (15 pts), if/else 9 (14 pts), loops 3 (6 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":"formal/android_overlay_model.py"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe6096cd4f22c89ea07b6cef35859d42e3f5395e470638c6d8d4d621a3cc08b"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioProcessingCoordinator.RetryAsync (cognitive 33): AudioProcessingCoordinator.RetryAsync has cognitive complexity 33 (threshold 15). 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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eec71214e226bb2eb1787ec34023a6e507a37c40869d02e7642a935ffd9fade"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioProcessingCoordinator.PersistAbandonedAttemptAsync (cognitive 33): AudioProcessingCoordinator.PersistAbandonedAttemptAsync has cognitive complexity 33 (threshold 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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6b9a691a19edd440a744f391595630ed1b6affdae8376836d6006fecc11791"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioProcessingStore.RecoverOnLaunchAsync (cognitive 33): AudioProcessingStore.RecoverOnLaunchAsync has cognitive complexity 33 (threshold 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":"AIDictation.Windows/AIDictation/Services/AudioProcessingStore.cs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"615d84f60a59f019814ec01ba31e7cf59d4f02c41c4548abb24f1e9819c2115a"}},{"ruleId":"D2","level":"warning","message":{"text":"AppContextHelper.getWindowTitle (cognitive 33): AppContextHelper.getWindowTitle has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 11, loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AppContextHelper.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"497ced43374d9c1e87ae6ebdbfa1aaa8de5b9cd126d9129d86f3141e09fc0a03"}},{"ruleId":"D2","level":"warning","message":{"text":"AppState.finishTerminationOwnership (cognitive 33): AppState.finishTerminationOwnership has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 4 (8 pts), error handling 2 (6 pts), boolean chains 3, loops 2, match/switch 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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":1954}}}],"partialFingerprints":{"codehealthFindingId/v1":"26443de2e42eecc2174318a54172387ca1502bf8ca064570df299191792c5386"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidAudioProcessingCoordinator.processRecognition (cognitive 33): AndroidAudioProcessingCoordinator.processRecognition has cognitive complexity 33 (threshold 15). Drivers by points: if/else 18 (27 pts), boolean chains 5, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64d099d5603f240e26bc3b2cce88a101e259464330b0ac37540133f7426fe3d"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioHttpRecoveryPolicy.ExecuteAsync (cognitive 32): AudioHttpRecoveryPolicy.ExecuteAsync has cognitive complexity 32 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioHttpRecoveryPolicy.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73f3c74c9111c7063a11176b1996a7ebfdb46c25013ce77b614642141edc514"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioProcessingCoordinator.ShutdownCoreAsync (cognitive 32): AudioProcessingCoordinator.ShutdownCoreAsync has cognitive complexity 32 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"43be1fe86286d22dd9e8e43d35d1c3f287bf11cb3ed28048c09cd771e935de25"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidAudioProcessingCoordinator.startCapture (cognitive 32): AndroidAudioProcessingCoordinator.startCapture has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 5, 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a8a7863054a540424f5394f65c6f42c302b667aa135f3b733f051c423d7223"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentView.iPhoneLayout (cognitive 31): ContentView.iPhoneLayout has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 9 (18 pts), if/else 5 (8 pts), boolean chains 5 (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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b65c2652c43fbc2943b3229a23eb3f04d4dd7b99e53755f21054f8075691af"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyboardDictationHandoff.journalIsValid (cognitive 31): KeyboardDictationHandoff.journalIsValid has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 12, loops 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/KeyboardDictationHandoff.swift"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"5421da537bb6f885ee6f036ea0f6d8b81a5b0bbece53d000e3631da81d9b4175"}},{"ruleId":"D2","level":"warning","message":{"text":"MacAudioProcessingStore.validateClosedAudio (cognitive 31): MacAudioProcessingStore.validateClosedAudio has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 10, loops 2 (4 pts), error handling 2 (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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":2781}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b1b7c7b17a4955b367df5d47e6c1e35bfd833223515743d97ac42049ef34a3"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidAudioProcessingCoordinator.cancelCapture (cognitive 31): AndroidAudioProcessingCoordinator.cancelCapture has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 22, if/else 7 (8 pts), match/switch 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b6850cd3e66a9186ff697ecd099b283e2db8ed2619048f48defd529b29f637"}},{"ruleId":"D2","level":"warning","message":{"text":"WhisperLocalService.EnsureModelAsync (cognitive 30): WhisperLocalService.EnsureModelAsync has cognitive complexity 30 (threshold 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":"AIDictation.Windows/AIDictation/Services/WhisperLocalService.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0ca7cf893cd2cf9c3b2db4783ff6fa3769c0c34ff6b8a7becab92d186ace28"}},{"ruleId":"D2","level":"warning","message":{"text":"MacAudioProcessingStore.beginRecognition (cognitive 30): MacAudioProcessingStore.beginRecognition has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 11, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"52741760c9eec719623aae75ee9ce80d681451ea537c8457c60f6f8a373c3e17"}},{"ruleId":"D2","level":"warning","message":{"text":"MacDescriptorTree.removeAllEntries (cognitive 30): MacDescriptorTree.removeAllEntries has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 4, error handling 1 (3 pts), loops 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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":3285}}}],"partialFingerprints":{"codehealthFindingId/v1":"83254ec54fe2d2096288ba0392161d3ac71e6e47fd278b455bb05874db42dc99"}},{"ruleId":"D2","level":"warning","message":{"text":"mac_audio_store_model.record_actions (cognitive 29): mac_audio_store_model.record_actions has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 10 (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":"formal/mac_audio_store_model.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"432252240d305df398aeced04eb45bfe8a24e6e2fb7f5f8f25aff56d2d29aaa8"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioContainerValidator.ValidateFinalizedWave (cognitive 28): AudioContainerValidator.ValidateFinalizedWave has cognitive complexity 28 (threshold 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":"AIDictation.Windows/AIDictation/Services/AudioContainerValidator.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f5030a1fcb71fdf0b5dbe7e14421e52e270b048ed49a20ef0ef3dcedb3f601"}},{"ruleId":"D2","level":"warning","message":{"text":"Contract.VerifyDurableStoreAsync (cognitive 28): Contract.VerifyDurableStoreAsync has cognitive complexity 28 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfd7b332d2bc1d131f2e724000021eff36c66905dafdc57b39a517c0af8a705"}},{"ruleId":"D2","level":"warning","message":{"text":"MobileAudioProcessingStore.persistTerminalState (cognitive 28): MobileAudioProcessingStore.persistTerminalState has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 2, ternaries 1 (2 pts), match/switch 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":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba671b014336c53649d9fdd597b3148635ef2164387e2c587d4123056f4bc2a"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingScreenKt.ButtonDemoStep (cognitive 28): OnboardingScreenKt.ButtonDemoStep has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 5, match/switch 5 (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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40d1dc38f561573826d11b51e4e94ef65fd49f4685f87f73ccad4169a9032de"}},{"ruleId":"D2","level":"warning","message":{"text":"mac_audio_store_model.lease_actions (cognitive 28): mac_audio_store_model.lease_actions has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 5, ternaries 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"formal/mac_audio_store_model.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"e985fbfd375c39af649e137ff21ee3f2e3ef4cc111c701c0f00a4e57d2222255"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineRecordingCoordinator.finishTerminalRecording (cognitive 27): InlineRecordingCoordinator.finishTerminalRecording has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 5, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3904}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d9dcc5cd032a9be18c6aeee0daad5d6663fff1d1bdcb7ead4b2c716b0b3082"}},{"ruleId":"D2","level":"warning","message":{"text":"AppState.beginPreparedCapture (cognitive 27): AppState.beginPreparedCapture has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 11, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd64d4d837f0d227c792e098ae578a3ca97eab5e6eafa2da8470b874fded8136"}},{"ruleId":"D2","level":"warning","message":{"text":"AppState.commitTranscriptionSuccess (cognitive 27): AppState.commitTranscriptionSuccess has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (21 pts), error handling 2 (4 pts), boolean chains 2 (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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":2412}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9a15fcb515aaec772e2298642c6a1e07606de410bed98f82d93ef544bb7fd0"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidAudioDecoder.decodeToMono (cognitive 27): AndroidAudioDecoder.decodeToMono has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (22 pts), match/switch 1 (2 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/AndroidAudioDecoder.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"669278d1987d97cec5863ac11080bb264f32dbbccdce573b17d0db789e71fae4"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingSheetView.stopRecording (cognitive 26): RecordingSheetView.stopRecording has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 3 (7 pts), boolean chains 5, 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":"Whishpermate/WhisperMateIOS/RecordingSheetView.swift"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ced9eb4cf6ac119bb43ebdc066e4a5c2826b9b2c658325ed6e72257055f993"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextRulesManager.matchingRules (cognitive 26): ContextRulesManager.matchingRules has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 3, loops 1 (3 pts), ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Managers/ContextRulesManager.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c7d59e663e85b89639593c7262e71063f1631d30601480b6f1c34615ed71eb"}},{"ruleId":"D2","level":"warning","message":{"text":"HotkeyService.MouseHookCallback (cognitive 25): HotkeyService.MouseHookCallback has cognitive complexity 25 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/HotkeyService.cs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cc6aad27927eed4f5bddd27a3b46996884cceadcf177fdad3828bc9e958739"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingSheetView.retryCurrentRecording (cognitive 25): RecordingSheetView.retryCurrentRecording has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 7, error handling 2, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/RecordingSheetView.swift"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fb655b58ada1ff582c93d30032d4c3caf73f317543950b5978009befd3b575"}},{"ruleId":"D2","level":"warning","message":{"text":"MacInstallationAnalytics.flush (cognitive 25): MacInstallationAnalytics.flush has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 5, error handling 1 (2 pts), loops 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":"Whishpermate/Whispermate/WhispermateApp.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"688f09ffb519cecbfa8ed9023eef587315cc9fda1ced600e6ca27728b36cb829"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIClient.exportChunks (cognitive 25): OpenAIClient.exportChunks has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (19 pts), error handling 2 (4 pts), loops 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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a38b6b8cea8d2594c59327ea093a271ef3d08e9fce778cbb4f15e964d0d917"}},{"ruleId":"D2","level":"warning","message":{"text":"MobileInstallationAnalytics.flush (cognitive 25): MobileInstallationAnalytics.flush has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 5, error handling 1 (2 pts), loops 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":"Whishpermate/WhisperMateShared/Services/MobileInstallationAnalytics.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd18ab5d6466cd4a1b4b1c7922966481f369c760ae38168b5650968fa0b1496c"}},{"ruleId":"D2","level":"warning","message":{"text":"AppState.startRealtimeTranscriptionIfAvailable (cognitive 25): AppState.startRealtimeTranscriptionIfAvailable has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 5, 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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":2763}}}],"partialFingerprints":{"codehealthFindingId/v1":"811f939441f54ca7791254d5026e6368125bb17affee6a5aa0bf6f725fa1ec66"}},{"ruleId":"D2","level":"warning","message":{"text":"MacAudioProcessingStore.persist (cognitive 25): MacAudioProcessingStore.persist has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), error handling 3 (4 pts), loops 1 (2 pts) (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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":2102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7585312590bfe7bcbd21b6f371456b385289a956918d930079729c1d13498d03"}},{"ruleId":"D2","level":"warning","message":{"text":"mac_audio_store_model.caller_actions (cognitive 25): mac_audio_store_model.caller_actions has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 12). 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":"formal/mac_audio_store_model.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70def8059d28e73d5e728e79f47bdc0ac37d66c75f321e0230d8f23970672bf"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioProcessingCoordinator.RecoverOnLaunchAsync (cognitive 24): AudioProcessingCoordinator.RecoverOnLaunchAsync has cognitive complexity 24 (threshold 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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5e3c53045c334878acf280ed229efaee4c8240043cfa007a80aaf2b3f81d73"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingSheetView.beginRecording (cognitive 24): RecordingSheetView.beginRecording has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, error handling 2, ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/RecordingSheetView.swift"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4126581c1e8566f065e76f057a0f86d3574cff3e6d18927430d311df6aa2a5"}},{"ruleId":"D2","level":"warning","message":{"text":"AppleAudioHTTPRecovery.transcribe (cognitive 24): AppleAudioHTTPRecovery.transcribe has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (14 pts), error handling 3 (6 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Networking/AppleAudioHTTPRecovery.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bab6d74c4ba9be89bb496e412cc8cc8c35cfc4ce422cf601cf659812a156c8"}},{"ruleId":"D2","level":"warning","message":{"text":"MobileAudioProcessingStore.validateReferencedPayloadsLocked (cognitive 24): MobileAudioProcessingStore.validateReferencedPayloadsLocked has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 7, ternaries 2 (4 pts), loops 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":2381}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ff6355e9511bd4bd455a75bb5629106b9e71d809529973ad8689b54aab27db"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingOverlayView.contentView (cognitive 24): RecordingOverlayView.contentView has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 10 (14 pts), boolean chains 5, if/else 5 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Views/RecordingOverlayView.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77245d9dd6ff7812d4d5e8b6fe2b67cb7e0da30dc2d96e6033302bfd6eb3f79"}},{"ruleId":"D2","level":"warning","message":{"text":"OverlayDictationAccessibilityService.attachDragAndTapHandler (cognitive 24): OverlayDictationAccessibilityService.attachDragAndTapHandler has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 3 (7 pts), boolean chains 2 (nesting depth added 10). 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ebd00b78f0ef605dea5f23df1b71c3178896034a809f36798c4096d69ef146"}},{"ruleId":"D2","level":"warning","message":{"text":"mac_audio_store_model.worker_actions (cognitive 24): mac_audio_store_model.worker_actions has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"formal/mac_audio_store_model.py"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fbdaf252ef3320c840c91c7cc2a601067cd1d0b279a81372dfd0c0fdc8deab"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioRecorderService.CloseSessionResourcesAsync (cognitive 23): AudioRecorderService.CloseSessionResourcesAsync has cognitive complexity 23 (threshold 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":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"6045d2a55c363beb41173dee112a3f1dd581008d870ff3d8045ee47c393c0cf6"}},{"ruleId":"D2","level":"warning","message":{"text":"AppState.prepareForTermination (cognitive 23): AppState.prepareForTermination has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (4 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5ed1548506132ead8284d0d13ad0758ef86ed42ea59697a2d1e4365adea916"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioRecorder.prepareCapture (cognitive 23): AudioRecorder.prepareCapture has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 4, error handling 2 (3 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":"Whishpermate/Whispermate/Services/AudioRecorder.swift"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc796c11068e98ae132fb8236a39498c908c096faa2caa96420cc43d670cbb70"}},{"ruleId":"D2","level":"warning","message":{"text":"OverlayDictationAccessibilityService.normalizeEditableText (cognitive 23): OverlayDictationAccessibilityService.normalizeEditableText has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5, loops 2 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt"},"region":{"startLine":2312}}}],"partialFingerprints":{"codehealthFindingId/v1":"87415ad896866ab82ca9a310b65ca5da3b9364673e57afdf4afa37bdfd44ff35"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingDetailScreenKt.RecordingDetailScreen (cognitive 23): RecordingDetailScreenKt.RecordingDetailScreen has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/RecordingDetailScreen.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ec08820acd79fcd99a9742ed8f1a6251a36211db2c2f7b4bedfd924500008e"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioRecorderService.ShutdownAsync (cognitive 22): AudioRecorderService.ShutdownAsync has cognitive complexity 22 (threshold 15). 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":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b1fbbc5690861816a0e19551d5cf3fdaa16c734df77d4f9bc36c7afa8d598d"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptionService.TranscribeAsync (cognitive 22): TranscriptionService.TranscribeAsync has cognitive complexity 22 (threshold 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":"AIDictation.Windows/AIDictation/Services/TranscriptionService.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb3ee8823a38df4e185393799b3c5074ca03822016a0df028f585b201c08ce1"}},{"ruleId":"D2","level":"warning","message":{"text":"OverlayWindow.ApplyState (cognitive 22): OverlayWindow.ApplyState has cognitive complexity 22 (threshold 15). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 272). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Views/OverlayWindow.xaml.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f9b61333405551b1e3ab98ec3ec9c1b3ee8ea9a3bdf9dcc4a5cac45c34107e"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineRecordingCoordinator.stopListening (cognitive 22): InlineRecordingCoordinator.stopListening has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (18 pts), error handling 1 (2 pts), boolean chains 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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":2989}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdc8f52c4d1c41679db7550fb2b56a5b975eedd0787dcc727c7ef54acc53d33"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioRecorder.resumeRecording (cognitive 22): AudioRecorder.resumeRecording has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 2 (5 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/AudioRecorder.swift"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a9900767689c89abc52213c40dcb5f5afcd3a7d8bbe8f4af54cee9d457ab9e"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexRealtimeTranscriptionClient.handle (cognitive 22): CodexRealtimeTranscriptionClient.handle has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 2, match/switch 2, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/OpenAIRealtimeTranscriptionClient.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e6f19f9bbc8abe25eb5cdfe16b9ee2c1f683bd49ef5a003b4d07e4ed625047"}},{"ruleId":"D2","level":"warning","message":{"text":"mac_audio_store_model.valid (cognitive 22): mac_audio_store_model.valid has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 7, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"formal/mac_audio_store_model.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f78b08c37e7303b74a2b09021e12ad1853e1e7083c7411b5a38e1d102db4f41"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentView.performMobileAudioRecovery (cognitive 21): ContentView.performMobileAudioRecovery has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, loops 2, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":1840}}}],"partialFingerprints":{"codehealthFindingId/v1":"344c12e60ce493a7c4b6ac2a21c2d87c9aa22e7ec16bc3394caca4f99d8ffaa1"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyboardViewController.reconcileHandoff (cognitive 21): KeyboardViewController.reconcileHandoff has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, error handling 2 (3 pts), match/switch 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":"Whishpermate/WhisperMateKeyboard/KeyboardViewController.swift"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ccfbade54cc0e14df7e6c902ca9e61865b20b44aba4edd5cfa8b83d99dd295"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyboardDictationHandoff.publishHostPhase (cognitive 21): KeyboardDictationHandoff.publishHostPhase has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, if/else 7 (9 pts), ternaries 1 (2 pts), match/switch 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/KeyboardDictationHandoff.swift"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"907b418aceb5eecbbce9e33557715067e05ebede058288b5feb176e820d0a947"}},{"ruleId":"D2","level":"warning","message":{"text":"MacAudioProcessingStore.finishFinalization (cognitive 21): MacAudioProcessingStore.finishFinalization has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 6, match/switch 1, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"642fb69de44373e5d64ab97e74ba8e0f538f69e2c563e08f2952ea702fd4747b"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingDetailView.body (cognitive 21): RecordingDetailView.body has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 5 (6 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"c862995032bd4c882676e6f5e6966fa6b2447994e8178d1850e0717fe7fd5994"}},{"ruleId":"D2","level":"warning","message":{"text":"MainScreenKt.MainScreen (cognitive 21): MainScreenKt.MainScreen has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5, match/switch 3 (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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d094010fd095b0386d1e20344c8fb79d025b20271fcb78db7e4943ac8b10542"}},{"ruleId":"D2","level":"warning","message":{"text":"android_overlay_model.user_actions (cognitive 21): android_overlay_model.user_actions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 4 (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":"formal/android_overlay_model.py"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"64036154cbb8379642a895a45080a5a42e226e2336be3bf1f45c528c84cf4862"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioRecorderService.StartWasapiSession (cognitive 20): AudioRecorderService.StartWasapiSession has cognitive complexity 20 (threshold 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":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"3907baf3f85b4e8399ed9e9240dbb1d114b4624dfa6f92f37c8ca6c391bd906f"}},{"ruleId":"D2","level":"warning","message":{"text":"Contract.VerifyHttpMatrixAsync (cognitive 20): Contract.VerifyHttpMatrixAsync has cognitive complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 belong to 6 function literals inside it that branch. 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":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a93e4094f00e1e96f66256aeb139c1006abf7603849d7be2b43c54962a34ea"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentView.reviewHostIsAtRest (cognitive 20): ContentView.reviewHostIsAtRest has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, if/else 8. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"3491732915215f6d47d4fb7774f104c352b4c8348c90739c218c37350e538376"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentView.inlineModelCueText (cognitive 20): ContentView.inlineModelCueText has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 3, 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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"985962ac5df9b3bdeefb20f111290f31b60065242c75fc823e48dc3dba34de7e"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingSheetView.cancelAndReconcileActiveAttempt (cognitive 20): RecordingSheetView.cancelAndReconcileActiveAttempt has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/RecordingSheetView.swift"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"7445a12914c4e01512ec29729c026310d950c6b0ea835254de232f2dde70dc63"}},{"ruleId":"D2","level":"warning","message":{"text":"AppState.deleteRecording (cognitive 20): AppState.deleteRecording has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 2, error handling 1 (2 pts), match/switch 1 (2 pts), ternaries 2 (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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b3677bb72a4071a85c9d1e67e73a99a3781498c6846e3e43e89592caf91aa7"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioRecorder.stopRecording (cognitive 20): AudioRecorder.stopRecording has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 4, ternaries 1 (2 pts) (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":"Whishpermate/Whispermate/Services/AudioRecorder.swift"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"de359e9cec471cc6b653f1f500060e0cf7ea959cc48637388d5c8bf0e808fff0"}},{"ruleId":"D2","level":"warning","message":{"text":"MacAudioProcessingStore.checkpointRecoverablePartial (cognitive 20): MacAudioProcessingStore.checkpointRecoverablePartial has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, if/else 8. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"171ca29a33a8ab92369ea461f78084b4c45372c2a88d36fd5ef59ba1f75954f1"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingOverlayView.overlayContent (cognitive 20): RecordingOverlayView.overlayContent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 5, ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Views/RecordingOverlayView.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c886bc87e2715aa7a9bf8c1d9ef115bbdbe8a46be4d487b6b1a96a9ad2bbd72"}},{"ruleId":"D2","level":"warning","message":{"text":"OverlayDictationAccessibilityService.startRecording (cognitive 20): OverlayDictationAccessibilityService.startRecording has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, error handling 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac19942b797642c9290dfd367f8db25e0e7bda9109bc9b6b329e0036b33a066"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentView.startKeyboardCommandPolling (cognitive 19): ContentView.startKeyboardCommandPolling has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 8, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc41a9940d04ce209ea029972648e8dbea7b0ae20ea3fbfedb380ac8932deb21"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingSheetView.modelCueText (cognitive 19): RecordingSheetView.modelCueText has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 5 (7 pts), match/switch 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/RecordingSheetView.swift"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc97e1d14079f5214180549e74ff19cb63e2afd12c35f542245cf6ebcd3c30c"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyboardDictationHandoff.writeDurably (cognitive 19): KeyboardDictationHandoff.writeDurably has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, error handling 2, loops 1 (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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":"Whishpermate/WhisperMateShared/Services/KeyboardDictationHandoff.swift"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b4b34edfcf30063261c12c11d6eed07fa2c651f3980dde9f9d4ee194377b99"}},{"ruleId":"D2","level":"warning","message":{"text":"MobileAudioProcessingStore.inspectClosedSourceDetached (cognitive 19): MobileAudioProcessingStore.inspectClosedSourceDetached has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, error handling 3, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"65491c46189b0370c2347e11f0a083fb71f1897dff1e8345d5b23ff958485aff"}},{"ruleId":"D2","level":"warning","message":{"text":"WritingmateRealtimeClientSecretProvider.fetchAuthorization (cognitive 19): WritingmateRealtimeClientSecretProvider.fetchAuthorization has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 6 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"75790f7beafffac2b946415ef5edd56b8e7a1c52effaec2a302390816c8f770d"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIRealtimeTranscriptionClient.handle (cognitive 19): OpenAIRealtimeTranscriptionClient.handle has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, match/switch 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"a137a4a96a8d3d73319babc96609aea726885462ea463451080b0ca8d828f543"}},{"ruleId":"D2","level":"warning","message":{"text":"AppState.startRecording (cognitive 19): AppState.startRecording has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22aa13966bfcbf9b309a193006e3febc0c4281e69a44a09cf490ebcfbc7d17f"}},{"ruleId":"D2","level":"warning","message":{"text":"AppState.clearHistory (cognitive 19): AppState.clearHistory has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 3, ternaries 2 (3 pts), boolean chains 2, match/switch 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":1675}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dd6f7748308588a6919fdd5c72d92507cde3aa3e36cf409d24376e174e8a02"}},{"ruleId":"D2","level":"warning","message":{"text":"MacAudioProcessingStore.commit (cognitive 19): MacAudioProcessingStore.commit has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), error handling 3 (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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":1782}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a6a14d00d03227dd0a26096ba915d89c41e30ec6d1edf94189dc7d930e1750"}},{"ruleId":"D2","level":"warning","message":{"text":"MacAudioProcessingStore.sameCASState (cognitive 19): MacAudioProcessingStore.sameCASState has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 18, if/else 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":2307}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad53643925e3652a29f42254a6db01186143585aa6951333f3c11bda52fcf9b2"}},{"ruleId":"D2","level":"warning","message":{"text":"MacHistoryAudioDeletion.remove (cognitive 19): MacHistoryAudioDeletion.remove has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 9 (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":"Whishpermate/Whispermate/Services/MacHistoryAudioDeletion.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcf30f0b5d916ab842917363dd1cc0fb3938a5e3a3e8b83120cc5fe9d1cb39b"}},{"ruleId":"D2","level":"warning","message":{"text":"InstallationAnalytics.flush (cognitive 19): InstallationAnalytics.flush has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, error handling 1 (2 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/telemetry/InstallationAnalytics.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0b0d45ddd6bf5c1af5c1170c47b2a27972c6be51aa0859ee28458fe356c5a2"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedTranscriptionService.transcribe (cognitive 18): SharedTranscriptionService.transcribe has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), error handling 4 (8 pts), ternaries 1 (nesting depth added 5). 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":"Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3830b8afe09c50219118df22ef39ac929d8615154581b30f88e596cf4f66b7"}},{"ruleId":"D2","level":"warning","message":{"text":"MacAudioProcessingStore.adoptFinalizedSource (cognitive 18): MacAudioProcessingStore.adoptFinalizedSource has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, boolean chains 3, ternaries 1 (2 pts), error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"99db5b9ed1f01880e795e0a95db679bbda15c6e8b9df4a15264b510f724a1c5d"}},{"ruleId":"D2","level":"warning","message":{"text":"run_configured_gradle.resolved_configuration (cognitive 18): run_configured_gradle.resolved_configuration has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/scripts/run_configured_gradle.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ac30036a269db9c71b087307ec37e38059345fde84e6b7d09e739db24a8162"}},{"ruleId":"D2","level":"warning","message":{"text":"ClipboardService.PasteTextWithResultAsync (cognitive 17): ClipboardService.PasteTextWithResultAsync has cognitive complexity 17 (threshold 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":"AIDictation.Windows/AIDictation/Services/ClipboardService.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3417141ddddf181e27e610b2e0fda26fa629e3ec89d6a6dfc67396de3c7db316"}},{"ruleId":"D2","level":"warning","message":{"text":"HotkeyService.KeyboardHookCallback (cognitive 17): HotkeyService.KeyboardHookCallback has cognitive complexity 17 (threshold 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":"AIDictation.Windows/AIDictation/Services/HotkeyService.cs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f244a6a6d8c1220f586716d25a481396c53f24e873c277c53a05bd5df90b5df"}},{"ruleId":"D2","level":"warning","message":{"text":"AppState.beginLiveTranscription (cognitive 17): AppState.beginLiveTranscription has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":2125}}}],"partialFingerprints":{"codehealthFindingId/v1":"47652198353b686531f41c381759ccc993eda0c473373e77e36450c81630d969"}},{"ruleId":"D2","level":"warning","message":{"text":"MacAudioProcessingStore.transition (cognitive 17): MacAudioProcessingStore.transition has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 6. 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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e307a11c3413c12f8a31ae11b5202daf658d23a4d5817754b601a6b701d3723"}},{"ruleId":"D2","level":"warning","message":{"text":"OverlayWindowManager.screenForFrontmostApplication (cognitive 17): OverlayWindowManager.screenForFrontmostApplication has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/OverlayWindowManager.swift"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"51599ecf433acf6da4816b5f15b2240b04133a0c059afced3ecc73b0f6fce7e5"}},{"ruleId":"D2","level":"warning","message":{"text":"HistorySidebarRow.body (cognitive 17): HistorySidebarRow.body has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 3 (6 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"343035cf3988a54481693df0b12887b6dbbc0f1b7dd4786879bb26f9beda5f47"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptionClient.writeAudioChunk (cognitive 17): TranscriptionClient.writeAudioChunk has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 1 (2 pts), boolean chains 1, loops 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/TranscriptionClient.kt"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a1cd83b4c85585be268a3bfe6f4c7b2e8f66576a93413fe87063fdaa78048c"}},{"ruleId":"D2","level":"warning","message":{"text":"android_overlay_model.env_actions (cognitive 17): android_overlay_model.env_actions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"formal/android_overlay_model.py"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"a513fd0a90414c46a530c94a926d7990ad010dc04a18b22f2d67180a99008d15"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioProcessingStore.AdoptFinalizedCaptureAsync (cognitive 16): AudioProcessingStore.AdoptFinalizedCaptureAsync has cognitive complexity 16 (threshold 15). 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":"AIDictation.Windows/AIDictation/Services/AudioProcessingStore.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33bfcec98ee7c1e32844e18e8fd9ebab7c4a9efb43fc3dc9f770715b55d4329"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioProcessingStore.ScheduleDeletedCleanup (cognitive 16): AudioProcessingStore.ScheduleDeletedCleanup has cognitive complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 1145). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingStore.cs"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f9401ed0fccf75f1356bdedb1ff3ff37b1e532581ff97b76bb8f4aef510735"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyboardDictationLiveActivityView.body (cognitive 16): KeyboardDictationLiveActivityView.body has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 10 (12 pts), if/else 4 (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":"Whishpermate/WhisperMateLiveActivity/KeyboardDictationLiveActivity.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"547fcf5bd54201810a378a102d535127c15c325c7cbf1d3d9d1919c3e93e4e0e"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIClient.chatCompletion (cognitive 16): OpenAIClient.chatCompletion has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 4 (5 pts), boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89b99517707430b0006d1039feabad275f21e315f1f58626a8e9e59f1c94679"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyboardDictationHandoff.publish (cognitive 16): KeyboardDictationHandoff.publish has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 7. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/KeyboardDictationHandoff.swift"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f5c19c7c33f4e410010300be0589125b605b4de12a6ec7e6fb166415ace931"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyboardDictationHandoff.consumePendingCommandEnvelopePersisted (cognitive 16): KeyboardDictationHandoff.consumePendingCommandEnvelopePersisted has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, match/switch 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/KeyboardDictationHandoff.swift"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"60959e0542e4a8e5e0ba43e022d4336257ce60a00a08ef88032e2118af5fe110"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptionProviderManager.init (cognitive 16): TranscriptionProviderManager.init has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 4, ternaries 3 (4 pts) (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":"Whishpermate/Whispermate/Models/APIProvider.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f53b3f5ac48ec034a0f57294248b4a5ecd35c4a8c16ca01c82da50713d6d8a"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioRecorder.calculateRMS (cognitive 16): AudioRecorder.calculateRMS has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 3 (6 pts), match/switch 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":"Whishpermate/Whispermate/Services/AudioRecorder.swift"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6acd8e3d8f775a90b9a6fc05d6abc9c43d8a46ebfd51a44708c1f4c59dd93d"}},{"ruleId":"D2","level":"warning","message":{"text":"MacAudioProcessingStore.salvageFinalizedPartial (cognitive 16): MacAudioProcessingStore.salvageFinalizedPartial has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 6. 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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"759fe8e53b17a43794719abcdc7a1eb72f330014bb3b146d0917b8fde2806793"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIClient.chatCompletion (cognitive 16): OpenAIClient.chatCompletion has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 4 (5 pts), boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/OpenAIClient.swift"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f392864548d8400b00accb1e679dafcc51dac399c9eccc545a704c30d5bb1b"}},{"ruleId":"D2","level":"warning","message":{"text":"OverlayWindowManager.transition (cognitive 16): OverlayWindowManager.transition has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, match/switch 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/OverlayWindowManager.swift"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"1030246bc6ed014aa52b78a54606e665b12d53dd64bf15ac81640ddf62d4d989"}},{"ruleId":"D2","level":"warning","message":{"text":"SonioxRealtimeTranscriptionClient.handle (cognitive 16): SonioxRealtimeTranscriptionClient.handle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), match/switch 2 (3 pts), ternaries 1 (3 pts), error handling 2 (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":"Whishpermate/Whispermate/Services/SonioxRealtimeTranscriptionClient.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"88493cac1c0af3f243e75dce54cb2e89ddb98a4641a471180d2487cfb3054ba1"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingOverlayView.body (cognitive 16): RecordingOverlayView.body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"Whishpermate/Whispermate/Views/RecordingOverlayView.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"110ceec799142efdd2f446c5df92179fe394a0576b55e658eb665b3c31287e79"}},{"ruleId":"D2","level":"warning","message":{"text":"DictionaryEntryRow.body (cognitive 16): DictionaryEntryRow.body has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 4 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bde0d9fda18641688ff0bc3ce21b0f309c92cb160aa9745e49a308a0d9ad397"}},{"ruleId":"D2","level":"warning","message":{"text":"MainScreenKt.HistoryTab (cognitive 16): MainScreenKt.HistoryTab has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), match/switch 4 (8 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainScreen.kt"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cd86840398b24fb8edbdaa3278d36316bcf41af28a279c5be8649ea63e68e0"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingSheetKt.RecordingSheet (cognitive 16): RecordingSheetKt.RecordingSheet has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/recording/RecordingSheet.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9e57c9824296872d92ad1b0c4fc71afb344d6c854937d7ed20bc036b3db206"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppState: ClassTooLong \u2014 2867 significant lines (blank, comment-only and punctuation-only lines excluded), 84 methods. The bar is 400 significant lines; this is 2467 over it, 7.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"363398ac49599d581f1011c0f77f3a6968784e9bfafd5cbd04bac61105a0a2db"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Contract.VerifyCoordinatorDeadlineRacesAsync: MethodTooLong \u2014 VerifyCoordinatorDeadlineRacesAsync runs 666 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 566 over it, 6.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":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1904}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fd0a3e9256b9eec9c6f74a9f12f9619e5b9409fdbbfcd89b65edcd3259e3f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: WhisperMateIOS/ContentView.swift: FileTooLong \u2014 3195 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2695 over it, 6.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce23ffd32a5115b8319f214035aace869a4be6895310b20118e3036ca9249a3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/AppState.swift: FileTooLong \u2014 3030 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: AppState (16-3871). The bar is 500 significant lines; this is 2530 over it, 6.06\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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ecf1fca88cd7de8cec7bfd76478e88c514cdd4cbd7fccc01ab3aac56ba6c2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: RecoveryContract/Program.cs: FileTooLong \u2014 2973 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2473 over it, 5.95\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a0ee0cfb284ed924f10a2ff4be84d41311e81879333f9e452ee1ee39cc3af2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Contract: ClassTooLong \u2014 2284 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 1884 over it, 5.71\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc16ec61a1ec42574608e0795f9002fe59bbf8050a14de394af46b10e9ccecc4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/MacAudioProcessingStore.swift: FileTooLong \u2014 2503 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2003 over it, 5.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6321b545d8e6aa42d894307e4e441af580fdf02e7d00608a7c32057e4d0c9e68"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Contract.VerifyDurableStoreAsync: MethodTooLong \u2014 VerifyDurableStoreAsync runs 495 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 395 over it, 4.95\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":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b99924d3358164bd349cfefbd8273b19564348f6fa0f6a7d17b8d982f73d7fe"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OverlayDictationAccessibilityService: ClassTooLong \u2014 1894 significant lines (blank, comment-only and punctuation-only lines excluded), 126 methods. The bar is 400 significant lines; this is 1494 over it, 4.74\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c023df3f3939c58a7206105983da58434446989803e67040c85b1e9fbd53bee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/MobileAudioProcessingStore.swift: FileTooLong \u2014 2216 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1716 over it, 4.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c6599003fb3838791a0f7d4ca93258d68188942b47ef643b1a3deedb727432"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OverlayDictationAccessibilityService: TooManyMethods \u2014 126 methods. The bar is 30 methods; this is 96 over it, 4.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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d601e4c624aedb1b0d66ac23e9ac49369cafc811b8b0494f4e017f14fe2e97"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/OverlayDictationAccessibilityService.kt: FileTooLong \u2014 1999 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: OverlayDictationAccessibilityService (161-2916). The bar is 500 significant lines; this is 1499 over it, 4.00\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"585d8d673e717d8ce8ab9e58a2efdc71959dc07c186c379b56d3d4c298612bd5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ContentView: ClassTooLong \u2014 1310 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. The bar is 400 significant lines; this is 910 over it, 3.28\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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b456a0d649a64f853ec35eab0df65fc1d7956c3660ce23dd127d4b68d34075"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KeyboardDictationHandoff: ClassTooLong \u2014 1260 significant lines (blank, comment-only and punctuation-only lines excluded), 73 methods. The bar is 400 significant lines; this is 860 over it, 3.15\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":"Whishpermate/WhisperMateShared/Services/KeyboardDictationHandoff.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f4184f9c48a2ff178578c87a6c5c07559b6b96bc135503330fb48e61cfa7a1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MobileAudioProcessingStore: TooManyMethods \u2014 94 methods. The bar is 30 methods; this is 64 over it, 3.13\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":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0f037bd4b32e4bd43dadd449283aecbc688e658b3dd58ff03c4112dc125d43"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SettingsView: ClassTooLong \u2014 1155 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 755 over it, 2.89\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":"Whishpermate/Whispermate/Views/SettingsView.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a068fdf2c22b75f035a719ba827e678cb1a21d6a596a39a3fb634e348f02179"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AndroidAudioProcessingCoordinator: ClassTooLong \u2014 1150 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 750 over it, 2.88\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"927b941cd946415e4526e84936ad5ae52ef2f171db1b60c0818f60f21fdaa914"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/AudioProcessingCoordinator.cs: FileTooLong \u2014 1433 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 933 over it, 2.87\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"575d55d9e8193c30faf6e24dfce152f16e436d87557bea993233bcd5f98201a7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RecordingSheetView: ClassTooLong \u2014 1131 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 731 over it, 2.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/RecordingSheetView.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d21b074d2daf03157eeeb46bd670ed79679e1543ff020ea10e525ea842f45d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppState: TooManyMethods \u2014 84 methods. The bar is 30 methods; this is 54 over it, 2.80\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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5677e30cbb49f043dda95e7fcca2b77445d354d3d18cc073136544d4c57e71"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: InlineRecordingCoordinator: ClassTooLong \u2014 1100 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 700 over it, 2.75\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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":2732}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4e4e5b31e3ff47b1422d8644eed6a170b43d38b3547f84797da4f43bb437da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/SettingsView.swift: FileTooLong \u2014 1335 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: SettingsView (118-1847). The bar is 500 significant lines; this is 835 over it, 2.67\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":"Whishpermate/Whispermate/Views/SettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"827e305d3a8a685c0e7fd25a23f27528fb59c3c72905f7c409e2a75b6841f2bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/AndroidAudioProcessingCoordinator.kt: FileTooLong \u2014 1309 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: AndroidAudioProcessingCoordinator (196-1726). The bar is 500 significant lines; this is 809 over it, 2.62\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2554a994894079891eb4ef4bfb34628505e284be5bb3cbcf1a60c6ca3c61b784"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/KeyboardDictationHandoff.swift: FileTooLong \u2014 1264 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: KeyboardDictationHandoff (12-1803). The bar is 500 significant lines; this is 764 over it, 2.53\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":"Whishpermate/WhisperMateShared/Services/KeyboardDictationHandoff.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ea0036fe985a4ce54ae7d0d54f29d09b333af041a2854fca90992e36cacb24"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MacAudioProcessingStore: TooManyMethods \u2014 75 methods. The bar is 30 methods; this is 45 over it, 2.50\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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb56c10f9b826e807fe4f3f8c9bb992eac559f2573ad1b78e9b8c5b4cca38e77"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Contract.VerifyHttpMatrixAsync: MethodTooLong \u2014 VerifyHttpMatrixAsync runs 247 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 147 over it, 2.47\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":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d0699c7e3f846f1829dc39822cb88d23b43a1390e1c7fefd27aa96b6c99412"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: onboarding/OnboardingScreen.kt: FileTooLong \u2014 1207 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 707 over it, 2.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf03ad960b215bbe43d654e8f7f94c046915e5f3143d3916a1299fc588c69ecb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: WhisperMateIOS/RecordingSheetView.swift: FileTooLong \u2014 1199 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: RecordingSheetView (6-1517). The bar is 500 significant lines; this is 699 over it, 2.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":"Whishpermate/WhisperMateIOS/RecordingSheetView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3723f8f9abb05d678de95a3278f8de0ce75779ea2c2790642cd2b17b51b64dcd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppState.handleRecorderFinalizationTerminal: MethodTooLong \u2014 handleRecorderFinalizationTerminal runs 238 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 138 over it, 2.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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51848020b9e95a34db0c4f1f7bb338375d73cdaf4dad7f7e22e68fa1da6f7df"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OnboardingView: ClassTooLong \u2014 938 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 538 over it, 2.35\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Views/OnboardingView.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca0af012ad30170defadbec13b453992e0d876994ba29ea2d5f2669f8cee41f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/AudioRecorder.swift: FileTooLong \u2014 1132 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: AudioRecorder (6-1174). The bar is 500 significant lines; this is 632 over it, 2.26\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":"Whishpermate/Whispermate/Services/AudioRecorder.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8cb15fe2df2722cdf139aff2a4388c9495187b0fdeb8e4d5c4b6d0f01ca110"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/OnboardingView.swift: FileTooLong \u2014 1066 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: OnboardingView (4-1338). The bar is 500 significant lines; this is 566 over it, 2.13\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":"Whishpermate/Whispermate/Views/OnboardingView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b61c79a09860035b287ce2189af7feb6ef86750c7d905389c3d3f286cd4b636"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/AudioProcessingStore.cs: FileTooLong \u2014 965 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 465 over it, 1.93\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingStore.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e15f52662865f2f998653c917f02ba64a19c278036c59c4e73b64e8a463ce42"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AudioRecorder: ClassTooLong \u2014 771 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 371 over it, 1.93\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":"Whishpermate/Whispermate/Services/AudioRecorder.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d02930627d894c8e7d6b2c16b80de046cbe845d37321105ecade4140896ebbe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AudioProcessingCoordinator.StartCaptureAsync: MethodTooLong \u2014 StartCaptureAsync runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"186595f0077f50c1480d54b5beffdc3d9324375c08770a72793f418a19d0f3b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: App: TooManyMethods \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 30 methods; this is 27 over it, 1.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b615242ce2ac817ae3893d2afe9ac85a7b21f627993ee8766db4548548307b9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KeyboardViewController: ClassTooLong \u2014 739 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. The bar is 400 significant lines; this is 339 over it, 1.85\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":"Whishpermate/WhisperMateKeyboard/KeyboardViewController.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ba4933a29ed2a33146aef00b6b96ef749fd33fd86123bf1bd59ca50720af56"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InlineRecordingCoordinator.transcribeAudio: MethodTooLong \u2014 transcribeAudio runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3679}}}],"partialFingerprints":{"codehealthFindingId/v1":"083fbdd9d5a1f1afeca44506647e1d752c39ea28661897bcf4be773c48958b77"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AndroidAudioProcessingCoordinator.retry: MethodTooLong \u2014 retry runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d7b1c77a3b1d1f53c59cfcb6530f0f457add31c9380b547b995a5b0741927b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SettingsViewModel: TooManyMethods \u2014 436 significant lines (blank, comment-only and punctuation-only lines excluded), 53 methods. The bar is 30 methods; this is 23 over it, 1.77\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":"AIDictation.Windows/AIDictation/ViewModels/SettingsViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc4dc85416ee80cad9502f6b938ca95deced5763bd42356f5decf453b5c5b81"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OverlayWindowManager: ClassTooLong \u2014 696 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods. The bar is 400 significant lines; this is 296 over it, 1.74\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":"Whishpermate/Whispermate/Services/OverlayWindowManager.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cb1d69b21b17455a5260c81adf29c2230fd2eb120bdc2189c8491ae4879b79"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KeyboardViewController: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 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":"Whishpermate/WhisperMateKeyboard/KeyboardViewController.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"0219c9e69948c07ce9205e140c8f1ebb1ffdb471ad7b1fe9f77fd9253ba622e2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MobileAudioProcessingStore.normalizeInterruptedAttempts: MethodTooLong \u2014 normalizeInterruptedAttempts runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\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":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61b9c18ce04c5bb4a617e9e1487477ec40b8d2ae9b109e85322933e46739780"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AudioProcessingCoordinator: TooManyMethods \u2014 1399 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d663d063e03dc090f7ba7f9f460e5c264d8e7838143e57316b6a90cb1d037e29"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HotkeyManager: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/HotkeyManager.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0ab0fbf8a77dcbce03da78fd30e0ea57163aa48e9aae8654949a7a57af92e9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OverlayWindowManager: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/OverlayWindowManager.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ed20b5b1bac4a075b1b211c625cf192210e83bd572ee9f9440659130717522"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AudioRecorder: ClassTooLong \u2014 663 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 400 significant lines; this is 263 over it, 1.66\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":"Whishpermate/WhisperMateShared/Services/AudioRecorder.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a8c40a895f099df88dea2977aedc04a54ce267c63ca0b0dfb13c8cbf780ffb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AudioDeviceManager: ClassTooLong \u2014 648 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 248 over it, 1.62\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":"Whishpermate/Whispermate/Services/AudioDeviceManager.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcfc14361d96730eaf06533cdbd81cdfd7cf3bd242c0f1166dce5f017986317"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingSheetView.transcribeAudio: MethodTooLong \u2014 transcribeAudio 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":"Whishpermate/WhisperMateIOS/RecordingSheetView.swift"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"26794a2116475671924aaa5409249edadbe456140bfd81929e9f135ed8463beb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HotkeyManager: ClassTooLong \u2014 624 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods. The bar is 400 significant lines; this is 224 over it, 1.56\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":"Whishpermate/Whispermate/Services/HotkeyManager.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a231b0fdec3289002f1082c5c55e2d7baae7a2242a35a20ac832b934ef662104"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Contract.VerifyFinalizedAdoptionRecoveryAsync: MethodTooLong \u2014 VerifyFinalizedAdoptionRecoveryAsync runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\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":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb110823e9fd54f19a177c1540a25bba0f1d2672713ea3fe3d23f760662aa5b9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OnboardingScreenKt.ButtonDemoStep: MethodTooLong \u2014 ButtonDemoStep 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"480652ed231974b6c51bbfeba9d66ecf1720d201e7fa5ace7a3d70411ea4bc66"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContentView: 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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"368367b372656fa8a33b3db4dafcfc4841f54c290f6b7379370c641ad41fe7d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: formal/mac_audio_store_model.py: FileTooLong \u2014 765 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 265 over it, 1.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"formal/mac_audio_store_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cc3a93baab57ed61c4827fcd7b83117090e8cb563359a53f2febdcee1e60a7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppState.runRetranscription: MethodTooLong \u2014 runRetranscription runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a2211f43696ecbbcb4df960e86c3f54b488e794017d387bccf53342b2d88c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/AudioRecorder.swift: FileTooLong \u2014 763 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: AudioRecorder (46-1037). The bar is 500 significant lines; this is 263 over it, 1.53\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":"Whishpermate/WhisperMateShared/Services/AudioRecorder.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76059dcf2ed2745b3191c3597d13129cd44e30d20c2c6cdf03857a6fd760bb31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/OverlayWindowManager.swift: FileTooLong \u2014 756 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: OverlayWindowManager (89-1162). The bar is 500 significant lines; this is 256 over it, 1.51\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":"Whishpermate/Whispermate/Services/OverlayWindowManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe5bc852c41c3033497485d09c81020cc79a898c6dffe9c249315270987bfdf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Components/TranscriptionSettingsView.swift: FileTooLong \u2014 744 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 244 over it, 1.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a54d8cf68bab729580be37a269b62db620e40d9f695f8172fe9248f0ab9848a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: WhisperMateKeyboard/KeyboardViewController.swift: FileTooLong \u2014 742 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: KeyboardViewController (5-1059). The bar is 500 significant lines; this is 242 over it, 1.48\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":"Whishpermate/WhisperMateKeyboard/KeyboardViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91a737df4b0dc45e846e2d965fde9063665ff34bb8ac6cc1b280ca8c6af9d01"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Contract.VerifyDeferredDeletedCleanupAsync: MethodTooLong \u2014 VerifyDeferredDeletedCleanupAsync 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":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1c3893c6c41e4f4b206000354b893bab4b0c36165c3f907b9cabe4e96c0212"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AndroidAudioProcessingCoordinator.stopCapture: MethodTooLong \u2014 stopCapture runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce242cbce6979fae22e9f0dc4086c6f10c191e87de685e8996abe69f8c64798d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsView.accountSection: MethodTooLong \u2014 accountSection runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Views/SettingsView.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"923ec3f302e2522eeb2dca5da89aa91c9fd9fb3191235c6da743e7a6e99b4dd0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AudioProcessingStore: TooManyMethods \u2014 875 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingStore.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7353f5172a7e0fe2f665044c054af9437c4653c6ca23c52afab57418cc700e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/HotkeyManager.swift: FileTooLong \u2014 715 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: HotkeyManager (6-1036). The bar is 500 significant lines; this is 215 over it, 1.43\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":"Whishpermate/Whispermate/Services/HotkeyManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cea601db68b7af3cf20c75a092645abfed5a6a59e572d7089b13ff828e95561"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InlineRecordingCoordinator.beginRecording: MethodTooLong \u2014 beginRecording runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3288}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d96a33635aa3fcc11cf3f0b147a48532a7488beedfd2db9463e87eb4749c9b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/OpenAIClient.swift: FileTooLong \u2014 708 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: OpenAIClient (224-1031). The bar is 500 significant lines; this is 208 over it, 1.42\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":"Whishpermate/Whispermate/Services/OpenAIClient.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1336c34cc166bcbf183ee0575ef15164c2e04adc0816a19f0c80c2320283b04e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: formal/android_overlay_model.py: FileTooLong \u2014 693 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 193 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"formal/android_overlay_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77fcbf1bea1eb11acf8504ea247465f88094a7077234bfcc8a8c949ed1cbb41"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InlineRecordingCoordinator.stopRecording: MethodTooLong \u2014 stopRecording 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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3498}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e35f74b68b7ea8ccb00fec7ff2d3085c48711ce818d66c547ac1cc1b7d825d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OpenAIClient: ClassTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 148 over it, 1.37\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":"Whishpermate/Whispermate/Services/OpenAIClient.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"70836b1926ba16ce6e7e8155d0dff7e0b6698da1daae49d802c0af68cf8a4228"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/AudioRecorderService.cs: FileTooLong \u2014 673 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 173 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4a11a3fa47f03654d2db1ccd6936588208cf9bc7c19be59a6bd2d4c340e247"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AudioRecorderService: TooManyMethods \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 30 methods; this is 10 over it, 1.33\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":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f3c2addb9cdebcbcdf740ff1d0fbf08c132aa6eb35b666c12757dcd3b8d68c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppState.executeTranscriptionAttempt: MethodTooLong \u2014 executeTranscriptionAttempt 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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":2241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7477f43e5c90658616ef177095bdf0b57e61014f5ad6c68d0579460038c997a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsView.generalSection: MethodTooLong \u2014 generalSection 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":"Whishpermate/Whispermate/Views/SettingsView.swift"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ced5d0f0bc4d2a001480d405d20f725798347bcc7be85b5796bd19ea12317ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/AudioDeviceManager.swift: FileTooLong \u2014 664 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: AudioDeviceManager (10-1003). The bar is 500 significant lines; this is 164 over it, 1.33\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":"Whishpermate/Whispermate/Services/AudioDeviceManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5d02a6061f5db53addad2aebbe7762a0b785937029880ace64966a8517d5e0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AuthManager: ClassTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 129 over it, 1.32\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":"Whishpermate/WhisperMateShared/Services/AuthManager.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac443446ccedac38a30e97dee6b9b2ffc82bc62ee0afa90961f5182ee16790b5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AudioProcessingCoordinator.StopAndTranscribeAsync: MethodTooLong \u2014 StopAndTranscribeAsync runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd332bf761e3320ea38f28bd3a2628cff591f9d131f8ffa62ff96b325145300"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AudioProcessingCoordinator.RunRecognitionAsync: MethodTooLong \u2014 RunRecognitionAsync runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5328b7285f1b7ee1dab1e2ae4f2fa2247f0b2d2b97c8d373c953cb06e3049c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AudioRecorder.start: MethodTooLong \u2014 start runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/util/AudioRecorder.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d901d5a4d4ad517d2ee055fd0d9122f01be04ed25de44b22ec9d1f8645c698"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AudioRecorder: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\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":"Whishpermate/WhisperMateShared/Services/AudioRecorder.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef65d608349eda13e45333e1912b988d6fe672e6996b2e196dc5b478ae521547"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppState.startRealtimeTranscriptionIfAvailable: MethodTooLong \u2014 startRealtimeTranscriptionIfAvailable runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":2763}}}],"partialFingerprints":{"codehealthFindingId/v1":"47dc62e4b1f091514da0ceed6e00009adf9fffc6cecdc8498b3c230d2afa0046"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TranscriptionResult: ClassTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 118 over it, 1.30\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/TranscriptionClient.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"469ef4ecbd6a3c1189a107fa31e587eb399f60b489ac42df03512219e807c62a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AndroidAudioProcessingCoordinator.startCapture: MethodTooLong \u2014 startCapture 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"be03b6af09192d0ac1de038fe24e41f44ee854b0323e362df916dd4dab2404fe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppState.finalizeRecording: MethodTooLong \u2014 finalizeRecording runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2b4a2728c7b75a13deebd9aeb956a92e88bc229a0a29020e281f85fc9756af"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AndroidAudioProcessingCoordinator: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9a4606707ffcd45de8289b8ef356581ca15c995bba6f99ab029f802dd7ce7b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AudioDeviceManager: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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":"Whishpermate/Whispermate/Services/AudioDeviceManager.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb50503945818159b42da40c5b7551f29315eec0a873c559ae5defc281526fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Whispermate/WhispermateApp.swift: FileTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 130 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/WhispermateApp.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7588da2e6ab98ea6ff615c8b8069a217cd04573682efaca38a24f7bf70b63f0d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SharedTranscriptionService: ClassTooLong \u2014 494 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 94 over it, 1.24\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":"Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc98bd4760ba2751a0497f71069cdc04952f679386d2b583a7b97e74dfa9591"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AuthRepository: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/repository/AuthRepository.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2140d0d1a55bf089df500708f0d079d03501fa98613466e7ca42b51bbe7bbbe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: transcription/TranscriptionSettingsScreen.kt: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 115 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1866d9321403fa769a2a3ab5f5099fff1e5946f15146423cc3398f13f88696"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OpenAIClient: ClassTooLong \u2014 491 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 91 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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4dd3a13f56f431bd1251d46f07852a1df3380fa9b11bb063978d492ac011d34"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ClipboardManager: ClassTooLong \u2014 487 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 87 over it, 1.22\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":"Whishpermate/Whispermate/Services/ClipboardManager.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdd57d35da6702425e0bad13e780a906b29bf78a8e5d2ca47356ee5d5d4fe41"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/AuthManager.swift: FileTooLong \u2014 607 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: AuthManager (55-852). The bar is 500 significant lines; this is 107 over it, 1.21\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":"Whishpermate/WhisperMateShared/Services/AuthManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"768265ed07117b8b71eed73671667f9c8050a7ec3e08826e24fb4b4be1f561a6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AudioProcessingCoordinator.ShutdownCoreAsync: MethodTooLong \u2014 ShutdownCoreAsync runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6088f3c49aa7863e8660a56004b7fda4b497f77d4533ea8f9858ca0fb6d9bd6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AndroidAudioProcessingCoordinator.processRecognition: MethodTooLong \u2014 processRecognition runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79af5768a5ca6e52a689d706d79ae64701b703da0a925363c51ddffad92d449"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/SettingsScreen.kt: FileTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 99 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/settings/SettingsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8419c41cb5ddbd125b04f2fcf132ad8b6131513b0c4d2fbabd35409d2bd101"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AndroidAudioProcessingCoordinator.cancelCapture: MethodTooLong \u2014 cancelCapture runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"08824410e6c9195aa347330cb955916e1d68dfa5491abfe5ffaf4eacddcf138c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: AIDictation/App.xaml.cs: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 70 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e931a71c222cfacfa5b2c0145ad1b1a53db247d8fa9bc7b0138a55b35504400f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/SharedTranscriptionService.swift: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: SharedTranscriptionService (3-666). The bar is 500 significant lines; this is 70 over it, 1.14\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":"Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eee9e66ea82371e5ab850a128343d50cdc7f93660818abbc57f5c4247108320"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContentView.settingsView: MethodTooLong \u2014 settingsView 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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"3568f2ed66ad23706468c509ccd3e1087e366c8c92e901aa9126c232a2e23324"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Contract.VerifyCapturedContextAndGenerationResetAsync: MethodTooLong \u2014 VerifyCapturedContextAndGenerationResetAsync 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":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"2533e65d2b76f705c18217bc99d87259e1959771c2a99a9f0a42434dd2493c0e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingSheetKt.RecordingSheet: MethodTooLong \u2014 RecordingSheet runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/recording/RecordingSheet.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd0938065bab503b35f415c7be7990db7552308a02196aa0d96104bc3ca9a12"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingRow.body: MethodTooLong \u2014 body runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Views/HistoryView.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1dfb939c8ec03e6470a3f69ac7156cb7208449aac91176d276cd3970bcab59"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: remote/TranscriptionClient.kt: FileTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: TranscriptionResult (46-755). The bar is 500 significant lines; this is 55 over it, 1.11\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/TranscriptionClient.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a732d7e16a750954699b1313bfb145f1aba765cc8f108fb36f21d5fc1025afb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/OpenAIRealtimeTranscriptionClient.swift: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 52 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafddcbcd2bd51806c8e2f8e9889c5b3cee0d2b01133ebfe11ad2f02abc05198"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/RecordingOverlayView.swift: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: RecordingOverlayView (4-648). The bar is 500 significant lines; this is 52 over it, 1.10\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":"Whishpermate/Whispermate/Views/RecordingOverlayView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e410210204f00eaf0617df7cfe561594850f9c2f945bedf88141a3fbac21d269"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FakeCoordinatorStore: TooManyMethods \u2014 349 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 30 methods; this is 3 over it, 1.10\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":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f1bc9012fe05bf37fe7abd2fd9ca2ad53ec9828a7fd4d58ef55bd1f318e11a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RecordingSheetView: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\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":"Whishpermate/WhisperMateIOS/RecordingSheetView.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e141526e3ff23bf2b2530f490f7bf96a343843d5287377b922adfeb3f706d59f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MobileAudioProcessingStore.validateSnapshotLayoutLocked: MethodTooLong \u2014 validateSnapshotLayoutLocked runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":2232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddeca8796852eb22c51c2b9cb291934389f8962c5aa22bedb92ec688560c5c0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ViewModels/SettingsViewModel.cs: FileTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 49 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/ViewModels/SettingsViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80372e3c16e13b0fca869f391cf6549e4db7b85a5bd6d88ce0010895c1d56939"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RecordingOverlayView: ClassTooLong \u2014 439 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 39 over it, 1.10\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":"Whishpermate/Whispermate/Views/RecordingOverlayView.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e0a9db849c30c07281067e42daa7572bd7705a9ab738182ac9429acbfb1337"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MacAudioProcessingStore.finishFinalization: MethodTooLong \u2014 finishFinalization runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"5536fb2aef45a01ca3bab03bcf745cfab2c9aa2a094847af203db4f63d2177d7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AudioProcessingCoordinator.RetryAsync: MethodTooLong \u2014 RetryAsync runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c35fe115c89ab3da9245bca9cb083384228871e9c229dc8f76e09f0126dedb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OverlayDictationAccessibilityService.startRecording: MethodTooLong \u2014 startRecording 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c22fa5fdae5b13a425b45c9afbe1c52bf4f3d7bb4a91b58f72f5b49d463412"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AuthManager: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/AuthManager.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbcb416cb2ca0d3535bb7ee286d692eecf92717dd88d4d82a9979075c9a5e68"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AudioRecorder: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AudioRecorder.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fbd51ad169f3dc3845833f93a27bdb4cb0222ce3f22112201210692feb11f9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppState.handleRecorderStartTerminal: MethodTooLong \u2014 handleRecorderStartTerminal runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9ab65dcaa1f77a8d2cb99f53491b9e27dceeca4af7de100a854a181676cd25"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppState.makeTranscriptionAttemptSnapshot: MethodTooLong \u2014 makeTranscriptionAttemptSnapshot runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":3121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a5a01114d58dd5a39656eab85dd9190391002c739b6daa4d7d2e91a96407cf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OverlayMicButtonView: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/OverlayMicButtonView.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c1d8843c520bd3cea96594cf2013ab31f1dab6bbddac3ee81194bb64b7f6b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Networking/OpenAIClient.swift: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: OpenAIClient (32-772). The bar is 500 significant lines; this is 14 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a4309dfababd5822f3da5132869e59f3e9f2ff7d3ca70b27f0d732a96b51ab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsView.transcriptionSection: MethodTooLong \u2014 transcriptionSection runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.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":"Whishpermate/Whispermate/Views/SettingsView.swift"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1be27abf07f4f1cc1c58379a892a74c9a4b1eb84cbfea38a164acc40fdd42c5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SileroVAD.analyzeAudio: MethodTooLong \u2014 analyzeAudio 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":"Whishpermate/Whispermate/Services/SileroVAD.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26aed604fb113a24a0ae2440eb1a8aa38c3e6acd73569fdc947630408e2a313"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AuthRepository: ClassTooLong \u2014 403 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 3 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/repository/AuthRepository.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cdc5911af141646e8177173e3bd44eee2601c63285aae54e5fe36e27f2c5c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (91 shared lines): Whishpermate/WhisperMateIOS/ContentView.swift:3679-3902 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:904-1104 \u2014 These two members are variants of one another: 91 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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3679}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fb321f3260fb2b94bf0337c73616a0a871cb25f800b72a813cba2c41fbdf57"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (85 shared lines): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:111-225 | Whishpermate/Whispermate/Services/OpenAIClient.swift:294-424 \u2014 These two members are variants of one another: 85 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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b2773a1569b081bed0f60e902116de7df8703e8af4cc2c7aca7ce456f48d85"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (55 shared lines): Whishpermate/WhisperMateIOS/ContentView.swift:3498-3677 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:782-902 \u2014 These two members are variants of one another: 55 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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3498}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bbd1996df517ebc8b7329a7325b478b1322f74b5d5fe4e7ba43705c7f1316a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (45 shared lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/CommandClient.kt:46-124 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/CommandClient.kt:141-223 \u2014 These two members are variants of one another: 45 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/CommandClient.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2a91aef4fbcadfa2257e897b408481a4bf7864a0e5702b5260e4b4e260c5e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:693-719 | Whishpermate/Whispermate/Services/OpenAIClient.swift:942-972 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9219f143db5b8c04bdc84ae5f638bd4145ce0c95d2b039d9673963a53600303"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Whishpermate/WhisperMateShared/AudioVisualizationView.swift:345-365 | Whishpermate/Whispermate/Views/RecordingOverlayView.swift:755-775 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/AudioVisualizationView.swift"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"1185a6211b2ad4d001066ab818f11d0825774c47eade29c21fd2bfecde263bc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift:106-119 | Whishpermate/Whispermate/Services/SentryTelemetry.swift:165-178 \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":"Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2573617a869a650c3a3c4c9ce595c2a5ca35d516c951ff4775d7104e62fe883"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): Whishpermate/Whispermate/Views/SettingsView.swift:376-584 | Whishpermate/Whispermate/Views/SettingsView.swift:806-1010 | Whishpermate/Whispermate/Views/SettingsView.swift:1014-1094 | Whishpermate/Whispermate/Views/SettingsView.swift:1211-1349 | Whishpermate/Whispermate/Views/SettingsView.swift:1387-1474 | Whishpermate/Whispermate/Views/SettingsView.swift:1623-1730 | Whishpermate/Whispermate/Views/SettingsView.swift:1732-1742 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Views/SettingsView.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"659f22537f2b5b631521c6f1643fb2f37f10099a701ff8ed06fcd631341c3a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Whishpermate/WhisperMateShared/Services/DebugLog.swift:21-30 | Whishpermate/WhisperMateShared/Services/DebugLog.swift:33-42 | Whishpermate/WhisperMateShared/Services/DebugLog.swift:69-78 | Whishpermate/Whispermate/Services/DebugLog.swift:27-36 | Whishpermate/Whispermate/Services/DebugLog.swift:39-48 | Whishpermate/Whispermate/Services/DebugLog.swift:78-87 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/DebugLog.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"188bdad9b9b4a58d12bd76112fd8d9620d60e4f47c33148e02d639d890e64ffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:50-119 | Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:121-167 | Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:169-214 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:46-105 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:107-157 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:159-209 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"60045e884ec9d2d1550cf05f7a63fd4ede1ee1ded694a1922c23784f68112f8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Whishpermate/WhisperMateIOS/OnboardingView.swift:149-171 | Whishpermate/WhisperMateIOS/OnboardingView.swift:173-223 | Whishpermate/WhisperMateIOS/OnboardingView.swift:225-270 | Whishpermate/WhisperMateIOS/OnboardingView.swift:272-293 \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":"Whishpermate/WhisperMateIOS/OnboardingView.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc9ad6d79ffc8a18dcc133b980a146a013cf99ded7084fcf4dcebe0fa21eceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:227-327 | Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:545-627 | Whishpermate/Whispermate/Services/OpenAIClient.swift:426-568 | Whishpermate/Whispermate/Services/OpenAIClient.swift:786-869 \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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"affbb0b964f16e7d5566b3ec8063fab81a78f9e4ced4f77b8901fda8131863fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:1871-1878 | Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:1880-1887 | Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:2750-2758 | Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:2760-2767 \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":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":1871}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d07a746fc469fdd2f738117cbe422d2995b2f169a4a293911d8257bdf8f49a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:120-233 | Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:610-700 | Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:963-1068 | Whishpermate/Whispermate/Views/SettingsView.swift:1858-1903 \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":"Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42180059cfd95a5098760504d605305fe81f60c91c0c0dc69ffe52f02e99f35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): Whishpermate/WhisperMateShared/Services/AudioRecorder.swift:1053-1104 | Whishpermate/Whispermate/Services/FrequencyAnalyzer.swift:27-96 \u2014 These two members are one piece of code written twice and then edited apart: 52 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":"Whishpermate/WhisperMateShared/Services/AudioRecorder.swift"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"9281ed96685dbd6f1626e45bdfe3645a7b1544195abfda500f906c32aee1ebba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt:205-297 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt:566-646 \u2014 These two members are one piece of code written twice and then edited apart: 81 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d1e94c18bdd81b2f9899be920078f6c351ad342fe44e3f9a7ecbf9e9682798"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:43-106 | Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:888-949 \u2014 These two members are one piece of code written twice and then edited apart: 62 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":"Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfbeb71b75b63ae56c5b24efa28e6fc732350cb5b3ba1920bd99ee70d2ec740"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:468-520 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:453-505 \u2014 These two members are one piece of code written twice and then edited apart: 53 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":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff87920c79717e9949709af48ab70616715f031ce4bf863e4ce644daa518d06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:389-438 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:374-423 \u2014 These two members are one piece of code written twice and then edited apart: 50 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":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e122a97ee64a61228a8a5a724704cea3d491655698cff4e103ec129dd4de56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:632-690 | Whishpermate/Whispermate/Services/OpenAIClient.swift:874-939 \u2014 These two members are one piece of code written twice and then edited apart: 59 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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e279ae12b0fb1b83c18330505f83367c6ecdcf203d747c28300e370bd2e06af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:731-793 | Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:811-873 \u2014 These two members are one piece of code written twice and then edited apart: 63 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e654ba4c6d34fd4adc0db5e8cdebb38366a5424929eb93276db91cced7538fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:2693-2735 | Whishpermate/WhisperMateShared/Storage/HistoryManager.swift:461-523 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":2693}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adaeb35b1333d76b75963e38bda54ebaca5d6b702f9e01a2769de0bbc091101"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): Whishpermate/WhisperMateShared/Managers/ContextRulesManager.swift:283-318 | Whishpermate/Whispermate/Services/MacTranscriptionAttemptSnapshot.swift:64-91 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Managers/ContextRulesManager.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b032e0ed64e490d8d17835200ca5773031750fff5fa48282a97f81d3b8bf5c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): Whishpermate/Whispermate/Services/AppState.swift:1603-1673 | Whishpermate/Whispermate/Services/AppState.swift:1675-1744 \u2014 These two members are one piece of code written twice and then edited apart: 70 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33dbf591db3ae62d55d76f171caf4d98332f96bc0c37b031111e94c436dd6d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 55\u002B corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt:1261-1315 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt:1401-1469 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/settings/SettingsScreen.kt:645-713 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 55 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95534628880a8c313eb17fc643cba035bf0856f47082e29102234aeccb87b4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): Whishpermate/Whispermate/Views/OnboardingView.swift:586-625 | Whishpermate/Whispermate/Views/OnboardingView.swift:1470-1503 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Views/OnboardingView.swift"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d806cf277f947840af40a4d2f17eda8e6e9a37513f52fdd4883d96813acee0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): Whishpermate/WhisperMateIOS/TranscriptionSettingsView.swift:45-92 | Whishpermate/WhisperMateIOS/TranscriptionSettingsView.swift:324-376 \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":"Whishpermate/WhisperMateIOS/TranscriptionSettingsView.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8749006fa98eb06991cf34eaa96933a6aaa3775ecb9dcecf16bbeea616da9e62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): Whishpermate/ParakeetRuntime/ParakeetRuntimeBridge.swift:103-140 | Whishpermate/ParakeetRuntime/ParakeetRuntimeBridge.swift:151-196 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/ParakeetRuntime/ParakeetRuntimeBridge.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab3dac57e9c1f2373e60d2d700631824a4fbbbe0763f52094b3490bb4e6ac4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt:603-650 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt:1472-1522 \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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bdf0e37b4b4b45e1101c719c1be7856416c23cbe9f14f0446d377fbd1fb2ca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:329-379 | Whishpermate/Whispermate/Services/OpenAIClient.swift:570-615 \u2014 These two members are one piece of code written twice and then edited apart: 46 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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"9355c39d728ab8ccfe6f3690deefead6ebd6f5456b734ca805480001711121e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainViewModel.kt:116-161 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingViewModel.kt:203-250 \u2014 These two members are one piece of code written twice and then edited apart: 46 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainViewModel.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df4538dd71c89705c1b88b6c4e92ca64299d6260998e9227a1e664cb06bf448"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): Whishpermate/WhisperMateShared/Services/RealtimePCMConverter.swift:26-76 | Whishpermate/Whispermate/Services/AudioRecorder.swift:1375-1435 \u2014 These two members are one piece of code written twice and then edited apart: 51 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":"Whishpermate/WhisperMateShared/Services/RealtimePCMConverter.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7d1dea910395695c8d6a91d9a94e3a6d5ef49437031d4eb31a30a5720fafe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): Whishpermate/Whispermate/Services/HotkeyManager.swift:491-525 | Whishpermate/Whispermate/Services/HotkeyManager.swift:527-556 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/HotkeyManager.swift"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b4945ef0e2fa86d457510ab0e62b6510a4735f3d916cfc0c760915fe2f9435"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): Whishpermate/Whispermate/Services/SendToAIManager.swift:57-91 | Whishpermate/Whispermate/Services/TextFormattingManager.swift:90-129 \u2014 These two members are one piece of code written twice and then edited apart: 35 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":"Whishpermate/Whispermate/Services/SendToAIManager.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b422fdcb361661ee6c39460d0e2aa568b987e443b686d26da92a8ce005d6b13c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Whishpermate/WhisperMateShared/Services/AudioRecorder.swift:1106-1127 | Whishpermate/Whispermate/Services/FrequencyAnalyzer.swift:99-128 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/AudioRecorder.swift"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d33ed1220612bc9c34b4b115e671c237be24b0dc92e88e2568fdc4cbc87c68a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/components/CircularMicButton.kt:188-206 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/CircularMicButtonView.kt:211-230 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/OverlayMicButtonView.kt:274-289 \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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/components/CircularMicButton.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c08e4f792b1000b3f255c03a6a4b7700dfe7aa2c32a703419c8929ebd4ae23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift:22-57 | Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift:60-96 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"744ed6287851e5432b779ebb7e35e2b1743bd99caf0463716b4264782843c1ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:1504-1528 | Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:1534-1568 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"562426002af14802e836f7a8096c11d3c8b72d791d71843fcb0e4dfc24d95d5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift:31-55 | scripts/validate_ios_realtime_transcription.swift:212-233 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfafb81df364c843cea19f821350186f46e5361608ccf13479d29b72b78b912"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/CircularMicButtonView.kt:173-209 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/OverlayMicButtonView.kt:238-272 \u2014 These two members are one piece of code written twice and then edited apart: 35 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/CircularMicButtonView.kt"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b5bbba1e5a452ebceb610c1277d4b24085ee18baf2e7ac9b73dc776428d11d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift:263-293 | Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift:295-319 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab56772b66ed9bb7d4272690802e4d6737db7db03406eb94f9eac7db572fa9b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Whishpermate/WhisperMateLiveActivity/KeyboardDictationLiveActivity.swift:143-170 | Whishpermate/WhisperMateLiveActivity/KeyboardDictationLiveActivity.swift:199-223 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateLiveActivity/KeyboardDictationLiveActivity.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfae74fcde887c13f24cd9a5ec03b9dab3cb0c5a9898290d04aa5e961700f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetLiteRtModel.kt:27-59 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetTranscriber.kt:370-402 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetLiteRtModel.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8237c84435c65b331890ae7a33644301219533540fe1448eb2c4c732fed73758"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:478-508 | Whishpermate/Whispermate/Services/OpenAIClient.swift:693-728 \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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"97eb8810af697b43a0569ff4749f8b6ba782dd9c8b5cbfea722e4d4fe636fb1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Whishpermate/Whispermate/Services/FnKeyMonitor.swift:127-145 | Whishpermate/Whispermate/Services/HotkeyManager.swift:568-587 \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":"Whishpermate/Whispermate/Services/FnKeyMonitor.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a847b6350a2285fbebcf90a3c37ba371d9ea2d72cef2f9c8b2ff9c5852ed5aec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 42\u002B corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt:305-346 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt:504-554 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt:749-790 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 42 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f65e6fe8540c5ad9ddb81a2a9a5974787a782843839a8d283474bdb54a4612"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1522-1555 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1572-1595 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/RecordingSheetView.swift"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"027daa8f444c51f4ab414e59f4d08982729c44709cf8c4bec086ebdb4cb0bc31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:721-745 | Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:747-771 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80a5d23ad167e8a93f1066131f368dd72828223fe669653678a51e7e2c4ea1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 37\u002B corresponding lines): Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift:629-665 | Whishpermate/Whispermate/Services/AppState.swift:3823-3870 | Whishpermate/Whispermate/Services/VoiceActivityDetector.swift:209-249 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 37 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":"Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb235a2675bfdd99ccac9207bd72fe2115c9fdce74765d931508b0e039f675f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Whishpermate/WhisperMateIOS/ContentView.swift:4248-4276 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:217-250 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":4248}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25bfbe8664a4749e2178024b2f6704b679b705438a6870fcf6a452100a451ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/recording/RecordingSheet.kt:250-294 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/recording/RecordingSheet.kt:297-332 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/recording/RecordingSheet.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12a10a1a8e0c2f14169a2866420db835fb26f741a04c111f682cdfd3136f77f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:341-369 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:338-372 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3b89e7ddce95c3e84a0f9167c7bf09744c89eb08840e4b08a6aea68cfc3f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Whishpermate/Whispermate/Services/AudioDeviceManager.swift:907-931 | Whishpermate/Whispermate/Services/FnKeyMonitor.swift:74-100 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AudioDeviceManager.swift"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ca42ff4ef6b52d722a5eb1240c5f7b9494cce52f2aa5de29064a8da8af299f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): Whishpermate/Whispermate/Views/RecordingOverlayView.swift:512-533 | Whishpermate/Whispermate/Views/RecordingOverlayView.swift:535-556 | Whishpermate/Whispermate/Views/RecordingOverlayView.swift:670-689 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 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":"Whishpermate/Whispermate/Views/RecordingOverlayView.swift"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79b0b1354ac29c084a581fef57da59326d9026449d27d60c4483449a2a07301"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs:926-939 | AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs:942-955 \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":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c21c06a97b809c4d3bbdb9a2cea2d39e9a7b5bee5aafe013d29736c97617943"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:416-442 | Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:510-535 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3314f7c586118e44270b80275816fc3828f0c116682cd90b67fbe41f4d0763"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:269-288 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:263-286 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4d646dbb21d0dd6a29bc9aec9ff2cfe769dabb7be5b7f48c2d8cc83cf99832"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Whishpermate/WhisperMateShared/Storage/KeychainHelper.swift:61-87 | Whishpermate/Whispermate/Services/KeychainHelper.swift:53-77 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Storage/KeychainHelper.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"22400a58ddc8b66b796b8a3422e9760a220ababa9c5f35c09ae90175b0e63a3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): AIDictation.Windows/RecoveryContract/Program.cs:2964-2990 | AIDictation.Windows/RecoveryContract/Program.cs:2996-3020 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":2964}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3e3f19cc4d02b9493a7dd7401b73c4a811cedf52463f40bab292b12f63bbb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Whishpermate/WhisperMateShared/Models/ContextRule.swift:26-35 | Whishpermate/WhisperMateShared/Models/Recording.swift:26-35 \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":"Whishpermate/WhisperMateShared/Models/ContextRule.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e0559afe3404ad1d7425d99036eafb1f460f064894c67c8b726505f2884cbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/LanguagePostProcessClient.kt:126-146 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/TranscriptionClient.kt:639-659 \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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/LanguagePostProcessClient.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"666adfacac6b5096f87d0725450d8aab365f583b6e143df9cbf5d363e095c2d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:2202-2228 | Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:2248-2271 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":2202}}}],"partialFingerprints":{"codehealthFindingId/v1":"309ff36e9fe7e7db346917557a04637af631e193af8efc668a4d84721a5a298d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift:744-767 | Whishpermate/Whispermate/Services/AppState.swift:3960-3980 \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":"Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d007f7d643ef8615758f29e1c9621d4f1d31328aa6eb179a01f18fc86ac7c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Whishpermate/Whispermate/Services/OverlayWindowManager.swift:900-916 | Whishpermate/Whispermate/Services/OverlayWindowManager.swift:918-935 \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":"Whishpermate/Whispermate/Services/OverlayWindowManager.swift"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a34a2821430462f24dd955fa0c7c95c2cff1d211291a712c443294016a9796"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt:1549-1582 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt:2012-2049 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cdaf919f13dd58db63b3f121d7e2b62c94bf9e2e00c89d697d828482a8c77b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Whishpermate/Whispermate/Services/AppState.swift:1170-1207 | Whishpermate/Whispermate/Services/AppState.swift:1209-1237 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"32213c26b7c3c68c6ec0b057402ccab5e2010548e1ab772517cbe527a4f4c826"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): AIDictation.Windows/AIDictation/Services/AudioExportDeadline.cs:114-144 | AIDictation.Windows/AIDictation/Services/AudioHttpRecoveryPolicy.cs:294-317 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioExportDeadline.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c479ca9d45c0a46953414820594ad78f9ea0ebd3a6dd427ed51bab3a66eebe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): AIDictation.Windows/AIDictation/ViewModels/OnboardingViewModel.cs:162-183 | AIDictation.Windows/AIDictation/ViewModels/SettingsViewModel.cs:229-252 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/ViewModels/OnboardingViewModel.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e12376f7639cbe8da029b6c3e6ea297bd1011fd24c1aff242521b3a1f1b400"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): Whishpermate/Whispermate/Services/AudioRecorder.swift:122-158 | Whishpermate/Whispermate/Services/AudioRecorder.swift:160-201 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AudioRecorder.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"88dbc3dea894ef5f17bac2a96607facc29e47c5c42e8e183a2c77e96844d3285"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:1111-1136 | Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:1140-1159 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d666ba112c8b4f1d7f691ffb84da22b3df82e8f36a645fe21978244203496ceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt:1321-1345 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/settings/SettingsScreen.kt:719-745 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"0151c3a1fbef67e8f2a561d2898d5ee7fd1c7b02c568a87493eaebf7d4d98dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Whishpermate/WhisperMateIOS/TranscriptionSettingsView.swift:11-35 | Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:11-33 \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":"Whishpermate/WhisperMateIOS/TranscriptionSettingsView.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"422eddd6239c13053a678d87bb288480d1b565a6626d0f68e42de23565029a63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift:156-177 | Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift:303-324 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8373245e00286042e2633ce0816b58c5ef535dd16937036d4306f906fadec915"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): AIDictation.Windows/AIDictation/ViewModels/OnboardingViewModel.cs:410-418 | AIDictation.Windows/AIDictation/ViewModels/SettingsViewModel.cs:798-806 \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":"AIDictation.Windows/AIDictation/ViewModels/OnboardingViewModel.cs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"d741529dfa4a152e7d22754d0bff7026f8d3be58df060175ebf937cae30608c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:2798-2811 | Whishpermate/WhisperMateShared/Storage/HistoryManager.swift:525-553 \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":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":2798}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e388fd0d5b8a9910eb124d0f7f59dd635d25118da1926ed1031e21050890159"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Whishpermate/WhisperMateShared/Services/AuthManager.swift:478-500 | Whishpermate/WhisperMateShared/Services/AuthManager.swift:502-524 \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":"Whishpermate/WhisperMateShared/Services/AuthManager.swift"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f129af82cccdf6946a3eb3770f69375cee6c88ffa167d39a20c3b91d1e7311"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Whishpermate/Whispermate/Services/HotkeyManager.swift:259-273 | Whishpermate/Whispermate/Services/HotkeyManager.swift:304-318 \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":"Whishpermate/Whispermate/Services/HotkeyManager.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd600d36e2caad5a07554d0700264f9c10fe08a203966428339266de71b0a2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Whishpermate/WhisperMateShared/Services/AudioRecorder.swift:743-760 | Whishpermate/WhisperMateShared/Services/AudioRecorder.swift:762-781 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/AudioRecorder.swift"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"f593730ed6f0294447e3c70c1623ef124407c43aa225ae4a8882995a8b4c7dcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Whishpermate/Whispermate/Services/OpenAIRealtimeTranscriptionClient.swift:235-251 | Whishpermate/Whispermate/Services/SonioxRealtimeTranscriptionClient.swift:200-220 \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":"Whishpermate/Whispermate/Services/OpenAIRealtimeTranscriptionClient.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75295ea7debbc80bce5c1e0ad37e91c29f446f2aa415a777f2a4634781b79a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Whishpermate/WhisperMateIOS/ContentView.swift:1215-1248 | Whishpermate/Whispermate/Views/SettingsView.swift:679-702 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"785ececd2127e60b9da244c4caba994b3b7d8bd710dcf7b28ebc30afd92fab23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Whishpermate/WhisperMateShared/AudioVisualizationView.swift:210-221 | Whishpermate/Whispermate/Views/RecordingOverlayView.swift:707-717 \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":"Whishpermate/WhisperMateShared/AudioVisualizationView.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a33ef11af68c4c66b5a6657bcda141f8363fbdef05ca4693995cc51a78452d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Whishpermate/WhisperMateShared/Services/SecretsLoader.swift:87-103 | Whishpermate/Whispermate/Services/SecretsLoader.swift:65-80 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/SecretsLoader.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf353eda1ec867c0a5f9e07c5d9c5575cc9d22753cac0d3a653b22f367c27511"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Whishpermate/WhisperMateShared/Services/DebugLog.swift:45-54 | Whishpermate/Whispermate/Services/DebugLog.swift:51-63 \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":"Whishpermate/WhisperMateShared/Services/DebugLog.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b98ecab99f3118d1ebfbf37ac71e3b8107af55fcf25ff81a601d45185b94a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Whishpermate/Whispermate/Services/ClipboardManager.swift:57-74 | Whishpermate/Whispermate/Services/ClipboardManager.swift:77-103 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/ClipboardManager.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f708a8f3ce195343727fa96dedaa4584d450617ef3a87c2c26d1844f6c5cdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): Whishpermate/WhisperMateShared/Storage/KeychainHelper.swift:33-59 | Whishpermate/WhisperMateShared/Storage/KeychainHelper.swift:89-107 | Whishpermate/Whispermate/Services/KeychainHelper.swift:30-51 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Storage/KeychainHelper.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbd0e96bc5b02ad3ff27f383b92d58cf332112355373d29203fc03ad12c598d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Whishpermate/ParakeetRuntime/ParakeetRuntimeBridge.swift:328-343 | Whishpermate/ParakeetRuntime/ParakeetRuntimeBridge.swift:345-360 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/ParakeetRuntime/ParakeetRuntimeBridge.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"7621aed16c4c2033f7a38c99a92c42dd9701fab6614080c1130b696916b0d629"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:381-398 | Whishpermate/Whispermate/Services/OpenAIClient.swift:617-636 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"575cdc71c67ec0a52200e3c0069bfe280ff90f8ce3054890c25520380ea88873"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Whishpermate/WhisperMateShared/Services/DebugLog.swift:12-18 | Whishpermate/Whispermate/Services/DebugLog.swift:18-24 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/DebugLog.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c615af01353a0c36d26c96ceb58775440b17c82be17f659800b8fc7a29ff35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Whishpermate/Whispermate/Services/AudioDeviceManager.swift:661-671 | Whishpermate/Whispermate/Services/AudioDeviceManager.swift:673-683 \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":"Whishpermate/Whispermate/Services/AudioDeviceManager.swift"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28ffeb277c46c14a5101c6cf0d1b78955c65a1fca927f7eb5eebaf15a9e73d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Whishpermate/Whispermate/Services/AudioVolumeManager.swift:121-150 | Whishpermate/Whispermate/Services/AudioVolumeManager.swift:152-178 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AudioVolumeManager.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d87699d5518e4ddd1da08a1012f4ebcee05b70822373e3f69232be9db71b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetLiteRtModel.kt:101-112 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetTranscriber.kt:404-415 \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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetLiteRtModel.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5150a9b13262cfad90f240ce02cabc845caf3986f7d9824f754aa472d435ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift:218-239 | Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:114-136 | Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:153-176 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 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":"Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"a500fcd7aa40feb063508fe4636536a2b3b33bd713e3319c5c510e48c4ee6707"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:290-304 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:288-301 \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":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e228f4fb51241beaf507e3887ad1d9851fd8f82e7036b889dbf6669f209e90c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:77-91 | Whishpermate/Whispermate/Services/OpenAIClient.swift:258-274 \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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2376fb253d2c1026459b0d98aac03fc3d9e2c8354c6e0ee8b946b6fd2f5a2981"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): AIDictation.Windows/AIDictation/Services/AppState.cs:97-113 | AIDictation.Windows/AIDictation/Services/AppState.cs:131-149 \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":"AIDictation.Windows/AIDictation/Services/AppState.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6cf67b7d2bbfd9f36ab873fbd2275353f280b16f1e4c935531184dfb09a1be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Whishpermate/WhisperMateIOS/ContentView.swift:885-900 | Whishpermate/WhisperMateIOS/OnboardingView.swift:436-452 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f16d0b65b97bd8e3f0821f8f3a153389f5de01c260c406e3a86655dc261fcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Whishpermate/WhisperMateShared/DesignSystem.swift:79-87 | Whishpermate/WhisperMateShared/DesignSystem.swift:96-104 \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":"Whishpermate/WhisperMateShared/DesignSystem.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53b4d5d472f42b0330c1933cd9903a18781395b8a8a5cb8ba56f49dffbcd1ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:837-850 | Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:976-993 \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":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9341069f219af78073f1a16e4346be6d3a11fbac90283d6035be3983968b0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Whishpermate/WhisperMateIOS/ContentView.swift:3472-3496 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:748-765 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3472}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40eb6415fb885ad3337d0b32baf5a6fd406e53f4f53024ec6862bdf9552764a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Whishpermate/WhisperMateShared/Models/APIProvider.swift:346-355 | Whishpermate/Whispermate/Models/APIProvider.swift:523-534 \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":"Whishpermate/WhisperMateShared/Models/APIProvider.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cd649b71874df0431f5fe2f4dbd47beaf7245050c9d18bf385e297bfcc4ff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt:1027-1033 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/OverlayMicButtonView.kt:494-498 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/OverlayRewritePanelView.kt:385-389 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"935ea7c64ca8d5cdb9c22635bf17a1b43023f091cf440c819dac2b1adfe672d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Whishpermate/Whispermate/Services/TextInsertionFormatter.swift:56-74 | Whishpermate/Whispermate/Services/TextInsertionFormatter.swift:76-94 \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":"Whishpermate/Whispermate/Services/TextInsertionFormatter.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0706cdec5180656d4a0ea61cec3b9f54547afe7ce3e36c388070fa362ab89428"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): AIDictation.Windows/AIDictation/Services/HistoryService.cs:123-131 | AIDictation.Windows/AIDictation/Services/HistoryService.cs:136-145 \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":"AIDictation.Windows/AIDictation/Services/HistoryService.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"aceb08fc108730c58703812c26f92f04138d2442ba252addb1296f0bb1676f57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift:250-266 | Whishpermate/Whispermate/Services/MacAsyncDeadline.swift:51-67 \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":"Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9a556d5f4994efd1003da21fa6916c09f487b3049369e1ab8f0e01e4c9799b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:255-265 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:249-259 \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":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48f83e706c665ba787c74d7bd202a60c58f30479ba9cbb59f04b1c359017f18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift:404-425 | Whishpermate/Whispermate/Services/AppState.swift:3462-3487 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"97081d9d56532432390726909b7890118eb72525fc10a7b692cdecd431eae760"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Whishpermate/WhisperMateShared/Services/MobileInstallationAnalytics.swift:83-92 | Whishpermate/Whispermate/WhispermateApp.swift:74-83 \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":"Whishpermate/WhisperMateShared/Services/MobileInstallationAnalytics.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b196c140d5bab6d530014e823e6fbdab1149b221d7ef3d3a767b235e2d74d39c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt:1983-2004 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainViewModel.kt:378-399 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt"},"region":{"startLine":1983}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae59a7e32eefbae76ada2d2e899feaac02110c457d9319b0a2187b6699588498"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Whishpermate/WhisperMateShared/Services/SecretsLoader.swift:105-113 | Whishpermate/Whispermate/Services/SecretsLoader.swift:82-91 \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":"Whishpermate/WhisperMateShared/Services/SecretsLoader.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73ceba8753cb9a6795c8c02bedf05117a95de9c011440d195018e6c8d8b1652"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift:161-169 | Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift:193-201 \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":"Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca424732d2949a3a03d514dc0886d58f2bf0adce9b157f94c5f6157c7b024dfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Whishpermate/WhisperMateShared/Services/AudioRecorder.swift:803-816 | Whishpermate/Whispermate/Services/AudioRecorder.swift:939-955 \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":"Whishpermate/WhisperMateShared/Services/AudioRecorder.swift"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7f4572fa84b090525e68d59c50a431a317f53dcca8e9c7ba4454113ef6551d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Whishpermate/WhisperMateShared/Services/RuntimeCallbackAttempt.swift:315-325 | Whishpermate/Whispermate/Services/PrivacyPermissionFlowManager.swift:64-76 \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":"Whishpermate/WhisperMateShared/Services/RuntimeCallbackAttempt.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40b60f017ebab14eae2ed4e8301ea0e7afb1541ca58f191c57e789d2c884a69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): Whishpermate/WhisperMateShared/Storage/HistoryManager.swift:555-567 | Whishpermate/WhisperMateShared/Storage/HistoryManager.swift:569-580 | Whishpermate/WhisperMateShared/Storage/HistoryManager.swift:582-593 \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":"Whishpermate/WhisperMateShared/Storage/HistoryManager.swift"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bd4de9bb846f5db76fdeedea49783fb4339765387ee2097369b99534a49af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt:2160-2172 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt:2246-2260 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt"},"region":{"startLine":2160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8e16392f177fac0e3a042de205d1910554cba57f52a7b49edcec2097e93a74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsViewModel.kt:40-49 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsViewModel.kt:93-102 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsViewModel.kt:146-155 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsViewModel.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b1248b3309eb9718bd3bc831bf4b74aacd1f72197637a86d82b688f92edd95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:3234-3248 | Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:3250-3267 \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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":3234}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ac63483d48b3161b58cd809f389166c45579fbf2b1f86563454687c568464f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): AIDictation.Windows/AIDictation/ViewModels/OnboardingViewModel.cs:241-253 | AIDictation.Windows/AIDictation/ViewModels/SettingsViewModel.cs:428-441 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/ViewModels/OnboardingViewModel.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"56aa908ec06f52fd07d9ff9634997f0ddc70ff057f3861ebca8d3c17de16e7fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt:1314-1327 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt:1329-1345 \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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d20ff37cd8cbe379caa1239c5e1d4ef0b3dac973a986b873d81a46a254076c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Whishpermate/Whispermate/Services/AudioDeviceManager.swift:611-631 | Whishpermate/Whispermate/Services/AudioDeviceManager.swift:730-749 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AudioDeviceManager.swift"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cb7fa629e876707f676050b0eb6f98cf4ceaf81657ba159e72dfce14683c34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs:1494-1512 | AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs:1517-1536 \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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e90d8b1ebd16b3f15e23cf152b9e263cbe57783f4333df0f8e30ecf7833974"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Whishpermate/Whispermate/Services/OpenAIRealtimeTranscriptionClient.swift:260-274 | Whishpermate/Whispermate/Services/SonioxRealtimeTranscriptionClient.swift:293-305 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/OpenAIRealtimeTranscriptionClient.swift"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c395634fe6c6ecc9dd333122322f953c3b3c8c0a0cc0daa5bb5ee68303d4b78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Whishpermate/WhisperMateShared/Managers/ShortcutManager.swift:70-76 | Whishpermate/WhisperMateShared/Managers/ShortcutManager.swift:78-85 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Managers/ShortcutManager.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd92607c793ddbf4d7e103b3c23f1bbac0a07f6e69a9c38c4cd98f046e10c49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:1979-1984 | Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:1992-1997 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"9512e9be5d039d52643e53aef9c6e59af6564009f20ce607d5f9d66557d2066f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Whishpermate/WhisperMateShared/Services/RealtimePCMConverter.swift:78-83 | Whishpermate/Whispermate/Services/AudioRecorder.swift:1437-1444 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/RealtimePCMConverter.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2621b837ccfd7b68a3be3365d045412d6becc0bac227c2107fd0029c705a6bd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Whishpermate/WhisperMateShared/Services/ReviewPromptStore.swift:46-60 | Whishpermate/WhisperMateShared/Services/ReviewPromptStore.swift:64-75 \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":"Whishpermate/WhisperMateShared/Services/ReviewPromptStore.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf35f93ca8852860c0a892a665c12ef7dc65b8a86b4293a0096454e83358a1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): AIDictation.Windows/AIDictation/Views/OnboardingWindow.xaml.cs:58-72 | AIDictation.Windows/AIDictation/Views/SettingsWindow.xaml.cs:33-47 \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":"AIDictation.Windows/AIDictation/Views/OnboardingWindow.xaml.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"677aa7abf6bbe75fa5573c133c9344f86f9019a267dcab6e4f942b7767035f7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/components/SettingsIconTile.kt:28-44 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt:175-192 \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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/components/SettingsIconTile.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6993867db810b756d02842dab6c9cada8b139122e7e592d55f5e2cec626bbad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift:707-721 | Whishpermate/Whispermate/Services/AppState.swift:4058-4072 | Whishpermate/Whispermate/Services/VoiceActivityDetector.swift:175-189 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a315fc6e567e11842381b4c27e182fe861fa9346ea90ae12f64cf9fc036c825"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/preferences/ApiConfigManager.kt:74-82 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/preferences/ApiConfigManager.kt:84-92 \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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/preferences/ApiConfigManager.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5528aa9eb4a1906ec4f492880ed6fa92125e8bf32381d0a0a757b4c0297e87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Whishpermate/ParakeetRuntime/ParakeetRuntimeBridge.swift:263-281 | Whishpermate/ParakeetRuntime/ParakeetRuntimeBridge.swift:283-300 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/ParakeetRuntime/ParakeetRuntimeBridge.swift"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"acad830aaa4ab473f2df9446a0a2ced165672b8cfc13ce8a693a1e412203e9e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Whishpermate/WhisperMateShared/Services/RuntimeCallbackAttempt.swift:159-176 | Whishpermate/WhisperMateShared/Services/RuntimeCallbackAttempt.swift:178-196 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/RuntimeCallbackAttempt.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0f11665e5eacaeb0a41038d430ddb76333e4e38579101fda220fb271c74777"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:234-249 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:229-243 \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":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adf603b4cae88bc99758965c30594efadbe87ebcb668c1071a463db29eef9bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/preferences/OverlayBubblePreferences.kt:16-26 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt:734-743 \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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/preferences/OverlayBubblePreferences.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e304580ab73cbcb47aff11911070e5f304455d7343483fda3ef38c359f70fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Whishpermate/Whispermate/Services/AppState.swift:4074-4084 | Whishpermate/Whispermate/Services/VoiceActivityDetector.swift:195-205 \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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":4074}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3c0242d2b7052078ce24c2a3b89b3f96653e4825fad67287f0ab26511edbf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): AIDictation.Windows/AIDictation/App.xaml.cs:823-841 | AIDictation.Windows/AIDictation/App.xaml.cs:844-859 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d6db69887ebfe33b1c3e3c255a57bf312e1f1c335d26a9e32b68dd1d965707"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Whishpermate/WhisperMateShared/Services/WritingmateRealtimeSessionSupport.swift:65-81 | Whishpermate/Whispermate/Services/AppState.swift:3006-3022 | scripts/validate_ios_realtime_transcription.swift:235-242 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 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":"Whishpermate/WhisperMateShared/Services/WritingmateRealtimeSessionSupport.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1668949952aa29ccff3c47f24fc12ea4b46ac9b43167feabbfdf8cb9de6b0dd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/language/LanguageSettingsViewModel.kt:80-94 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingViewModel.kt:189-201 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/language/LanguageSettingsViewModel.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92db0d81de07062d535e26596f00d3c4b9f50e91b72b80f7391615a2ffb1964"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Whishpermate/WhisperMateShared/Services/WritingmateRealtimeSessionSupport.swift:13-18 | Whishpermate/Whispermate/Services/AppState.swift:2956-2961 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/WritingmateRealtimeSessionSupport.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c713fbae2902ceb762e237617302a966a489610a68e184d26d060f293181ff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Whishpermate/Whispermate/WhispermateApp.swift:33-41 | Whishpermate/Whispermate/WhispermateApp.swift:43-51 \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":"Whishpermate/Whispermate/WhispermateApp.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70ea828e9d451ed36ee071fb4937a080396f496a7763143d45c3628d756ab66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 7\u002B corresponding lines): Whishpermate/WhisperMateShared/Managers/ContextRulesManager.swift:127-133 | Whishpermate/WhisperMateShared/Models/PromptRule.swift:64-70 | Whishpermate/WhisperMateShared/Models/PromptRule.swift:72-78 | Whishpermate/Whispermate/Models/PromptRule.swift:65-71 | Whishpermate/Whispermate/Models/PromptRule.swift:73-79 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 7 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Managers/ContextRulesManager.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0378db293e82daef9c30fa0b9b84e5b969d97425c5eaddc8cf04abec6b4fdef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:96-101 | Whishpermate/Whispermate/Services/OpenAIClient.swift:279-284 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"95960792bfd7998bd1bfa25dc70c6ec9747c7751db3e15b553581ddef9558547"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift:283-298 | Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift:300-319 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"294aadfb222cd1c761c43725e078d1421920dd0804e49dc6fd1deaa5ce519154"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): AIDictation.Windows/AIDictation/Services/HotkeyService.cs:306-317 | AIDictation.Windows/AIDictation/Services/HotkeyService.cs:329-340 \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":"AIDictation.Windows/AIDictation/Services/HotkeyService.cs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"33642e38443e4db5f97a368f5e4d860ce79b712c7616f89cc20cbf3e9abc7417"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/repository/SubscriptionRepository.kt:139-151 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/repository/SubscriptionRepository.kt:153-163 \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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/repository/SubscriptionRepository.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"563bdbbfb30bfe6356854d0d6ba2c880ee62f30321819bb94ebf891df36d4c41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/CircularMicButtonView.kt:239-250 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/OverlayMicButtonView.kt:298-309 \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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/CircularMicButtonView.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fd2b21bf6897370f586735fc75b8b35fd1e3e40cee1e2157529a8817c693a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): Whishpermate/WhisperMateShared/Managers/ContextRulesManager.swift:104-109 | Whishpermate/WhisperMateShared/Models/PromptRule.swift:44-49 | Whishpermate/Whispermate/Models/PromptRule.swift:45-50 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Managers/ContextRulesManager.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7945df35fdaeec221d8df0fc85cfbc5fd05cb6f18510f31d073d98a0aaeb10d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Whishpermate/WhisperMateShared/Services/WritingmateRealtimeSessionSupport.swift:117-124 | scripts/validate_ios_realtime_transcription.swift:203-210 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/WritingmateRealtimeSessionSupport.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"2718d06a66584d04fa1059b1f7de237dc024510ea56eda64d0e881b320f4ac71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Whishpermate/Whispermate/Services/AudioDeviceManager.swift:933-943 | Whishpermate/Whispermate/Services/FnKeyMonitor.swift:117-125 \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":"Whishpermate/Whispermate/Services/AudioDeviceManager.swift"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f77d0f1fa212c625e16c0231a556720ac2aef6f100ff6cd9da61dabb404ca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): formal/mac_audio_store_model.py:831-838 | formal/mac_audio_store_model.py:866-875 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"formal/mac_audio_store_model.py"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc96d53799b461d4f263d1c236a6a6824cee231979b0e1493a724f0c4f39f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): AIDictation.Windows/AIDictation/Services/AudioHttpRecoveryPolicy.cs:203-220 | AIDictation.Windows/AIDictation/Services/BoundedHttpContentReader.cs:196-208 | AIDictation.Windows/AIDictation/Services/LanguagePostProcessService.cs:203-215 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioHttpRecoveryPolicy.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"01183904dec299573c72daee356cd1780586b4d7e48a8330804615242dfbe5db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Whishpermate/WhisperMateShared/Services/WritingmateRealtimeSessionSupport.swift:50-63 | Whishpermate/Whispermate/Services/AppState.swift:2963-2979 \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":"Whishpermate/WhisperMateShared/Services/WritingmateRealtimeSessionSupport.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"315088ee9359fee940917811bb4ce2da1cb76722fcaee901b1df579d8263c575"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Whishpermate/WhisperMateShared/Services/AuthManager.swift:58-67 | Whishpermate/WhisperMateShared/Services/KeyboardDictationHandoff.swift:294-304 \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":"Whishpermate/WhisperMateShared/Services/AuthManager.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e36782908a515e7f6ab4cc3e8ffb1e47f79ec00811372864b72462f22388eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:220-230 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:215-225 \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":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72b06189b5d1c117ad880d77b65141d89293bd88a1c2cb6630a180be6f67f25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:528-531 | Whishpermate/Whispermate/Services/OpenAIClient.swift:770-773 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad738c7e5f1aefffa30cf5e5e1c0b6cd7cc34fed42e2e78dbfcd2f74022c209c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Whishpermate/WhisperMateShared/Services/AudioRecorder.swift:1046-1051 | Whishpermate/Whispermate/Services/FrequencyAnalyzer.swift:14-24 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/AudioRecorder.swift"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7048f350f247fea358f18432c796b44b3eaf4eaad1b6d628676853f48550e1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Whishpermate/WhisperMateShared/Models/APIProvider.swift:357-361 | Whishpermate/Whispermate/Models/APIProvider.swift:538-542 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Models/APIProvider.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"7865f7dd1f2204b0dc44290bb7ae995353570ec4ebd0aa7d5e96bf15553655d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Whishpermate/WhisperMateShared/Models/PromptRule.swift:51-56 | Whishpermate/Whispermate/Models/PromptRule.swift:52-57 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Models/PromptRule.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb50c13dc694097fa87d4e0136e42fd08a5ab148ff8052d4597c2cecb329c724"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:510-513 | Whishpermate/Whispermate/Services/OpenAIClient.swift:730-733 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"46985bc03c1a4a340342e0e991f4c399b15e4540a7d41ee6db2194b4255ad340"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift:403-413 | Whishpermate/Whispermate/Services/OpenAIRealtimeTranscriptionClient.swift:106-117 \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":"Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e0deeed7a4f3a8c53ca574ddc796c01931d2c6dd7673ee2a9cf7e102d22e14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift:737-742 | Whishpermate/Whispermate/Services/AppState.swift:4001-4006 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b05239908699067222f23a99c222d8bd6417029f291046f1a69dc89bad17789"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): Whishpermate/WhisperMateShared/Managers/ContextRulesManager.swift:121-125 | Whishpermate/WhisperMateShared/Models/PromptRule.swift:58-62 | Whishpermate/Whispermate/Models/PromptRule.swift:59-63 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 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":"Whishpermate/WhisperMateShared/Managers/ContextRulesManager.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"31607abd8941adad3647884fbb4239f303345a240042e0fa095c886452ae30e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Whishpermate/WhisperMateShared/Services/MobileInstallationAnalytics.swift:60-63 | Whishpermate/Whispermate/WhispermateApp.swift:58-61 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/MobileInstallationAnalytics.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88c906904163f0233b2ad88af94e572cc333f6e58d7e4570c93f2fff4be523e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Whishpermate/WhisperMateShared/Services/WritingmateRealtimeSessionSupport.swift:20-28 | Whishpermate/Whispermate/Services/AppState.swift:2981-2989 \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":"Whishpermate/WhisperMateShared/Services/WritingmateRealtimeSessionSupport.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c7a602f7029d9106ac6351686578c17c2d69c6e9deada65319063f712df56f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Whishpermate/WhisperMateShared/Models/APIProvider.swift:240-256 | Whishpermate/Whispermate/Models/APIProvider.swift:390-401 \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":"Whishpermate/WhisperMateShared/Models/APIProvider.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e399567adaf76af96b8df7cd6a8e07eb24207c05bf61e5faa81a95184ce469"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Whishpermate/WhisperMateIOS/ContentView.swift:2694-2705 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1557-1566 \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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":2694}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cccd0b670b8de05d891247db019bb6817d8db0b14d28f2aa2726980c3144f43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Whishpermate/WhisperMateShared/AudioVisualizationView.swift:367-372 | Whishpermate/Whispermate/Views/RecordingOverlayView.swift:777-782 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/AudioVisualizationView.swift"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"2101932e9e0a6c9b07869a22f88553c83f4ef0004504604424fb21e67971d925"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Whishpermate/WhisperMateShared/Models/APIProvider.swift:233-238 | Whishpermate/Whispermate/Models/APIProvider.swift:544-549 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Models/APIProvider.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f726b161709c7b16fc699f5949cc236545c7bc89bba15e1dc0d385ad1560e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Whishpermate/WhisperMateShared/Models/APIProvider.swift:292-299 | Whishpermate/Whispermate/Models/APIProvider.swift:451-459 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Models/APIProvider.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2a043ccfa04c31bb0b941ff91d51159f776d8dc989ec7d77559f64b8e12fd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Whishpermate/WhisperMateShared/Models/APIProvider.swift:301-308 | Whishpermate/Whispermate/Models/APIProvider.swift:461-469 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Models/APIProvider.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"1393aa48c470926cd96f5cc6e1cb84208c40422650ad35231058c638f22058f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Whishpermate/WhisperMateShared/Models/APIProvider.swift:310-317 | Whishpermate/Whispermate/Models/APIProvider.swift:471-479 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Models/APIProvider.swift"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0fa54ac7c834cee813bf7d66833c2421a615eb0eab2beeb6950511351ce136"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Whishpermate/WhisperMateShared/Models/APIProvider.swift:319-326 | Whishpermate/Whispermate/Models/APIProvider.swift:481-489 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Models/APIProvider.swift"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8add858540f3eefde8f0f0833694d4e13f3c48705326153ad1948b1539f6b41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Whishpermate/WhisperMateIOS/ContentView.swift:4062-4070 | Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift:331-342 \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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":4062}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc40f8ecd1cd45275e6ee95df5d66d34162f99587801a777c83ea8a242612430"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Whishpermate/WhisperMateShared/Services/SecretsLoader.swift:48-55 | Whishpermate/Whispermate/Services/SecretsLoader.swift:52-59 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/SecretsLoader.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b676911da4fe7dcd15824139576c6b512b268b94ddbfa0af46c6ef6d9c01eea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Whishpermate/WhisperMateShared/Services/WritingmateRealtimeSessionSupport.swift:30-38 | Whishpermate/Whispermate/Services/AppState.swift:2991-2999 \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":"Whishpermate/WhisperMateShared/Services/WritingmateRealtimeSessionSupport.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36f0fbfe1bbdfbf72541503ac46bb2e87e00971560c259ff8e895bce20d21c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Whishpermate/WhisperMateShared/Services/WritingmateRealtimeSessionSupport.swift:40-48 | Whishpermate/Whispermate/Services/AppState.swift:2941-2954 \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":"Whishpermate/WhisperMateShared/Services/WritingmateRealtimeSessionSupport.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"208a500e1b85a0e7a23d0f47b0e3ef52115db8c224a307cb8f1e9ca150d6d6e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Whishpermate/WhisperMateShared/Models/PromptRule.swift:9-13 | Whishpermate/Whispermate/Models/PromptRule.swift:10-14 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Models/PromptRule.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c904ef2862be53d650c222d79f11758f9afbf9275af3358195adf2faa2fd395"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Whishpermate/WhisperMateIOS/ContentView.swift:2777-2788 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1460-1473 \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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":2777}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f4559cbda042d43c43eefa09f874f97d1e6a1ba0d33366b6c478bfea5e6671"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Whishpermate/WhisperMateIOS/ContentView.swift:1078-1091 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:592-602 \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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b84591b6145bb399a69c42aa47b321e253b9c302400cf7b82907be6ef6dae4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Whishpermate/WhisperMateShared/Services/WritingmateRealtimeSessionSupport.swift:8-11 | Whishpermate/Whispermate/Services/AppState.swift:3001-3004 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/WritingmateRealtimeSessionSupport.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"358c4ce4396c63d454f23db9488d7c36584c3bd8dff1ae6698e2450940b69629"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt:2874-2881 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/OverlayRewritePanelView.kt:370-377 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt"},"region":{"startLine":2874}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a45d74b63ee29d225ecdbe544a774df1f6de3a74649f166abac24c364e38b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Whishpermate/WhisperMateShared/Storage/HistoryManager.swift:203-208 | Whishpermate/Whispermate/Services/HistoryManager.swift:140-147 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Storage/HistoryManager.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab721172418aa29630ba3dcb1e08f309006189c3726d90a0fb3866c25a07a2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs:1992-1998 | AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs:973-979 | AIDictation.Windows/AIDictation/Services/BoundedHttpContentReader.cs:187-193 | AIDictation.Windows/AIDictation/Services/HistoryService.cs:331-337 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"723d22b98f41e8a191752ed7d8bcaee3593db2702fb40c6459d2c9dc3564ed75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs:1992-1998 | AIDictation.Windows/AIDictation/Services/BoundedHttpContentReader.cs:187-193 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f899b3d36bd66bebcf30a96b4bb90f16a215e8c6503e479a309e6333afc0719"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt:2883-2886 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/OverlayMicButtonView.kt:488-491 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt"},"region":{"startLine":2883}}}],"partialFingerprints":{"codehealthFindingId/v1":"84be360a500eafdec1f3de310c3dcad1615bd9e536d455894b9ae8f4ed001079"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainViewModel.kt:182-189 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingViewModel.kt:378-385 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainViewModel.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"71424839ad5ce069c0e706add6d2db1bacf0674ac76166360f57ff3760ed33d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:2535-2539 | Whishpermate/WhisperMateShared/Services/SubscriptionManager.swift:201-205 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":2535}}}],"partialFingerprints":{"codehealthFindingId/v1":"702b54b6e4dd12921b09449f61e0de10ca45b63ac644114fd87ac1d4b6d2b727"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201365 lines \u00D7 2): Whishpermate/Whispermate/Services/StatusBarManager.swift:154-218 | Whishpermate/Whispermate/Services/StatusBarManager.swift:258-294 \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 \u0060Whishpermate/Whispermate/Services/StatusBarManager.swift:258\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/StatusBarManager.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce15cb0d3b0d678ef921337175de4c52630f34807c0a56392847fcc1ba73a592"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58\u201361 lines \u00D7 2): Whishpermate/WhisperMateIOS/ContentView.swift:3714-3771 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:938-998 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/ContentView.swift\u0060 and \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 322 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 \u0060Whishpermate/WhisperMateIOS/ContentView.swift:3714\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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3714}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbaefc78c80a1d5fccc64e5773cb62159f52a3eb8cf09c16e3202a24b4e82b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:731-781 | Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:811-861 \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 \u0060Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:731\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":"Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe231b7070f58cbb2514ea0bb61415cf37cf1762186723c157de45f1ec8b3aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:578-627 | Whishpermate/Whispermate/Services/OpenAIClient.swift:820-869 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift\u0060 and \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 405 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 \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:578\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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa179755751ae25093396730e80e09604b8ebc04b6c7a5f04c7e301d3acd0ebe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46\u201347 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:180-225 | Whishpermate/Whispermate/Services/OpenAIClient.swift:378-424 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift\u0060 and \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 405 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 \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:180\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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"972613fa4048d4f289ce04e824559c03532be29d0dbea53c6bfc77edd4cebe97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/MobileInstallationAnalytics.swift:128-175 | Whishpermate/Whispermate/WhispermateApp.swift:114-161 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/MobileInstallationAnalytics.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c8bc12e5488b6abf3c75a1d66e465efadca79330d4832b9dc2bbfe9bc463fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/DebugLog.swift:89-131 | Whishpermate/Whispermate/Services/DebugLog.swift:98-140 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/DebugLog.swift\u0060 and \u0060Whishpermate/Whispermate/Services/DebugLog.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"Whishpermate/WhisperMateShared/Services/DebugLog.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db06df08d446db53e9ec4df1b1151b59fc13051d27ca3bf15db3168536a93f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift:17-49 | Whishpermate/Whispermate/Services/SentryTelemetry.swift:17-49 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift\u0060 and \u0060Whishpermate/Whispermate/Services/SentryTelemetry.swift\u0060 as WHOLE FILES: this scan already matched 7 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. 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":"Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc83c7f1ffd6928ed458e83bf7e3983d65e06542aff1472e79320c68d7eb0e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:468-500 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:453-485 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift\u0060 and \u0060Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 362 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 \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:468\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":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"828d2b86ab1596505486846df09d3887a0a86a73bb42ed630406fec3d41da8a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:546-574 | Whishpermate/Whispermate/Services/OpenAIClient.swift:786-815 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift\u0060 and \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 405 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 \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:546\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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a651b1f886ccb0d98e6d0c724e1f7c422ceb0e587e28c5aa1d974cbabb993a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:389-418 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:374-403 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift\u0060 and \u0060Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 362 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 \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:389\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":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"8994a7a2869e940a05163d9ae2682ec6e8fe49ded088491d1521344a28478336"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:121-147 | Whishpermate/Whispermate/Services/OpenAIClient.swift:306-333 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift\u0060 and \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 405 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 \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:121\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"53dff47bbc998259ae398770574be24c556b5c8b1687cf8c4383c0dc8dad489f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201328 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/AudioRecorder.swift:1064-1087 | Whishpermate/Whispermate/Services/FrequencyAnalyzer.swift:40-67 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/AudioRecorder.swift\u0060 and \u0060Whishpermate/Whispermate/Services/FrequencyAnalyzer.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/AudioRecorder.swift"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"913f61e34335ae8807a853bdd69d3723790b11de97f0ae5c84510dbb6c8c3159"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201328 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/RealtimePCMConverter.swift:45-70 | Whishpermate/Whispermate/Services/AudioRecorder.swift:1397-1424 \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 \u0060Whishpermate/WhisperMateShared/Services/RealtimePCMConverter.swift:45\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"Whishpermate/WhisperMateShared/Services/RealtimePCMConverter.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"95eb6cba6a9cfd474a57ab63a566c460cac3dd5e64b62d55a640237614837114"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): Whishpermate/Whispermate/Services/AudioDeviceManager.swift:789-816 | Whishpermate/Whispermate/Services/AudioDeviceManager.swift:821-848 \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 \u0060Whishpermate/Whispermate/Services/AudioDeviceManager.swift:789\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AudioDeviceManager.swift"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"5676c5c85704252e90a4e9514217222dac58838df282b6e11c7d0867cd85cdcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201326 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:136-157 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:122-147 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift\u0060 and \u0060Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 362 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 \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:136\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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"997681e7be572c65bb8bf1c01678e49dbab4e4593fef598fc67978b97634bd71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201326 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:184-204 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:174-199 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift\u0060 and \u0060Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 362 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 \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:184\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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"702d77cecbd2e80717c7adaf2789c797c1e394a47103befc38e2e6527800086f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Whishpermate/Whispermate/Services/AppContextHelper.swift:180-204 | Whishpermate/Whispermate/Services/AppContextHelper.swift:206-230 \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 \u0060Whishpermate/Whispermate/Services/AppContextHelper.swift:180\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":"Whishpermate/Whispermate/Services/AppContextHelper.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6938f870b2a812e0475f981b546a2192b3ce1b8c9ab1c4ee2bca43e46d7c091b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 2): Whishpermate/Whispermate/Services/AppState.swift:3846-3870 | Whishpermate/Whispermate/Services/VoiceActivityDetector.swift:228-249 \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 \u0060Whishpermate/Whispermate/Services/AppState.swift:3846\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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":3846}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4535f65ec9db371e02e83de7950761e9f4e73ac74ba9f384add9a6bb50da5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 4): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:122-144 | Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:170-191 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:108-131 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:160-183 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift\u0060 and \u0060Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 362 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 \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift: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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd507113d212b840dd69a93a3ac6f52373e18227dbfcb6832853f6a3b2c9e660"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Whishpermate/WhisperMateIOS/ContentView.swift:3333-3356 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:657-680 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/ContentView.swift\u0060 and \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 322 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 \u0060Whishpermate/WhisperMateIOS/ContentView.swift:3333\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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1f4bf7fe0849a289262957106524671e9ad276b4e3a453f00314696d149e82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): Whishpermate/WhisperMateIOS/ContentView.swift:3800-3822 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1017-1040 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/ContentView.swift\u0060 and \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 322 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 \u0060Whishpermate/WhisperMateIOS/ContentView.swift:3800\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Whishpermate/WhisperMateIOS/ContentView.swift:3799\u0060 calls \u0060showError\u0060 and \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1017\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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3800}}}],"partialFingerprints":{"codehealthFindingId/v1":"51242b6ad20ccfc08c81c8457c36eec9d160995ae9b36bf04f5108dc0493f835"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift:34-57 | Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift:73-96 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift:34\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":"Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5009fcbdd366d5f8e6a74f45239a8ebd46adc629e6976de6f95366a7e2c78119"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:347-369 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:349-372 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift\u0060 and \u0060Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 362 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 \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:347\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"394993327e50c50bc9a2466ab7e6fab003eda28e490bc1d4c624bff1604bb45c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201323 lines \u00D7 4): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:146-165 | Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:193-212 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:133-155 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:185-207 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift\u0060 and \u0060Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 362 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 \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:146\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":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05174e5baabda5cee1f00add932c223e8c5f45e5eb3fbf8f341be71cf719a0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Whishpermate/ParakeetRuntime/ParakeetRuntimeBridge.swift:105-127 | Whishpermate/ParakeetRuntime/ParakeetRuntimeBridge.swift:153-175 \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 \u0060Whishpermate/ParakeetRuntime/ParakeetRuntimeBridge.swift:105\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":"Whishpermate/ParakeetRuntime/ParakeetRuntimeBridge.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9d42ba7f8695fba713129e37749f4aa9edff1424448f5928d6bc73c9b2b447"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201323 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift:32-54 | scripts/validate_ios_realtime_transcription.swift:213-231 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ca09a3d1e1dc4b5ef3d37614ae442904c7af28c64226b168ca9de08e42c379"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift:634-652 | Whishpermate/Whispermate/Services/AppState.swift:3828-3849 \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 \u0060Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift:634\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6affce60fc7a1179dc0ed933f38935ac4aa7ffe2d3b4ae9bae40883313077c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Whishpermate/Whispermate/Services/AppState.swift:3572-3593 | Whishpermate/Whispermate/Services/AppState.swift:3601-3622 \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 \u0060Whishpermate/Whispermate/Services/AppState.swift:3572\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":3572}}}],"partialFingerprints":{"codehealthFindingId/v1":"d250880a90f78dc0c5d850ebaf1bf5692b97092734ae5c3675858bb22857e570"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Whishpermate/Whispermate/Services/SendToAIManager.swift:70-91 | Whishpermate/Whispermate/Services/TextFormattingManager.swift:108-129 \u2014 before extracting anything, compare \u0060Whishpermate/Whispermate/Services/SendToAIManager.swift\u0060 and \u0060Whishpermate/Whispermate/Services/TextFormattingManager.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 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 \u0060Whishpermate/Whispermate/Services/SendToAIManager.swift:70\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Whishpermate/Whispermate/Services/SendToAIManager.swift:67\u0060 calls \u0060AXUIElementCreateApplication\u0060 and \u0060Whishpermate/Whispermate/Services/TextFormattingManager.swift:105\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":"Whishpermate/Whispermate/Services/SendToAIManager.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a20ce465268b477a70a4d23596e045ebcdb452884424001431e27423f137d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): AIDictation.Windows/AIDictation/ViewModels/OnboardingViewModel.cs:163-182 | AIDictation.Windows/AIDictation/ViewModels/SettingsViewModel.cs:230-249 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060AIDictation.Windows/AIDictation/ViewModels/SettingsViewModel.cs:251\u0060 calls \u0060SaveLanguageSelection\u0060 and \u0060AIDictation.Windows/AIDictation/ViewModels/OnboardingViewModel.cs:183\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":"AIDictation.Windows/AIDictation/ViewModels/OnboardingViewModel.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef633b87cc9bc8c447b52a3944333a880a7deb1867533126d72489e8a2ad1255"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Whishpermate/WhisperMateIOS/ContentView.swift:4122-4142 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1422-1442 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/ContentView.swift\u0060 and \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 322 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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":4122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eed47d862f55147293bc3e313053671a6cc564562a9ed0f8ae5784b52a70fb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:340-360 | Whishpermate/Whispermate/Services/OpenAIClient.swift:579-596 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift\u0060 and \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 405 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 \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:340\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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"638718d5240f6b6e140d7b8a5a7a6e8489cdb57be31c866e16e0f78b0d64d348"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:639-659 | Whishpermate/Whispermate/Services/OpenAIClient.swift:883-903 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift\u0060 and \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 405 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 \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:639\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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"08be9d19947d456101e624a7ce75a142ebd61e36f378f6cf9bbbe96cbc835fc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:722-742 | Whishpermate/Whispermate/Services/OpenAIClient.swift:975-995 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift\u0060 and \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 405 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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdf7c1ac3f28e86c9a939999ba0aa9bbf649033652a6257155f8f2f1b55b389"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:748-768 | Whishpermate/Whispermate/Services/OpenAIClient.swift:1004-1024 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift\u0060 and \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 405 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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"143ac6614020770713fd22a7a96b621af6ba20d30cc8443aec70018e7b2e0adc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:271-288 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:266-286 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift\u0060 and \u0060Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 362 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 \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:271\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":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4500d32ca3de2b76dec33681a3607a6dba2e70101a7902bacf140ec9af54b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:553-573 | Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:674-694 \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 \u0060Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:553\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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee6a79c36eba944ff23e56011a2d1f68132ed487a39c658b9281d56332f32a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): Whishpermate/Whispermate/Views/SettingsView.swift:881-901 | Whishpermate/Whispermate/Views/SettingsView.swift:1434-1452 \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 \u0060Whishpermate/Whispermate/Views/SettingsView.swift:881\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":"Whishpermate/Whispermate/Views/SettingsView.swift"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"d785c2965480751bdae9002a9dfe0f1b77962e629701a12e476c9dfe8628c958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): Whishpermate/WhisperMateIOS/ContentView.swift:3371-3389 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:682-701 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/ContentView.swift\u0060 and \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 322 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 \u0060Whishpermate/WhisperMateIOS/ContentView.swift:3371\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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3371}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb261a7d4dcdc2be21f863a3bcef558ba33fb83a7ce047a4c1c201057d0143c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Whishpermate/WhisperMateIOS/ContentView.swift:3615-3634 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:858-877 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/ContentView.swift\u0060 and \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 322 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3615}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a159e9cd3607fe280ee4642f7b11824dd6f441e93a6ed058ad0107d75fc589"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): Whishpermate/WhisperMateIOS/ContentView.swift:3933-3951 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1121-1140 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/ContentView.swift\u0060 and \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 322 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 \u0060Whishpermate/WhisperMateIOS/ContentView.swift:3933\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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3933}}}],"partialFingerprints":{"codehealthFindingId/v1":"415151bdee098ca39c4315818382b7717d8b9b8e67ad6c6a2c96e66c0c898190"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Whishpermate/Whispermate/Views/RecordingOverlayView.swift:132-151 | Whishpermate/Whispermate/Views/RecordingOverlayView.swift:164-183 \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 \u0060Whishpermate/Whispermate/Views/RecordingOverlayView.swift:132\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":"Whishpermate/Whispermate/Views/RecordingOverlayView.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"80628e0ff62d1c7ebc5acca69207c325dfd31d2dcebe4f18d2141726f4544f65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 5): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:90-105 | Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:152-167 | Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:199-214 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:139-157 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:191-209 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift\u0060 and \u0060Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 362 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 \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:90\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":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7605192606beac177c674ecb16709e6e33eda6b9549b6fb6e65ac63024988cb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:214-232 | Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:668-686 | Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:1049-1067 \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 \u0060Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:214\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":"Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80f738c71af973ddcb69739e1a4b154e8ea445796eb4a91f457f06f072240b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): AIDictation.Windows/RecoveryContract/Program.cs:405-421 | AIDictation.Windows/RecoveryContract/Program.cs:468-486 \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 \u0060AIDictation.Windows/RecoveryContract/Program.cs:405\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb5a942bb12fdca33fcaae0472d1d18513a9c8c7fe4b7b5095ff4d0c14fc25b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Whishpermate/WhisperMateIOS/ContentView.swift:3570-3588 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:826-844 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/ContentView.swift\u0060 and \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 322 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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3570}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1aec42657208ab8a23cf08c566f54176904fb900c94be7872fcff40a59f1993"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Whishpermate/WhisperMateIOS/ContentView.swift:4025-4043 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1194-1212 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/ContentView.swift\u0060 and \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 322 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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":4025}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46903335542ba81931982d31d6a8ecbdd84a852f556316eed8e4568d7dd5f2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift:262-277 | Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift:308-326 \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":"Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b369c142290418352ddaa0811d2799b7fbab5bf227dff53c6e8e1b098936fc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 2): Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:751-769 | Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:819-833 \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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e62fefc56888ee502a4bf7049d71157abcc8b67d82cc4808d91d74563d02de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:424-442 | Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:517-535 \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 \u0060Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:424\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":"Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"816a95bdd0d997c2150d316c133380bd70868d4a88bb72941fad20cb2819a6a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Whishpermate/WhisperMateShared/AudioVisualizationView.swift:348-365 | Whishpermate/Whispermate/Views/RecordingOverlayView.swift:758-775 \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 \u0060Whishpermate/WhisperMateShared/AudioVisualizationView.swift:348\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/AudioVisualizationView.swift"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9d40c51f044d899a3795790e7d52016b60a3e21b7b7512b3c04356182819cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:72-87 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:60-77 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift\u0060 and \u0060Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 362 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 \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift: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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d89505e9ca7090e2fffe442877a8ed3ac867233c0b3406537e85c578d8ebc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:194-210 | Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:649-664 | Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:1029-1045 \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 \u0060Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:194\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":"Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2c8b579be15dc2234e2d87a15c0ff04a8026943344cef4673ce54670f0c575"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): AIDictation.Windows/RecoveryContract/Program.cs:732-746 | AIDictation.Windows/RecoveryContract/Program.cs:762-778 \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 \u0060AIDictation.Windows/RecoveryContract/Program.cs:732\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98c344ed722e3bfd7647f084d6dd5ece8b7bc3c0639f20331cd814451412ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): Whishpermate/WhisperMateIOS/TranscriptionSettingsView.swift:218-234 | Whishpermate/WhisperMateIOS/TranscriptionSettingsView.swift:281-296 \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 \u0060Whishpermate/WhisperMateIOS/TranscriptionSettingsView.swift:218\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/TranscriptionSettingsView.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83ebb41241228c933d8392a4c24b8d3aad0bf48b1e3d02379968b852b5cc6f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:246-269 | Whishpermate/Whispermate/Services/OpenAIClient.swift:460-483 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift\u0060 and \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 405 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 \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:246\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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c782c935f7c40f0ad967ca57ca958cc7130162ae8efaaecd7bcc4f040fdb2fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Whishpermate/WhisperMateIOS/ContentView.swift:3026-3041 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1373-1388 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/ContentView.swift\u0060 and \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 322 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 \u0060Whishpermate/WhisperMateIOS/ContentView.swift:3026\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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3026}}}],"partialFingerprints":{"codehealthFindingId/v1":"2328b737268f0215f093667ce671db5c1114a71b25ec3b9b29924d22d820702c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Whishpermate/WhisperMateIOS/ContentView.swift:3525-3540 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:797-812 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/ContentView.swift\u0060 and \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 322 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 \u0060Whishpermate/WhisperMateIOS/ContentView.swift:3525\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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3525}}}],"partialFingerprints":{"codehealthFindingId/v1":"2114413a66c59e03641fd87b74ef33d56e904eaf79af929d1e967a1e383e0c52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Whishpermate/WhisperMateIOS/ContentView.swift:4045-4060 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1214-1229 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/ContentView.swift\u0060 and \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 322 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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":4045}}}],"partialFingerprints":{"codehealthFindingId/v1":"083f4995ea3d57f96cb1c21f62a1853ea1922dad765051f49c6cb58a269108a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:12-27 | Whishpermate/Whispermate/Services/OpenAIClient.swift:13-28 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift\u0060 and \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 405 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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b01a5f46534e416827378bff545de5da35cf50f16636932ae539d1392aa29b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:675-690 | Whishpermate/Whispermate/Services/OpenAIClient.swift:924-939 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift\u0060 and \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 405 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 \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:675\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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57dd5b729c00ed6a032ae135a95fdee4070f500a907fc326f20adfdfeda589c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Whishpermate/Whispermate/Services/HotkeyManager.swift:510-525 | Whishpermate/Whispermate/Services/HotkeyManager.swift:541-556 \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 \u0060Whishpermate/Whispermate/Services/HotkeyManager.swift:510\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":"Whishpermate/Whispermate/Services/HotkeyManager.swift"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dea51eb661913990530e98ccba0d79d981a70a952617daa90400eb37d68fc8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): Whishpermate/Whispermate/Services/MacAsyncDeadline.swift:70-84 | Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:3454-3469 \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":"Whishpermate/Whispermate/Services/MacAsyncDeadline.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ed5aff6457cf9a4b115edb71bb3713621b143f7e4e35436331d2f84ab3f94e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:91-106 | Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:934-949 \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 \u0060Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:91\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":"Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c8f11f4e36eea4095c9453d8d885a2b90b42326626c4f89e561ef430f8644a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:659-673 | Whishpermate/Whispermate/Views/SettingsView.swift:1870-1885 \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 \u0060Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:659\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":"Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d97b048ab09f9199b93593aaba6de3d862e0ba41fce0d084b184cc581a20028"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Whishpermate/Whispermate/Views/SettingsView.swift:1139-1154 | Whishpermate/Whispermate/Views/SettingsView.swift:1171-1186 \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 \u0060Whishpermate/Whispermate/Views/SettingsView.swift:1139\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":"Whishpermate/Whispermate/Views/SettingsView.swift"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9acbfd8fb661629c9974bb8c5a64139945e4cd0896e8ec945d2367a601a463"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): Whishpermate/Whispermate/Views/SettingsView.swift:918-932 | Whishpermate/Whispermate/Views/SettingsView.swift:947-961 | Whishpermate/Whispermate/Views/SettingsView.swift:1038-1052 | Whishpermate/Whispermate/Views/SettingsView.swift:1065-1079 | Whishpermate/Whispermate/Views/SettingsView.swift:1414-1428 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Whishpermate/Whispermate/Views/SettingsView.swift:918\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Whishpermate/Whispermate/Views/SettingsView.swift:916\u0060 calls \u0060disabled\u0060 and \u0060Whishpermate/Whispermate/Views/SettingsView.swift:945\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":"Whishpermate/Whispermate/Views/SettingsView.swift"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"c317bba6cb9a4872622617de33d7dc81b12d9acab354b75f02dac0e0ca822b94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift:225-239 | Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:122-136 | Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:162-176 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:161\u0060 calls \u0060failure\u0060 and \u0060Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift:224\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"200398a4d345b317981c80d382a0814491245afc5e1238e668b7f458e3577e66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): AIDictation.Windows/AIDictation/Services/AppState.cs:97-109 | AIDictation.Windows/AIDictation/Services/AppState.cs:131-145 \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 \u0060AIDictation.Windows/AIDictation/Services/AppState.cs:97\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":"AIDictation.Windows/AIDictation/Services/AppState.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f67ea961308657fcc623ab6e69a0e6d60b88b492d7fb45d427f76fd76811c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): AIDictation.Windows/AIDictation/ViewModels/OnboardingViewModel.cs:353-367 | AIDictation.Windows/AIDictation/ViewModels/SettingsViewModel.cs:689-703 \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":"AIDictation.Windows/AIDictation/ViewModels/OnboardingViewModel.cs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ea1392800cce3c27da54376bda32bd39352d370954107ab14f0d5f7ffd88d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift:746-760 | Whishpermate/Whispermate/Services/AppState.swift:3962-3975 \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 \u0060Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift:746\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":"Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c174de43176f2f313dbe8a6497b19b2d3aa5664f3df0c22e7054688ef5c205"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): Whishpermate/Whispermate/WhispermateApp.swift:967-981 | Whishpermate/Whispermate/WhispermateApp.swift:1022-1035 \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 \u0060Whishpermate/Whispermate/WhispermateApp.swift:967\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":"Whishpermate/Whispermate/WhispermateApp.swift"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"30dd23102f58b4b723122f9d7c1c2b91e8e7aa188f5ad349366b14b462d4a952"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 6): Whishpermate/Whispermate/Views/SettingsView.swift:918-931 | Whishpermate/Whispermate/Views/SettingsView.swift:947-960 | Whishpermate/Whispermate/Views/SettingsView.swift:1038-1051 | Whishpermate/Whispermate/Views/SettingsView.swift:1065-1078 | Whishpermate/Whispermate/Views/SettingsView.swift:1414-1427 | Whishpermate/Whispermate/Views/SettingsView.swift:1703-1715 \u2014 all 6 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 \u0060Whishpermate/Whispermate/Views/SettingsView.swift:918\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Whishpermate/Whispermate/Views/SettingsView.swift:916\u0060 calls \u0060disabled\u0060 and \u0060Whishpermate/Whispermate/Views/SettingsView.swift:945\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":"Whishpermate/Whispermate/Views/SettingsView.swift"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bd83f419efa59084936f3e5610b6788a5fc3d18d3d385df7fc06dd35288b45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): AIDictation.Windows/RecoveryContract/Program.cs:1528-1533 | AIDictation.Windows/RecoveryContract/Program.cs:1556-1561 \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 \u0060AIDictation.Windows/RecoveryContract/Program.cs:1528\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":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"8495d503ca44bf2457ddfc82329ce352bb6186974f5fc49759cca9692a7bdc22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Whishpermate/WhisperMateIOS/ContentView.swift:355-368 | Whishpermate/WhisperMateIOS/ContentView.swift:370-383 \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 \u0060Whishpermate/WhisperMateIOS/ContentView.swift: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd98410bd677e2f979d6b4f1973c0954c82002db946fb1be4317a3e99755974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift:51-64 | Whishpermate/Whispermate/Services/SentryTelemetry.swift:51-64 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift\u0060 and \u0060Whishpermate/Whispermate/Services/SentryTelemetry.swift\u0060 as WHOLE FILES: this scan already matched 7 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. 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":"Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fed39e8d4c93e6ddb2e20cb2b1ecae96391751a28a34a780a9ab956e654c378"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201314 lines \u00D7 2): Whishpermate/WhisperMateKeyboard/KeyboardViewController.swift:170-183 | Whishpermate/WhisperMateKeyboard/KeyboardViewController.swift:315-322 \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 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":"Whishpermate/WhisperMateKeyboard/KeyboardViewController.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce043ab273da77150004c9b037e8bb7efee62f9649aeb631c1ba140c48d89e61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Whishpermate/WhisperMateShared/Models/PromptRule.swift:28-42 | Whishpermate/Whispermate/Models/PromptRule.swift:29-43 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Models/PromptRule.swift\u0060 and \u0060Whishpermate/Whispermate/Models/PromptRule.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"Whishpermate/WhisperMateShared/Models/PromptRule.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56dda5f368d26e7188a9c72281f73a6f385c6f1409f24872ef7137f0836ddad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Whishpermate/Whispermate/Services/AppState.swift:851-864 | Whishpermate/Whispermate/Services/AppState.swift:1088-1101 \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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01ed02acea94c792290a001c6315003eef905f36858ded5b6cd25fcfb5457ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:803-816 | Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:857-867 \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 \u0060Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:803\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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"87986c66e315fa97d6dcce1ee204bc0003064fbc74f1f6543c8506dd45076114"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Whishpermate/Whispermate/Services/OpenAIRealtimeTranscriptionClient.swift:144-157 | Whishpermate/Whispermate/Services/SonioxRealtimeTranscriptionClient.swift:149-162 \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 \u0060Whishpermate/Whispermate/Services/OpenAIRealtimeTranscriptionClient.swift:144\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"Whishpermate/Whispermate/Services/OpenAIRealtimeTranscriptionClient.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6252a516f1d44f19de84246519956d99c00d54bf470288b0172e85d4e8263c32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Whishpermate/WhisperMateIOS/ContentView.swift:2942-2954 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1313-1325 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/ContentView.swift\u0060 and \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 322 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 \u0060Whishpermate/WhisperMateIOS/ContentView.swift:2942\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":2942}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b2607d8507639f14832c6e2638bde0574b5fd212050ec5f37b47f0f3b918d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Whishpermate/WhisperMateIOS/ContentView.swift:3970-3981 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1151-1163 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/ContentView.swift\u0060 and \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 322 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 \u0060Whishpermate/WhisperMateIOS/ContentView.swift:3970\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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3970}}}],"partialFingerprints":{"codehealthFindingId/v1":"1117e3aeef405cdafa9b9fdc9913f43382ef39c5c1e862b4d286e7baa518fbf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:733-745 | Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:759-771 \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 \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:733\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa95b5e94cc52e2325bf2e729fc1107d004b2f9e2744419822a7bf8c7133ab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/AudioRecorder.swift:1094-1104 | Whishpermate/Whispermate/Services/FrequencyAnalyzer.swift:84-96 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/AudioRecorder.swift\u0060 and \u0060Whishpermate/Whispermate/Services/FrequencyAnalyzer.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Whishpermate/WhisperMateShared/Services/AudioRecorder.swift:1094\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/AudioRecorder.swift"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aab65bc5630b0e8e6c817dc60e1cbb9ac1cab272829ddb6bd6b4829b21d61ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): Whishpermate/WhisperMateShared/Storage/KeychainHelper.swift:14-31 | Whishpermate/Whispermate/Services/KeychainHelper.swift:9-28 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Storage/KeychainHelper.swift\u0060 and \u0060Whishpermate/Whispermate/Services/KeychainHelper.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 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":"Whishpermate/WhisperMateShared/Storage/KeychainHelper.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d81cd541d2b03a4c7138e10b1d861e109400b81d3746862f52c39f87f56e6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Whishpermate/WhisperMateShared/Storage/KeychainHelper.swift:75-87 | Whishpermate/Whispermate/Services/KeychainHelper.swift:65-77 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Storage/KeychainHelper.swift\u0060 and \u0060Whishpermate/Whispermate/Services/KeychainHelper.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 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 \u0060Whishpermate/WhisperMateShared/Storage/KeychainHelper.swift:75\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Storage/KeychainHelper.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af84a9e5b2be1c093bc3a11020c12d3df4878b4a8e5b127427185250930cf4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:54-66 | Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:899-911 \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 \u0060Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:54\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":"Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9d330a27140b093029898b5edc72625fecd33a77dec02f1b6a6e440ba1303f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): Whishpermate/Whispermate/Views/SettingsView.swift:815-826 | Whishpermate/Whispermate/Views/SettingsView.swift:893-904 | Whishpermate/Whispermate/Views/SettingsView.swift:1017-1028 | Whishpermate/Whispermate/Views/SettingsView.swift:1392-1403 | Whishpermate/Whispermate/Views/SettingsView.swift:1444-1455 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Whishpermate/Whispermate/Views/SettingsView.swift:815\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 \u0060spacing\u0060 to \u006012\u0060 in one and \u00602\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 before the matched lines, \u0060Whishpermate/Whispermate/Views/SettingsView.swift:808\u0060 calls \u0060groupHeader\u0060 and \u0060Whishpermate/Whispermate/Views/SettingsView.swift:1015\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":"Whishpermate/Whispermate/Views/SettingsView.swift"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d58c0efcd8bb590ec337d81ac95a08edb661321cf8b2d262c874f65156797d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): AIDictation.Windows/AIDictation/Services/AudioProcessingStore.cs:290-300 | AIDictation.Windows/AIDictation/Services/AudioProcessingStore.cs:392-402 | AIDictation.Windows/AIDictation/Services/AudioProcessingStore.cs:591-601 \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 \u0060AIDictation.Windows/AIDictation/Services/AudioProcessingStore.cs:290\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingStore.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c142a4131305d6cf0b59d50a76db48d91091712d345c053ec279a235ad27c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Whishpermate/Whispermate/Services/OpenAIClient.swift:961-972 | Whishpermate/Whispermate/Services/OpenAIClient.swift:990-1001 | Whishpermate/Whispermate/Services/OpenAIClient.swift:1019-1030 \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 \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift:961\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/OpenAIClient.swift"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf8671bbc44fdf315c3ddc6435e79409faee330cfdc2fa155f1ed2216fefcf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): AIDictation.Windows/AIDictation/Services/ClipboardService.cs:200-211 | AIDictation.Windows/AIDictation/Services/ClipboardService.cs:216-227 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AIDictation.Windows/AIDictation/Services/ClipboardService.cs:200\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":"AIDictation.Windows/AIDictation/Services/ClipboardService.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e272ba0d064710bb4a9137da4fc6bcc1c4cb09c65dc3831af11838b441726917"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): AIDictation.Windows/RecoveryContract/Program.cs:844-855 | AIDictation.Windows/RecoveryContract/Program.cs:917-928 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060AIDictation.Windows/RecoveryContract/Program.cs:844\u0060 calls \u0060True\u0060, \u0060Exists\u0060 and \u0060AIDictation.Windows/RecoveryContract/Program.cs:917\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":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ee2f2f34ccb1a72951853e0c2e35592bf8d14c64c0466ef2e2c5daee7066bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): AIDictation.Windows/RecoveryContract/Program.cs:1139-1147 | AIDictation.Windows/RecoveryContract/Program.cs:1174-1182 \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 \u0060AIDictation.Windows/RecoveryContract/Program.cs:1139\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, \u0060AIDictation.Windows/RecoveryContract/Program.cs:1149\u0060 calls \u0060Exists\u0060, \u0060Delete\u0060 and \u0060AIDictation.Windows/RecoveryContract/Program.cs:1184\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":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"315bdc43d9367afbf6a42bece0d3ff10d9ced05c111f15c304b494a93bbf8f6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Whishpermate/WhisperMateIOS/ContentView.swift:433-444 | Whishpermate/WhisperMateIOS/ContentView.swift:597-608 \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 \u0060Whishpermate/WhisperMateIOS/ContentView.swift:433\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 \u0060spacing\u0060 to \u006012\u0060 in one and \u006010\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, \u0060Whishpermate/WhisperMateIOS/ContentView.swift:445\u0060 calls \u0060lineLimit\u0060 and \u0060Whishpermate/WhisperMateIOS/ContentView.swift:609\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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6c121ae816e21692548893f715f20377a35f84281da3c09385de3b5baeb384"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1541-1552 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1584-1595 \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 \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1541\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, \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1553\u0060 calls \u0060pickerStyle\u0060, \u0060buttonStyle\u0060 and \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1597\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":"Whishpermate/WhisperMateIOS/RecordingSheetView.swift"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a041b215fc6ab79c8762390678b6c1601896fb56878354c8ce7699e2c168c37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift:85-96 | Whishpermate/Whispermate/Services/SentryTelemetry.swift:85-96 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift\u0060 and \u0060Whishpermate/Whispermate/Services/SentryTelemetry.swift\u0060 as WHOLE FILES: this scan already matched 7 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. 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":"Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c97fefe203f6fcc998acd01dba2c8ef94458cc2860441ecf43679b3c744473d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:158-169 | Whishpermate/Whispermate/Services/OpenAIClient.swift:349-360 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift\u0060 and \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 405 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 \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:158\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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab8c06c35ccc2200ac4272d47edf3f1a578a0892c5c6ff0eba2c17ff5208a1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:382-392 | Whishpermate/Whispermate/Services/OpenAIClient.swift:620-631 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift\u0060 and \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 405 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 \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:382\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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f056c612276ca9a6f4d1b3a27aaca8dd6d49a1b2c7deeaa44df6be99c8ded1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:432-443 | Whishpermate/Whispermate/Services/OpenAIClient.swift:656-667 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift\u0060 and \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 405 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 \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:432\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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf416ebb199ca5e05492f5d974c8c07c859d594b0f23a723622e683f0d3b9be2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:695-716 | Whishpermate/Whispermate/Services/OpenAIClient.swift:944-966 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift\u0060 and \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 405 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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"be67bd5135a7430351bf7f2800d282a6839e0d349d52c52f82d4b0932331589a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:420-438 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:405-423 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift\u0060 and \u0060Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 362 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 \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:420\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":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d37f4d33141cc4aad6b4b63602ce329ec79e1a39a7c141a4c7ad34ee89274f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:502-520 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:487-505 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift\u0060 and \u0060Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 362 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 \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:502\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":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00b85f2b69dcfe7febebd0520567ab7d391f4cb0db036f31158729001bbae0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Whishpermate/Whispermate/Services/AppState.swift:1639-1650 | Whishpermate/Whispermate/Services/AppState.swift:1709-1720 \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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"832ff67a3f842e4a3b4c7848005ec286320d5e7feee694f35b3c8500f51dc51a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Whishpermate/Whispermate/Services/ClipboardManager.swift:610-621 | Whishpermate/Whispermate/Services/ClipboardManager.swift:639-650 \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 \u0060Whishpermate/Whispermate/Services/ClipboardManager.swift:610\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":"Whishpermate/Whispermate/Services/ClipboardManager.swift"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2f5448c57dc7f574e3aebe917c8938e3ea86f3a451279fe4fab503dfd4861a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:203-212 | Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:657-666 | Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:1038-1047 | Whishpermate/Whispermate/Views/SettingsView.swift:1868-1878 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:203\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":"Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c8d21baadf07d9bdfb41cf7536a359d6b7f7dd071e840972ca0c491966361e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): Whishpermate/Whispermate/Views/SettingsView.swift:418-428 | Whishpermate/Whispermate/Views/SettingsView.swift:1256-1266 | Whishpermate/Whispermate/Views/SettingsView.swift:1688-1698 | Whishpermate/Whispermate/Views/SettingsView.swift:1708-1718 \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 \u0060Whishpermate/Whispermate/Views/SettingsView.swift: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":"Whishpermate/Whispermate/Views/SettingsView.swift"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"178fa9826c1dd3e25b219398b9bbd3aa264a515eda15a22d2141cd9dcc75e95d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Whishpermate/WhisperMateIOS/OnboardingView.swift:175-185 | Whishpermate/WhisperMateIOS/OnboardingView.swift:227-237 | Whishpermate/WhisperMateIOS/OnboardingView.swift:274-284 \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 \u0060Whishpermate/WhisperMateIOS/OnboardingView.swift:175\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 \u0060spacing\u0060 to \u006010\u0060 in one and \u00608\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":"Whishpermate/WhisperMateIOS/OnboardingView.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c3006c7b4bdb25d834cddb0899c312649491b08ad1db61d3d56afdc4749098"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift:66-83 | Whishpermate/Whispermate/Services/SentryTelemetry.swift:66-83 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift\u0060 and \u0060Whishpermate/Whispermate/Services/SentryTelemetry.swift\u0060 as WHOLE FILES: this scan already matched 7 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. 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":"Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d79813bd058249273c1bde886a7ae4224482db16d0dd234d841af890d157b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:306-319 | Whishpermate/Whispermate/Services/OpenAIClient.swift:533-546 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift\u0060 and \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 405 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 \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:306\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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f001a66feebe061660bd5babe122a1da91a5846dd1dc74c6fe74cce760685e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/AudioRecorder.swift:806-816 | Whishpermate/Whispermate/Services/AudioRecorder.swift:946-955 \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 \u0060Whishpermate/Whispermate/Services/AudioRecorder.swift:946\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/AudioRecorder.swift"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd20667bcb3560a9d98a1d158fc89a95ada00164b275b20407f41b12dbf9f28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:522-532 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:507-517 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift\u0060 and \u0060Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 362 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":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bbdbae3d88b7c8212eb9446a25daa0e04da7089bbba24189991bee304dfc2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Whishpermate/Whispermate/Services/AppState.swift:3234-3244 | Whishpermate/Whispermate/Services/AppState.swift:3739-3748 \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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":3234}}}],"partialFingerprints":{"codehealthFindingId/v1":"0178b3821e11e3201e014956ef5eeb8b53d453217c6c67a5e01ab46860ead9d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:537-547 | Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:652-662 \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 \u0060Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:537\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:535\u0060 calls \u0060partialURL\u0060, \u0060finalURL\u0060 and \u0060Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:650\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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"321bbe1518100e52e54b4488a65084eca4f9a27ba0a42e945968a6f1d6cc08cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Whishpermate/Whispermate/Services/OpenAIRealtimeTranscriptionClient.swift:165-175 | Whishpermate/Whispermate/Services/SonioxRealtimeTranscriptionClient.swift:222-232 \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 \u0060Whishpermate/Whispermate/Services/OpenAIRealtimeTranscriptionClient.swift:165\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Whishpermate/Whispermate/Services/OpenAIRealtimeTranscriptionClient.swift:162\u0060 calls \u0060enqueue\u0060 and \u0060Whishpermate/Whispermate/Services/SonioxRealtimeTranscriptionClient.swift:219\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":"Whishpermate/Whispermate/Services/OpenAIRealtimeTranscriptionClient.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"064cac6fd483123b5dea5112a0f29783d434ae60b67c6d7cb5bb2095eab34517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:120-130 | Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:963-973 \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 \u0060Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:120\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":"Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a3cfec246ee1255fe0dc51120dbf18c185e66bf14bc0562708098e48860727"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:150-160 | Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:992-1002 \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 \u0060Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:150\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":"Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca127dbbabdef237b6c73211443ddb62584956e3a1c02858172d5c022c01a87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Whishpermate/Whispermate/Views/OnboardingView.swift:426-436 | Whishpermate/Whispermate/Views/OnboardingView.swift:437-447 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Whishpermate/Whispermate/Views/OnboardingView.swift:424\u0060 calls \u0060modeStars\u0060, \u0060VStack\u0060 and \u0060Whishpermate/Whispermate/Views/OnboardingView.swift:436\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":"Whishpermate/Whispermate/Views/OnboardingView.swift"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ec2d4765761859b797247437c1cb050acf278799f6fe26b714ff68a0482ab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10): Whishpermate/Whispermate/Views/SettingsView.swift:818-827 | Whishpermate/Whispermate/Views/SettingsView.swift:896-905 | Whishpermate/Whispermate/Views/SettingsView.swift:924-933 | Whishpermate/Whispermate/Views/SettingsView.swift:953-962 | Whishpermate/Whispermate/Views/SettingsView.swift:1020-1029 | Whishpermate/Whispermate/Views/SettingsView.swift:1044-1053 | Whishpermate/Whispermate/Views/SettingsView.swift:1071-1080 | Whishpermate/Whispermate/Views/SettingsView.swift:1395-1404 | Whishpermate/Whispermate/Views/SettingsView.swift:1420-1429 | Whishpermate/Whispermate/Views/SettingsView.swift:1447-1456 \u2014 all 10 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 \u0060Whishpermate/Whispermate/Views/SettingsView.swift:818\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Whishpermate/Whispermate/Views/SettingsView.swift:1389\u0060 calls \u0060groupHeader\u0060 and \u0060Whishpermate/Whispermate/Views/SettingsView.swift:1015\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":"Whishpermate/Whispermate/Views/SettingsView.swift"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"0588e8b09b673002a3983e0a438e509b6257ec30f2ae8f4a0649fa0ff64a372f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 6): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:73-81 | Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:129-136 | Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:177-184 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:61-70 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:115-122 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:167-174 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift\u0060 and \u0060Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 362 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 \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:73\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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. 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":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bf91c9065bed0067afdc2061fe5d75fc7a6cb6e0c14a1bfbfd5a1fa353ec62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:722-731 | Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:748-757 | Whishpermate/Whispermate/Services/OpenAIClient.swift:975-984 | Whishpermate/Whispermate/Services/OpenAIClient.swift:1004-1013 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift\u0060 and \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 405 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 \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:722\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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0792590c7291dd37b3e8dd9d3a5a9d94ba4bb83efc3e877a49d8c20be3f09e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): AIDictation.Windows/RecoveryContract/Program.cs:846-855 | AIDictation.Windows/RecoveryContract/Program.cs:919-928 | AIDictation.Windows/RecoveryContract/Program.cs:1431-1440 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060AIDictation.Windows/RecoveryContract/Program.cs:844\u0060 calls \u0060True\u0060, \u0060Exists\u0060 and \u0060AIDictation.Windows/RecoveryContract/Program.cs:917\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":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a576f3393b8fe9ea2391c766d108a3100f83ab493cc18a7777b9e1ea994bda3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 3): Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1542-1551 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1585-1594 | Whishpermate/Whispermate/Services/OverlayWindowManager.swift:562-568 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift:1542\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":"Whishpermate/WhisperMateIOS/RecordingSheetView.swift"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f2b47390b8413dcb4e50c93c2706c18141cc0aaf37d2af429c49b1f3973830"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs:915-924 | AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs:1366-1374 \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 \u0060AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs:915\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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c1cd13b9e322c6d1d240d32cbd405485e7965ac38b6e5a845b0fb8974ccaf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Whishpermate/WhisperMateIOS/ContentView.swift:230-239 | Whishpermate/WhisperMateIOS/ContentView.swift:581-590 \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 \u0060Whishpermate/WhisperMateIOS/ContentView.swift:230\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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"8186706d51f5db9ab0dad78043d22144605ab1c20e83ad0e21af36f820d2970c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Whishpermate/WhisperMateIOS/ContentView.swift:3689-3698 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:911-920 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/ContentView.swift\u0060 and \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 322 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 \u0060Whishpermate/WhisperMateIOS/ContentView.swift:3689\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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3689}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc4ac8cccf4de68c6aeab0cd27c2253e89dfc15dd80e6195f23102b0e251b17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Whishpermate/WhisperMateIOS/ContentView.swift:4265-4274 | Whishpermate/WhisperMateIOS/RecordingSheetView.swift:240-249 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/ContentView.swift\u0060 and \u0060Whishpermate/WhisperMateIOS/RecordingSheetView.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 322 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 \u0060Whishpermate/WhisperMateIOS/ContentView.swift:4265\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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":4265}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9728454fb7fe3fbaa5fdb776e30e702ffb6b7dabe4393949779107ab9c2915b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Whishpermate/WhisperMateShared/Models/Recording.swift:44-53 | Whishpermate/Whispermate/Models/Recording.swift:125-134 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Models/Recording.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cc9179c3664694c7f38c4facd9e0054986090ac3361bd0b13c49bd6b2e1669"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:478-487 | Whishpermate/Whispermate/Services/OpenAIClient.swift:693-702 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift\u0060 and \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 405 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 \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:478\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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d921364aff7d417ad89c59d7fbff1ca3c7a1d4c387877083344b693aac63a87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/AuthManager.swift:480-489 | Whishpermate/WhisperMateShared/Services/AuthManager.swift:504-513 \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 \u0060Whishpermate/WhisperMateShared/Services/AuthManager.swift:480\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":"Whishpermate/WhisperMateShared/Services/AuthManager.swift"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c6b2e66a955693ef5ad994aa69f2ad2e9bcd1642404448972dede67d88903f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/KeyboardDictationHandoff.swift:419-430 | Whishpermate/WhisperMateShared/Services/KeyboardDictationHandoff.swift:468-477 \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 \u0060Whishpermate/WhisperMateShared/Services/KeyboardDictationHandoff.swift:419\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/KeyboardDictationHandoff.swift"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe507c06de8a07460591a5fc5ebd375b8a1004eec338b8c2a2442980ea33ac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:2710-2715 | Whishpermate/WhisperMateShared/Storage/HistoryManager.swift:488-497 \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 \u0060Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:2710\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":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":2710}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfbf58239bd4fca84d40209271488be487beda0605f9b27abfea3423fb321fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:2832-2837 | Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:2904-2913 \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 \u0060Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:2904\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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":2832}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4c88751b61d6c00db8237aa475bf89ef3a844350086873f506d71444c277b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/SecretsLoader.swift:87-96 | Whishpermate/Whispermate/Services/SecretsLoader.swift:65-74 \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 \u0060Whishpermate/WhisperMateShared/Services/SecretsLoader.swift:87\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":"Whishpermate/WhisperMateShared/Services/SecretsLoader.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbeb2c857e2c045cde29f1eac052c14edb4f4201b75070041b5b79a9bfe2d404"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Whishpermate/WhisperMateShared/Storage/KeychainHelper.swift:50-59 | Whishpermate/Whispermate/Services/KeychainHelper.swift:42-51 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Storage/KeychainHelper.swift\u0060 and \u0060Whishpermate/Whispermate/Services/KeychainHelper.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 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 \u0060Whishpermate/WhisperMateShared/Storage/KeychainHelper.swift:50\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":"Whishpermate/WhisperMateShared/Storage/KeychainHelper.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"530f3127a7e4b7c7de533dc2a81796995fae0986abacc4c1f2242f7cf9991fc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Whishpermate/Whispermate/Services/OpenAIRealtimeTranscriptionClient.swift:261-270 | Whishpermate/Whispermate/Services/SonioxRealtimeTranscriptionClient.swift:294-303 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/OpenAIRealtimeTranscriptionClient.swift"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37b7944dcef6b3c43d75517ee41822b20bf15c013e246cd7684eb24e02ef724"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): Whishpermate/WhisperMateShared/Services/DebugLog.swift:22-30 | Whishpermate/WhisperMateShared/Services/DebugLog.swift:34-42 | Whishpermate/WhisperMateShared/Services/DebugLog.swift:70-78 | Whishpermate/Whispermate/Services/DebugLog.swift:28-36 | Whishpermate/Whispermate/Services/DebugLog.swift:40-48 | Whishpermate/Whispermate/Services/DebugLog.swift:79-87 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/DebugLog.swift\u0060 and \u0060Whishpermate/Whispermate/Services/DebugLog.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. 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":"Whishpermate/WhisperMateShared/Services/DebugLog.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf4d1f9b02f8bbfff729873ed3206f27d56a6bf84be4f3222feacd5bfd13b8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): Whishpermate/Whispermate/Views/SettingsView.swift:419-427 | Whishpermate/Whispermate/Views/SettingsView.swift:1257-1265 | Whishpermate/Whispermate/Views/SettingsView.swift:1689-1697 | Whishpermate/Whispermate/Views/SettingsView.swift:1709-1717 | Whishpermate/Whispermate/Views/SettingsView.swift:1733-1741 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060spacing\u0060 to \u00604\u0060 in one and \u00602\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":"Whishpermate/Whispermate/Views/SettingsView.swift"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ea7f08105e027a965976b51c2280274dc67034e7e881222e0be14a8c1db5f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): Whishpermate/WhisperMateIOS/OnboardingView.swift:149-157 | Whishpermate/WhisperMateIOS/OnboardingView.swift:173-181 | Whishpermate/WhisperMateIOS/OnboardingView.swift:225-233 | Whishpermate/WhisperMateIOS/OnboardingView.swift:272-280 \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 \u0060Whishpermate/WhisperMateIOS/OnboardingView.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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060spacing\u0060 to \u00600\u0060 in one and \u006012\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":"Whishpermate/WhisperMateIOS/OnboardingView.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e2f8e343a7b39f3b0636f71f3d2e43812186a438b77ac9ce82136bd68b30ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Whishpermate/WhisperMateIOS/ContentView.swift:355-363 | Whishpermate/WhisperMateIOS/ContentView.swift:370-378 | Whishpermate/WhisperMateIOS/ContentView.swift:385-393 \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 \u0060Whishpermate/WhisperMateIOS/ContentView.swift: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"1156eafbe864a264f4470d31c747ae27d9e2bf680ed087db8c2d63467b175eb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:588-595 | Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:621-628 | Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:652-660 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06fe9db606f201b9b85ae9c5443cb6aa41b456df02169985f786e740410e94b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Whishpermate/Whispermate/Services/ClipboardManager.swift:596-604 | Whishpermate/Whispermate/Services/ClipboardManager.swift:608-616 | Whishpermate/Whispermate/Services/ClipboardManager.swift:637-645 \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":"Whishpermate/Whispermate/Services/ClipboardManager.swift"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2aaf66bb3844afff5f0f9a216dbda2598130ac13df17933e4bc0dcc3cdafa9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): AIDictation.Windows/AIDictation/ViewModels/OnboardingViewModel.cs:411-418 | AIDictation.Windows/AIDictation/ViewModels/SettingsViewModel.cs:799-806 \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. 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":"AIDictation.Windows/AIDictation/ViewModels/OnboardingViewModel.cs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2267939ae4997e852002f9abc4460a5cf820dd9acba0662257ee6c05a42ae55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Whishpermate/WhisperMateIOS/ContentView.swift:341-349 | Whishpermate/WhisperMateIOS/ContentView.swift:475-483 \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 \u0060Whishpermate/WhisperMateIOS/ContentView.swift:341\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 \u0060spacing\u0060 to \u006016\u0060 in one and \u00608\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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"712815413875fa2ab188320f3ae13dcbba3f911591ad294c403f4e92ce0f5b7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/DebugLog.swift:58-66 | Whishpermate/Whispermate/Services/DebugLog.swift:67-75 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/DebugLog.swift\u0060 and \u0060Whishpermate/Whispermate/Services/DebugLog.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. 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":"Whishpermate/WhisperMateShared/Services/DebugLog.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9459402e7edb5a86c04df2336ff87b0b568e0bd3b9ea1b040bffd405045227ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift:250-259 | Whishpermate/Whispermate/Services/MacAsyncDeadline.swift:52-60 \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 \u0060Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift:250\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":"Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d1534fc31c36915a0af6d8675395b79dc845e580e81845530b02cc3c0f9ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Whishpermate/Whispermate/Services/ClipboardManager.swift:583-591 | Whishpermate/Whispermate/Services/ClipboardManager.swift:625-633 \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":"Whishpermate/Whispermate/Services/ClipboardManager.swift"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda439cdde10403276f04014535892d3fa13f03736ccedb6957238588a0bdbb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Whishpermate/Whispermate/Services/FnKeyMonitor.swift:127-135 | Whishpermate/Whispermate/Services/HotkeyManager.swift:568-576 \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 \u0060Whishpermate/Whispermate/Services/FnKeyMonitor.swift:127\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Whishpermate/Whispermate/Services/FnKeyMonitor.swift:122\u0060 calls \u0060info\u0060 and \u0060Whishpermate/Whispermate/Services/HotkeyManager.swift:563\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":"Whishpermate/Whispermate/Services/FnKeyMonitor.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aad006df74e4e000b460f1d5471b7cfcde17b2db75bda1f1b1a6c22dfa0b563"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Whishpermate/Whispermate/Services/HotkeyManager.swift:500-508 | Whishpermate/Whispermate/Services/HotkeyManager.swift:531-539 \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 \u0060Whishpermate/Whispermate/Services/HotkeyManager.swift:500\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":"Whishpermate/Whispermate/Services/HotkeyManager.swift"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d4d76fd788d63d0cf6623f3fcc10e4ac894755f3d7728f290a9f38df54b1a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift:136-144 | Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift:212-220 \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 \u0060Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift: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":"Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f29b12045f1cf6ff60eb57aab2b2aaf6e475157032f8d5d7397635326bb8fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Whishpermate/Whispermate/Views/HistoryView.swift:140-148 | Whishpermate/Whispermate/Views/HistoryView.swift:302-310 \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 \u0060Whishpermate/Whispermate/Views/HistoryView.swift:140\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":"Whishpermate/Whispermate/Views/HistoryView.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c20256a7701b032aa16560910885c2487030871625c320082c88deac5ae6946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): AIDictation.Windows/AIDictation/App.xaml.cs:358-365 | AIDictation.Windows/AIDictation/App.xaml.cs:366-373 \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":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38e669e3421456bb62ec11690f22612a0340512b7d48b6339ef55944fe2d62e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift:106-114 | Whishpermate/Whispermate/Services/SentryTelemetry.swift:165-173 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift\u0060 and \u0060Whishpermate/Whispermate/Services/SentryTelemetry.swift\u0060 as WHOLE FILES: this scan already matched 7 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. 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 \u0060Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift:106\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":"Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c815403951c551ae4654303de8274102cd76937b25c43d2db6f42c7b2d517e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Whishpermate/WhisperMateIOS/TranscriptionSettingsView.swift:11-18 | Whishpermate/Whispermate/Views/Components/TranscriptionSettingsView.swift:11-18 \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 \u0060Whishpermate/WhisperMateIOS/TranscriptionSettingsView.swift:11\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":"Whishpermate/WhisperMateIOS/TranscriptionSettingsView.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3115923a109db716746a9527790b644f262c0baa4dbad165fd4f369870bad8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/SecretsLoader.swift:106-113 | Whishpermate/Whispermate/Services/SecretsLoader.swift:84-91 \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 \u0060Whishpermate/Whispermate/Services/SecretsLoader.swift:84\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Whishpermate/Whispermate/Services/SecretsLoader.swift:83\u0060 calls \u0060trimmingCharacters\u0060 and \u0060Whishpermate/WhisperMateShared/Services/SecretsLoader.swift:105\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":"Whishpermate/WhisperMateShared/Services/SecretsLoader.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90a8d5814595984a9cc3bf89cd4670207ae888e8ca036333c40d9fc225bb3e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:1515-1522 | Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:1546-1553 \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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76c0c38cdd08af948646dede5633096126a67d66751f273e79ff499bba636a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift:271-277 | Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift:302-308 \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 \u0060Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift:271\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":"Whishpermate/WhisperMateShared/Services/OpenAIRealtimeTranscriptionClient.swift"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51a0e8096595ed184f302bc993d7a1eac8120d7943f33fb92a54c21ac27350a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Whishpermate/WhisperMateShared/Storage/KeychainHelper.swift:101-107 | Whishpermate/Whispermate/Services/KeychainHelper.swift:86-92 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Storage/KeychainHelper.swift\u0060 and \u0060Whishpermate/Whispermate/Services/KeychainHelper.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 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 \u0060Whishpermate/WhisperMateShared/Storage/KeychainHelper.swift:101\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":"Whishpermate/WhisperMateShared/Storage/KeychainHelper.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd97c32ff7c6c86d08b2ed6b29de3c4a0e622a6da425a9882cb9d1cfad4648df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Whishpermate/Whispermate/Services/SendToAIManager.swift:17-23 | Whishpermate/Whispermate/Services/TextFormattingManager.swift:45-51 \u2014 before extracting anything, compare \u0060Whishpermate/Whispermate/Services/SendToAIManager.swift\u0060 and \u0060Whishpermate/Whispermate/Services/TextFormattingManager.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 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 \u0060Whishpermate/Whispermate/Services/SendToAIManager.swift:17\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, \u0060Whishpermate/Whispermate/Services/TextFormattingManager.swift:52\u0060 calls \u0060showNotification\u0060 and \u0060Whishpermate/Whispermate/Services/SendToAIManager.swift:24\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":"Whishpermate/Whispermate/Services/SendToAIManager.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cb05331463c7d206d11085b7ff374489ae42876e0d4852449722778d7dbeb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift:351-357 | Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift:429-435 \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 \u0060Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift:351\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 \u0060spacing\u0060 to \u00606\u0060 in one and \u006016\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, \u0060Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift:436\u0060 calls \u0060dsFont\u0060 and \u0060Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift:358\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":"Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be14ea751c990da05450841fc747837ac6fb1bd11a4af5a2d0de0da086bda9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:1872-1878 | Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:1881-1887 | Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:2752-2758 | Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:2761-2767 \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 \u0060Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:2752\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":1872}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb3c474ce2c8fb901c4cf8be4785379e2d8298093b2d4d195cedc6b01772326"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:1092-1097 | Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:1518-1523 | Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:1549-1554 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc98d3a9e3cca359e031efab27276ed420bc0e23e4d15a1f49979f300c4a989"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Whishpermate/WhisperMateShared/Models/PromptRule.swift:73-78 | Whishpermate/Whispermate/Models/PromptRule.swift:74-79 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Models/PromptRule.swift\u0060 and \u0060Whishpermate/Whispermate/Models/PromptRule.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"Whishpermate/WhisperMateShared/Models/PromptRule.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b33171770f3ec76fd25d3cf670054144ff160c3afe7b97c7f17d3cde48d05d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/AudioRecorder.swift:1108-1113 | Whishpermate/Whispermate/Services/FrequencyAnalyzer.swift:101-111 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/AudioRecorder.swift\u0060 and \u0060Whishpermate/Whispermate/Services/FrequencyAnalyzer.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/AudioRecorder.swift"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b66d586a89f245df76f879ee6fea608723ea954a1462fd37772dbcaeb6b32d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/DebugLog.swift:13-18 | Whishpermate/Whispermate/Services/DebugLog.swift:19-24 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/DebugLog.swift\u0060 and \u0060Whishpermate/Whispermate/Services/DebugLog.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Whishpermate/WhisperMateShared/Services/DebugLog.swift:13\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":"Whishpermate/WhisperMateShared/Services/DebugLog.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"251e1a8566bc88ad7969c5f6225f016b981ef525f0816ca9282bc469afc8d1bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:1080-1085 | Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:1462-1467 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:1460\u0060 calls \u0060now\u0060 and \u0060Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:1078\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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"a351c338c697b0fbc4429c450ea8e71ec329731e6f6ce065aac7cffd10030331"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): AIDictation.Windows/RecoveryContract/Program.cs:731-736 | AIDictation.Windows/RecoveryContract/Program.cs:1029-1033 \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 \u0060AIDictation.Windows/RecoveryContract/Program.cs:1029\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2aabc25d27242595561f1fb39dc6f433ffe65ef13a0c07b0a1e914423fa7ddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift:121-128 | Whishpermate/Whispermate/Services/SentryTelemetry.swift:180-187 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift\u0060 and \u0060Whishpermate/Whispermate/Services/SentryTelemetry.swift\u0060 as WHOLE FILES: this scan already matched 7 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. 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":"Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"720b92dc3462c8e65a38619099f91506207c35c26eedfdfa65824ae20437b4b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Whishpermate/WhisperMateShared/Models/PromptRule.swift:65-70 | Whishpermate/Whispermate/Models/PromptRule.swift:66-71 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Models/PromptRule.swift\u0060 and \u0060Whishpermate/Whispermate/Models/PromptRule.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"Whishpermate/WhisperMateShared/Models/PromptRule.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f412a2f8cdd5f2c1954593dcc52a4b78bd015677c42a2683159b1d16438abb88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:243-247 | Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:573-577 \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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a56b126d47341fdcb4319acbcadff0724c7da26393f2f1c91b73c5410adfcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/RealtimePCMConverter.swift:79-83 | Whishpermate/Whispermate/Services/AudioRecorder.swift:1438-1444 \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 \u0060Whishpermate/Whispermate/Services/AudioRecorder.swift:1438\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":"Whishpermate/WhisperMateShared/Services/RealtimePCMConverter.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9372e14296dfe9710b91bbe4941127a390a2099dd8ffe13e4434cde0895399b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Whishpermate/Whispermate/Services/FnKeyMonitor.swift:140-145 | Whishpermate/Whispermate/Services/HotkeyManager.swift:582-587 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Whishpermate/Whispermate/Services/FnKeyMonitor.swift:140\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":"Whishpermate/Whispermate/Services/FnKeyMonitor.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"178035fe31440cbfc9baec020b6d4284065189ebfb8ceca2ee3325c51b852b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:1358-1363 | Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift:1430-1435 \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":"Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd199645898e3a1db391df458d0e0ff581fdeb5f2a9111656e8959f3c507645a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Whishpermate/Whispermate/Views/SettingsView.swift:870-874 | Whishpermate/Whispermate/Views/SettingsView.swift:1648-1658 \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 \u0060Whishpermate/Whispermate/Views/SettingsView.swift:870\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 \u0060spacing\u0060 to \u006012\u0060 in one and \u006010\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":"Whishpermate/Whispermate/Views/SettingsView.swift"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbad757a6a6c874152a4d61e7a0ef9e093c132278fc894bf18a163cc3949f3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs:1993-1998 | AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs:974-979 | AIDictation.Windows/AIDictation/Services/BoundedHttpContentReader.cs:188-193 | AIDictation.Windows/AIDictation/Services/HistoryService.cs:332-337 \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 all 4 call sites, so a change lands once. 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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ca04aa7a28b2414884d611917d5b02e0cdbbfd50ac2d4ab7a6fb430364ed0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs:1993-1998 | AIDictation.Windows/AIDictation/Services/BoundedHttpContentReader.cs:188-193 \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. 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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d27c7d9bcb6a9074210536f0123a0241e0407a2d529385ab0c2a9756320f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Whishpermate/WhisperMateShared/Models/PromptRule.swift:81-85 | Whishpermate/Whispermate/Models/PromptRule.swift:82-86 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Models/PromptRule.swift\u0060 and \u0060Whishpermate/Whispermate/Models/PromptRule.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Models/PromptRule.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda57b0797cf5314c0c1243d827d8037d6a834c7bf14a13eeb83069fd147014b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Whishpermate/WhisperMateShared/Models/Recording.swift:37-42 | Whishpermate/Whispermate/Models/Recording.swift:118-123 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Models/Recording.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54f5b66fbd25152954951dec4cbe5730c4785860f12c45ec7896ab2ceb45194"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:515-522 | Whishpermate/Whispermate/Services/OpenAIClient.swift:752-763 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift\u0060 and \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 405 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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56510fae7f39bf6474c06fd4f818d855a8918eb87f57da14c2551420adf1461"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift:193-203 | Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:69-79 \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":"Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7de6190447a1324bf7e069f7d3805c7fecd1fd15454e2a892797fb5eea60298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/MobileInstallationAnalytics.swift:181-189 | Whishpermate/Whispermate/WhispermateApp.swift:167-175 \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":"Whishpermate/WhisperMateShared/Services/MobileInstallationAnalytics.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01a37ea8a91dc8bd06825ddf6bdede95de20608c9455669f5c6a826d5842188"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/RecordingFinalizationAttempt.swift:25-33 | Whishpermate/WhisperMateShared/Services/RecordingPreparationAttempt.swift:38-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/RecordingFinalizationAttempt.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00d02eadd3a321aa3a6180be575143ca3d713f70856e14f85e9f4d9968ccd83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/RecordingFinalizationAttempt.swift:35-41 | Whishpermate/WhisperMateShared/Services/RecordingPreparationAttempt.swift:64-70 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/RecordingFinalizationAttempt.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9426512b3d009b4c56c4dd89ae797103d90704877e24e6b7e273e38ff5765fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/RecordingFinalizationAttempt.swift:43-49 | Whishpermate/WhisperMateShared/Services/RecordingPreparationAttempt.swift:72-78 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/RecordingFinalizationAttempt.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"350cc18ecdd75bbd197c6866f3bd37f6bb08e98433b66d83c72e10d1be6cd434"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:306-316 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:303-313 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift\u0060 and \u0060Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 362 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":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"8578160901c5ff0fed4b0b0f6341dfaf02cab869405f9a3e9b564287b584a3bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:318-332 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:315-329 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift\u0060 and \u0060Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 362 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":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a49feffb8f466bd93973683c5126bbda3b1ffcce0387bfef8c4aff6170f866"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:440-452 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:425-437 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift\u0060 and \u0060Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 362 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":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"052a15cbfa439d85e3363ef56bc68f32a6b4220dc7fa7a3a126dd07c3f9a9194"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:454-466 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:439-451 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift\u0060 and \u0060Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 362 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":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"19894d19ca6d7795a8d3b5d878383107a42a73ebacf5dd53bad8a9823c451b2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift:534-540 | Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift:519-525 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift\u0060 and \u0060Whishpermate/Whispermate/Services/ParakeetTranscriptionService.swift\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 362 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":"Whishpermate/WhisperMateShared/Services/SharedParakeetTranscriptionService.swift"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0b4fd2060c97ea153d9a6a6933d79f0e5de2eb33cdbdc048f95012b43eced3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift:694-705 | Whishpermate/Whispermate/Services/AppState.swift:4032-4043 | Whishpermate/Whispermate/Services/VoiceActivityDetector.swift:149-160 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/SharedTranscriptionService.swift"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3dba470f5853c89ea7cd84d7f1c16ba09f87b5679569177df7847a89eeee78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Whishpermate/Whispermate/Services/FnKeyMonitor.swift:257-265 | Whishpermate/Whispermate/Services/HotkeyManager.swift:589-597 \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":"Whishpermate/Whispermate/Services/FnKeyMonitor.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae11ac0c5b0d310865e98f92ea0fc696f78dc92112121686950bf23676b22a5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Whishpermate/Whispermate/Services/HotkeyGestureResolver.swift:23-27 | Whishpermate/Whispermate/Services/HotkeyManager.swift:1043-1047 \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":"Whishpermate/Whispermate/Services/HotkeyGestureResolver.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2403954d1b7777211aeff3c248e926556af0fea3fb0b077a3527b578e55c11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Whishpermate/Whispermate/Services/OpenAIRealtimeTranscriptionClient.swift:94-104 | Whishpermate/Whispermate/Services/SonioxRealtimeTranscriptionClient.swift:122-132 \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":"Whishpermate/Whispermate/Services/OpenAIRealtimeTranscriptionClient.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"37def81bf7ac548cd2f73e8f019a4a362bbe272dd76c3187de966f61f2e4313b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Whishpermate/Whispermate/Services/SendToAIManager.swift:95-103 | Whishpermate/Whispermate/Services/TextFormattingManager.swift:190-198 \u2014 before extracting anything, compare \u0060Whishpermate/Whispermate/Services/SendToAIManager.swift\u0060 and \u0060Whishpermate/Whispermate/Services/TextFormattingManager.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 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":"Whishpermate/Whispermate/Services/SendToAIManager.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"326cd07a6984c5354df95e1f754a79b366c8ff08bf5cc36d72e700e2b2177cc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Whishpermate/WhisperMateShared/Managers/DictionaryManager.swift:93-97 | Whishpermate/WhisperMateShared/Managers/ShortcutManager.swift:88-92 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Managers/DictionaryManager.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0036aa59e43abb7a08573d110aa28c56b6d52db5691a9daf674252747cd9e11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift:98-104 | Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift:51-57 \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":"Whishpermate/WhisperMateShared/Services/IOSAudioProcessingDeadline.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"648ce9f2a39f60d56fdd612c67a5c5fd5aaf2234e1c7a901944542c17bbac3d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Whishpermate/Whispermate/Services/AppState.swift:4045-4056 | Whishpermate/Whispermate/Services/VoiceActivityDetector.swift:162-173 \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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":4045}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bd09a0fa2d17a51946304d16b628a18e00c26277957a912c6195a9dcf8d9bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Whishpermate/Whispermate/Services/FnKeyMonitor.swift:167-177 | Whishpermate/Whispermate/Services/HotkeyManager.swift:698-708 \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":"Whishpermate/Whispermate/Services/FnKeyMonitor.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7014cd42f2b8b13096ab97707bb395d5d3168b81e5b72e39f8f612881d3a87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift:130-135 | Whishpermate/Whispermate/Services/SentryTelemetry.swift:230-235 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift\u0060 and \u0060Whishpermate/Whispermate/Services/SentryTelemetry.swift\u0060 as WHOLE FILES: this scan already matched 7 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd9cbf0349312c336b6343216f355d0a07397064b145999059ac428b68beb81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:323-327 | Whishpermate/Whispermate/Services/OpenAIClient.swift:564-568 \u2014 before extracting anything, compare \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift\u0060 and \u0060Whishpermate/Whispermate/Services/OpenAIClient.swift\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 405 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 \u0060Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift:323\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f5cdee4b54405c0d3061257bdf678f273a1238e00163544b42ba4e457139e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt:1270-1298 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt:1416-1444 \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 \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt:1270\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbfb1fcedf3ef35a4446af6c9e0253074c856594d4ccbc85204484e50d4edfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/RecordingDetailScreen.kt:123-143 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/RecordingDetailSheet.kt:97-119 \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 \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/RecordingDetailScreen.kt:123\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/RecordingDetailScreen.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"901c257aef0f2dc8628ed81e980e4918de7e718401993e1b75c64ea2ef4c68d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetLiteRtModel.kt:39-59 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetTranscriber.kt:382-402 \u2014 before extracting anything, compare \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetLiteRtModel.kt\u0060 and \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetTranscriber.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetLiteRtModel.kt:39\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetLiteRtModel.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c978f6d0c4c50b8e50db65c627be58d547168bc88db76b63a40e3a2110816a5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt:1199-1217 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt:1259-1277 \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 \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt:1199\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7f5eaec3fd5df4a42c2df36e9073ebf8780f647ae15242e6519b263b939d52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt:306-323 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt:505-522 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt:750-767 \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 \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt:306\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c18833169570fce6249fb07b27ea50b9d3a51280b369ac5b00a8e1814159ef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt:1408-1424 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/settings/SettingsScreen.kt:653-670 \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 \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt:1408\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"500e73a2643a43b29d6a7eb1b31fa802d900713d535302bdd8287aa62b4d77ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainViewModel.kt:164-180 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingViewModel.kt:360-376 \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. 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainViewModel.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"58aac38bf7a2eb3f646f7af3a463dcf1556925db9a1684b41ae46cb54d4c5cc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/CommandClient.kt:76-91 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/CommandClient.kt:175-190 \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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/CommandClient.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b494f61ad89b372bacdfb0b198aa65349f5fe333bdfe25213ace848c7a098d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/CircularMicButtonView.kt:174-189 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/OverlayMicButtonView.kt:239-254 \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 \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/CircularMicButtonView.kt:174\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/CircularMicButtonView.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eec21f959fe6bbd6227ae6941afa035b67c52dc5a1c48455baa8547e0c0fd33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainViewModel.kt:354-367 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainViewModel.kt:437-449 \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 \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainViewModel.kt:354\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainViewModel.kt:368\u0060 calls \u0060e\u0060 and \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainViewModel.kt:450\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainViewModel.kt"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"512c7799e01b45edec99d862e8606206470404c46a362bed153115e52ce5123d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt:215-228 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt:584-597 \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 \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt:215\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"131636c4b2d5eb402488fcdfe064ca42cb53439439b95daa233a19283b6eb4ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/LanguagePostProcessClient.kt:73-85 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/TranscriptionClient.kt:307-318 \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 \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/LanguagePostProcessClient.kt:73\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/LanguagePostProcessClient.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34efc73f4e18ea0cf5f96a6e49c2841a12bc47cf7cb3ab7fe6b58095b82f0a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/CommandClient.kt:46-56 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/CommandClient.kt:141-151 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/SuggestionClient.kt:35-45 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/CommandClient.kt:46\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/CommandClient.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd48e8fd0e272928ef5e54e18cfa2facb5282e0f1e50858a940275dae1babb11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/settings/SettingsScreen.kt:226-236 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/settings/SettingsScreen.kt:243-253 \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 \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/settings/SettingsScreen.kt:226\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/settings/SettingsScreen.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"655136088cd04fc015e2ae4155776a50769081cb439d6dbbc6b3f945c21d9c27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/CommandClient.kt:95-104 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/CommandClient.kt:194-203 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/SuggestionClient.kt:67-76 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/CommandClient.kt:95\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/CommandClient.kt:93\u0060 calls \u0060d\u0060 and \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/SuggestionClient.kt:65\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/CommandClient.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6dedde25c70ece7994a36b44cb52d434229b44606b91d1e5be73ece2cd5b272"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetLiteRtModel.kt:158-167 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetTranscriber.kt:475-484 \u2014 before extracting anything, compare \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetLiteRtModel.kt\u0060 and \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetTranscriber.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetLiteRtModel.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea49f977e75651542e7dcac4823eb7449d70ff2d8eb959a60a4a338a49ac1996"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/TranscriptionClient.kt:669-677 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt:1713-1722 \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 \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/TranscriptionClient.kt:669\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/TranscriptionClient.kt:677\u0060 calls \u0060resumeWithException\u0060, \u0060shutdownNow\u0060 and \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/AndroidAudioProcessingCoordinator.kt:1722\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/TranscriptionClient.kt"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e656cebc7ede8c3c97579b14ea4d938eb28984d1c3b804497e527424a5c4c50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetLiteRtModel.kt:28-36 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetTranscriber.kt:371-379 \u2014 before extracting anything, compare \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetLiteRtModel.kt\u0060 and \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetTranscriber.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetLiteRtModel.kt:28\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetLiteRtModel.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b105a10d4734cc4b9f974b606ab5f091628712d7f0ad00e6c0201edfd80ef0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/CommandClient.kt:109-116 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/CommandClient.kt:208-215 \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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/CommandClient.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9baf6447ed71c6c9c70c8bd995a4663aac344f94be9d89cf2ad4bc89ce3d524"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt:1332-1339 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/settings/SettingsScreen.kt:728-735 \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 \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt:1332\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea14e7f5006452f2ab295506ac6c4cf47bf4c21ea5a28177e0a55b5aae9ba95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt:275-282 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt:380-387 \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 \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt:275\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4d3276e8de560f2268e856255cbe603278efd0d31cd8d258199102506def25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt:281-287 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt:386-392 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt:630-636 \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 \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt:281\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c35144477db4b1c7fb49edef4f92d7775ceee9868fd681f36e0eea9eda150e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetLiteRtModel.kt:169-180 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetTranscriber.kt:486-497 \u2014 before extracting anything, compare \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetLiteRtModel.kt\u0060 and \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetTranscriber.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetLiteRtModel.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9755a726d0bd8e0c43af2d521be126c2e97e73e1beac9a138c090175671011"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainScreen.kt:427-431 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/RecordingDetailScreen.kt:325-329 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/RecordingDetailSheet.kt:178-182 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/recording/RecordingSheet.kt:453-457 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainScreen.kt"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"428f76a1047da33da7c570795f29659a245a8821044084dd8babe6f97306740b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/CircularMicButtonView.kt:232-237 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/OverlayMicButtonView.kt:291-296 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/CircularMicButtonView.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5ba7d00d69dcd23aa4128445c8d1a864f1a39ccfb7ae848ff472f6243d9690"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/components/CircularMicButton.kt:196-202 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/CircularMicButtonView.kt:220-226 | AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/OverlayMicButtonView.kt:279-285 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/components/CircularMicButton.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"447ea4938b314ae52c54e80dd9a2d428e52b0d535d386ae515e37ce9e2d7823d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): formal/android_overlay_model.py:949-954 | formal/android_overlay_model.py:964-969 \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":"formal/android_overlay_model.py"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"0448f36e84d9db85f95eaf3b62c46c0372218db7369836842e690cdb338a34b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (30 shared lines): scripts/validate_ios_audio_processing_recovery.swift:366-432 | scripts/validate_ios_audio_processing_recovery.swift:434-535 \u2014 These two members are variants of one another: 30 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":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a820a5e0fc288c328a11438382f5635fc51363f9727bdcc97a9ef54ad72f1ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): scripts/validate_macos_audio_processing_store.swift:202-227 | scripts/validate_macos_audio_processing_store.swift:400-462 | scripts/validate_macos_audio_processing_store.swift:464-533 | scripts/validate_macos_audio_processing_store.swift:535-571 | scripts/validate_macos_audio_processing_store.swift:637-740 | scripts/validate_macos_audio_processing_store.swift:742-803 | scripts/validate_macos_audio_processing_store.swift:805-878 | scripts/validate_macos_audio_processing_store.swift:880-948 | scripts/validate_macos_audio_processing_store.swift:1150-1201 | scripts/validate_macos_audio_processing_store.swift:1203-1235 | scripts/validate_macos_audio_processing_store.swift:1309-1391 | scripts/validate_macos_audio_processing_store.swift:1393-1428 | scripts/validate_macos_audio_processing_store.swift:1487-1542 | scripts/validate_macos_audio_processing_store.swift:1605-1635 \u2014 These 14 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 14 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 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_macos_audio_processing_store.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0dc9b163a22c7a05f43f874dfeaa3af62bb77b67201499e6f34052999edcaa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): scripts/validate_macos_audio_processing_store.swift:285-323 | scripts/validate_macos_audio_processing_store.swift:371-398 | scripts/validate_macos_audio_processing_store.swift:400-462 | scripts/validate_macos_audio_processing_store.swift:573-635 \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":"scripts/validate_macos_audio_processing_store.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c76d86b92b933f47eb170312ea38a7563122835e0db2b617d031d9232fd393"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): scripts/validate_parakeet_runtime.swift:92-120 | scripts/validate_parakeet_runtime.swift:122-159 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_parakeet_runtime.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cfef78696f6a78969c497f39da9ce58974229d58119c1eb8f91297cd9aca3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): scripts/validate_macos_audio_processing_store.swift:1704-1735 | scripts/validate_macos_audio_processing_store.swift:1737-1762 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_macos_audio_processing_store.swift"},"region":{"startLine":1704}}}],"partialFingerprints":{"codehealthFindingId/v1":"105d8b92f1593faa7e0e8149b7fc4d6af6378155e2eb853d3ff27191b730ad16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): scripts/validate_macos_recording_recovery.swift:189-213 | scripts/validate_macos_recording_recovery.swift:256-286 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_macos_recording_recovery.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30e08f3c95b6f670e21dd8a3f01e5d4e5f69b47a2937d298092bd9001c102bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): scripts/validate_parakeet_runtime_recovery.swift:147-168 | scripts/validate_parakeet_runtime_recovery.swift:202-216 \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":"scripts/validate_parakeet_runtime_recovery.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9f590409985585858b0be0a8f6211e9c94dc53273e0879d1e453f2cd76ff96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): scripts/validate_release_transcription_config.py:168-184 | scripts/validate_release_transcription_config.py:188-198 \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":"scripts/validate_release_transcription_config.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74e210b61461e52b1b5d4aa78d317599660ed9131ffad9088387adb2c02ae4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): scripts/validate_macos_recording_recovery.swift:64-80 | scripts/validate_macos_recording_recovery.swift:82-94 | scripts/validate_macos_recording_recovery.swift:122-140 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_macos_recording_recovery.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"827a93f27ea5e3b12defe6b5de23201075609d96ad4cf1e4121719ddbf9216f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): scripts/validate_apple_http_audio_recovery.swift:338-348 | scripts/validate_ios_audio_processing_recovery.swift:162-172 | scripts/validate_macos_audio_processing_store.swift:93-104 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_apple_http_audio_recovery.swift"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdd359cb991d1673ed75adaadb619011f20b146da90f3db039b7f033989c936"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): scripts/validate_ios_audio_processing_recovery.swift:185-190 | scripts/validate_macos_audio_processing_store.swift:106-112 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4ac4e5e681736b1b689ef617722e2f659831937a61e40144179bb711ff3d72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 3\u002B corresponding lines): scripts/validate_auth_session_restore.swift:13-15 | scripts/validate_ios_audio_processing_recovery.swift:147-149 | scripts/validate_macos_capture_route_recovery.swift:13-15 | scripts/validate_macos_preparation_format_retry.swift:13-15 | scripts/validate_macos_recording_recovery.swift:13-15 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 3 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_auth_session_restore.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bef8ab14706cb5f17f9a3a78443ce8da1e646f4564fdf7f636259af21eb0464"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): scripts/validate_ios_quick_dictation.swift:7-10 | scripts/validate_keyboard_audio_recovery.swift:15-17 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"scripts/validate_ios_quick_dictation.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"102602a79a4abaee183a7bdee2fcc764f83375819498a42f8be080ff0ca5eeb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): scripts/validate_macos_audio_processing_store.swift:807-828 | scripts/validate_macos_audio_processing_store.swift:883-904 \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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_macos_audio_processing_store.swift"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b03a7ec0e2c068170a66048822e61d9bee1734b01dc7ca0acc3bc4284a1c178"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): scripts/validate_macos_audio_processing_store.swift:545-562 | scripts/validate_macos_audio_processing_store.swift:1614-1633 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/validate_macos_audio_processing_store.swift:545\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_macos_audio_processing_store.swift"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aad7cc5a1cf8e22d2454e5e5e5d654e61a86fc1e36a687a03f604b54cd30a64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201319 lines \u00D7 3): scripts/validate_macos_hotkey_options.swift:20-38 | scripts/validate_macos_lifecycle_guards.swift:248-257 | scripts/validate_parakeet_runtime_recovery.swift:294-306 \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 all 3 call sites, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_macos_hotkey_options.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3474d688461a264549dd59b5a7ec34e006a8308a6ef5a3d58161f0d6724b4b74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): scripts/validate_ios_audio_processing_recovery.swift:765-781 | scripts/validate_ios_audio_processing_recovery.swift:816-832 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/validate_ios_audio_processing_recovery.swift:765\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":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad59d246c1d60e80e2181471b5fd9e92779537e9c3520a0d26600b037bf4784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): scripts/validate_keyboard_audio_recovery.swift:611-627 | scripts/validate_keyboard_audio_recovery.swift:636-651 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/validate_keyboard_audio_recovery.swift:611\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_keyboard_audio_recovery.swift"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba20042eb02325292383fdb0170fa8885ef6734621ffa1d62fcc664c78b7e316"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 2): scripts/validate_parakeet_runtime_recovery.swift:148-163 | scripts/validate_parakeet_runtime_recovery.swift:203-213 \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 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":"scripts/validate_parakeet_runtime_recovery.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b717c6c62525369fae4efba09b9389aa4eb946138c1397e03596343257f9fa1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): scripts/validate_ios_audio_processing_recovery.swift:1777-1791 | scripts/validate_ios_audio_processing_recovery.swift:1805-1819 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060scripts/validate_ios_audio_processing_recovery.swift:1792\u0060 calls \u0060pendingUsageWordCount\u0060, \u0060require\u0060 and \u0060scripts/validate_ios_audio_processing_recovery.swift:1820\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":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76e53ba8094503716455dc4c55c208acf292cad4fe20d1ee64a960418ae0e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201315 lines \u00D7 2): scripts/validate_keyboard_audio_recovery.swift:383-389 | scripts/validate_keyboard_audio_recovery.swift:561-575 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/validate_keyboard_audio_recovery.swift:561\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_keyboard_audio_recovery.swift"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22074e2947919b8536bae537ed17f946851e5c0a49f4654d230336011c10695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201314 lines \u00D7 4): scripts/validate_ios_audio_processing_recovery.swift:591-604 | scripts/validate_ios_audio_processing_recovery.swift:1292-1297 | scripts/validate_ios_audio_processing_recovery.swift:1310-1315 | scripts/validate_ios_audio_processing_recovery.swift:1368-1381 \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 \u0060scripts/validate_ios_audio_processing_recovery.swift:591\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f15c9e03a724830e4c1511f94d6b025f9c3a0a5ac308fb8a82ec189f48112bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 3): scripts/validate_ios_audio_processing_recovery.swift:1701-1714 | scripts/validate_ios_audio_processing_recovery.swift:1773-1783 | scripts/validate_ios_audio_processing_recovery.swift:1801-1811 \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 \u0060scripts/validate_ios_audio_processing_recovery.swift:1701\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba17a187cceee6670e869bfe3d289f48b126a06e2ccb1ab636c6bed8ccce609"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): scripts/validate_ios_audio_processing_recovery.swift:437-447 | scripts/validate_ios_audio_processing_recovery.swift:540-553 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/validate_ios_audio_processing_recovery.swift:437\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":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf6f206f42a785dab90469d23d777934740ad6efa67fb01fde4f2202a45bfcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201314 lines \u00D7 2): scripts/validate_macos_audio_processing_store.swift:476-489 | scripts/validate_macos_audio_processing_store.swift:509-516 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/validate_macos_audio_processing_store.swift:476\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":"scripts/validate_macos_audio_processing_store.swift"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd5e0ee68f9c4383f7b1c6ee89aa0438490ac1094ced0b1f04952fa74a0c48f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): scripts/validate_keyboard_audio_recovery.swift:119-131 | scripts/validate_keyboard_audio_recovery.swift:173-187 | scripts/validate_keyboard_audio_recovery.swift:296-308 \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 \u0060scripts/validate_keyboard_audio_recovery.swift:119\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"scripts/validate_keyboard_audio_recovery.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2641a7820c7e7b6e764a95eb077db45ac24cf9c8c3bc5035d6d7cb9f980a2aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): scripts/validate_apple_http_audio_recovery.swift:433-444 | scripts/validate_apple_http_audio_recovery.swift:447-459 \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":"scripts/validate_apple_http_audio_recovery.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edaaa0e4b7c3dec68aaf7588d56345d2c71077cc222e501438ad0d2934357c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): scripts/validate_ios_audio_processing_recovery.swift:403-412 | scripts/validate_ios_audio_processing_recovery.swift:465-477 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/validate_ios_audio_processing_recovery.swift:465\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7317801e3539a0b9510df2e967ec9792914b4953204048bcfa72436f85020e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201313 lines \u00D7 2): scripts/validate_ios_audio_processing_recovery.swift:426-431 | scripts/validate_ios_audio_processing_recovery.swift:632-644 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/validate_ios_audio_processing_recovery.swift:632\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3281169ecf680930ad09f86a5900051e66d91aebaa30383ebba2f18744c6e22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): scripts/validate_macos_recording_recovery.swift:198-210 | scripts/validate_macos_recording_recovery.swift:272-284 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/validate_macos_recording_recovery.swift:198\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, \u0060scripts/validate_macos_recording_recovery.swift:211\u0060 calls \u0060require\u0060 and \u0060scripts/validate_macos_recording_recovery.swift:285\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":"scripts/validate_macos_recording_recovery.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b70b54f695063bf0f42d705352d1c3183663d61ecbee9a6c51bc6f0125d34c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201312 lines \u00D7 13): scripts/validate_macos_audio_processing_store.swift:208-219 | scripts/validate_macos_audio_processing_store.swift:435-440 | scripts/validate_macos_audio_processing_store.swift:471-482 | scripts/validate_macos_audio_processing_store.swift:504-509 | scripts/validate_macos_audio_processing_store.swift:543-548 | scripts/validate_macos_audio_processing_store.swift:709-714 | scripts/validate_macos_audio_processing_store.swift:753-758 | scripts/validate_macos_audio_processing_store.swift:1168-1179 | scripts/validate_macos_audio_processing_store.swift:1210-1215 | scripts/validate_macos_audio_processing_store.swift:1316-1321 | scripts/validate_macos_audio_processing_store.swift:1400-1405 | scripts/validate_macos_audio_processing_store.swift:1506-1517 | scripts/validate_macos_audio_processing_store.swift:1612-1623 \u2014 all 13 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 \u0060scripts/validate_macos_audio_processing_store.swift:208\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_macos_audio_processing_store.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3c3713197d79c1c273f9fdbab8951a6a670a7d50146a318d08071463554c6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): scripts/validate_ios_audio_processing_recovery.swift:1165-1173 | scripts/validate_ios_audio_processing_recovery.swift:1269-1280 \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 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":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24ab7af8b830e3d2aa0c3b2d709d6c4ffa2fbf2b3974253083a10751f1f69bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): scripts/validate_macos_audio_processing_store.swift:578-589 | scripts/validate_macos_audio_processing_store.swift:610-622 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/validate_macos_audio_processing_store.swift:610\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_macos_audio_processing_store.swift"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f178bb7562fac0e1fab660e6b5c6b42aad1ce6d168f312b37074b8d5e192e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): scripts/validate_macos_audio_processing_store.swift:286-296 | scripts/validate_macos_audio_processing_store.swift:372-382 | scripts/validate_macos_audio_processing_store.swift:574-584 \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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_macos_audio_processing_store.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acb0e60e9267b59c09ac34d05ce400553f7557dbf8406181786db32063210f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201311 lines \u00D7 2): scripts/validate_keyboard_audio_recovery.swift:242-248 | scripts/validate_keyboard_audio_recovery.swift:300-310 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/validate_keyboard_audio_recovery.swift:300\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, \u0060scripts/validate_keyboard_audio_recovery.swift:249\u0060 calls \u0060addingTimeInterval\u0060 and \u0060scripts/validate_keyboard_audio_recovery.swift:311\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":"scripts/validate_keyboard_audio_recovery.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ac7310ca0b885bef72b821c4a3132900e4bd5b3b9d919cdc42a3ff09116131"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): scripts/validate_keyboard_audio_recovery.swift:1074-1084 | scripts/validate_keyboard_audio_recovery.swift:1094-1104 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/validate_keyboard_audio_recovery.swift:1074\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":"scripts/validate_keyboard_audio_recovery.swift"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0c7c23a5638f995c14b9038b95570de0fe91018b6406e1390ecfabb93426b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): scripts/validate_macos_audio_processing_store.swift:287-296 | scripts/validate_macos_audio_processing_store.swift:373-382 | scripts/validate_macos_audio_processing_store.swift:405-413 | scripts/validate_macos_audio_processing_store.swift:575-584 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_macos_audio_processing_store.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"235b55e1cfcef443832ab17b955cdfed86141f8e3583dbb0e787c80a98d1846b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): scripts/validate_ios_audio_processing_recovery.swift:368-377 | scripts/validate_ios_audio_processing_recovery.swift:436-444 | scripts/validate_ios_audio_processing_recovery.swift:539-548 \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 \u0060scripts/validate_ios_audio_processing_recovery.swift:368\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":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7f7df813c23d49899d57d4809123c26a46663a59b1bb2401e0cf4e3bd2e9d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 3): scripts/validate_ios_audio_processing_recovery.swift:994-1003 | scripts/validate_ios_audio_processing_recovery.swift:1255-1261 | scripts/validate_ios_audio_processing_recovery.swift:1582-1588 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060scripts/validate_ios_audio_processing_recovery.swift:1251\u0060 calls \u0060require\u0060, \u0060fileExists\u0060, \u0060testFullDecodeRejectsTruncation\u0060 and \u0060scripts/validate_ios_audio_processing_recovery.swift:992\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":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"56534d5f7af6cae6b21b7098aaab0755ce584e97e2e3755a8d3988c9eae17993"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): scripts/validate_ios_audio_processing_recovery.swift:251-260 | scripts/validate_ios_audio_processing_recovery.swift:1587-1596 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/validate_ios_audio_processing_recovery.swift:251\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e03c718fc14854479ca196cbc111cdb6ea68a65679673d8d656761c93f567f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): scripts/validate_ios_audio_processing_recovery.swift:414-423 | scripts/validate_ios_audio_processing_recovery.swift:479-488 \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":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b58579740de890079161735ed29fb153867d0222cf0a1181bd48ac155c32922"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 5): scripts/validate_ios_audio_processing_recovery.swift:568-574 | scripts/validate_ios_audio_processing_recovery.swift:600-608 | scripts/validate_ios_audio_processing_recovery.swift:1746-1752 | scripts/validate_ios_audio_processing_recovery.swift:1782-1788 | scripts/validate_ios_audio_processing_recovery.swift:1810-1816 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/validate_ios_audio_processing_recovery.swift:600\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":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"d118c7c9e391eabcea62ced28a7858e3b5539b3f9f31035fcf158fbec972cc08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): scripts/validate_ios_audio_processing_recovery.swift:695-703 | scripts/validate_ios_audio_processing_recovery.swift:847-855 \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":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"484b81117d070a5b1930304b05b6460b76a596f94138ddcba8fdd7844f0b6cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): scripts/validate_ios_audio_processing_recovery.swift:1396-1406 | scripts/validate_ios_audio_processing_recovery.swift:1470-1478 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/validate_ios_audio_processing_recovery.swift:1396\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":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cc89c40c6e937bbb5c45ba54aedddc6b49649696665d3fa5704b9436e348b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): scripts/validate_keyboard_audio_recovery.swift:207-219 | scripts/validate_keyboard_audio_recovery.swift:440-448 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/validate_keyboard_audio_recovery.swift:207\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_keyboard_audio_recovery.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb7610d6c37cf0ff89e8ee8cb0b717de3646eb83eb9d706022090379787a838"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): scripts/validate_macos_realtime_finalization.swift:345-353 | scripts/validate_macos_realtime_finalization.swift:423-431 \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":"scripts/validate_macos_realtime_finalization.swift"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ad80216037488679d0888aab0f5381e71da95fc62190aec01e5ea405a7ecbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 2): scripts/validate_macos_realtime_finalization.swift:406-411 | scripts/validate_macos_realtime_finalization.swift:424-432 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060scripts/validate_macos_realtime_finalization.swift:405\u0060 calls \u0060precondition\u0060, \u0060waitForSignal\u0060 and \u0060scripts/validate_macos_realtime_finalization.swift:423\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_macos_realtime_finalization.swift"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff307fb9d83e30e52f6a4503e15b45d3e658bcaa64d4f14d20ec8553c250efb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): scripts/validate_ios_audio_processing_recovery.swift:968-975 | scripts/validate_ios_audio_processing_recovery.swift:1584-1590 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/validate_ios_audio_processing_recovery.swift:968\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc625fba6f515b8474be2796e1468f3f4b395f84f27d01037d0e058079b37a8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): scripts/validate_keyboard_audio_recovery.swift:826-833 | scripts/validate_keyboard_audio_recovery.swift:857-864 \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":"scripts/validate_keyboard_audio_recovery.swift"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"31418a13ba11beb7a839c006112c54714a24e9a38a8174c3fd224fedb0515d2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 5): scripts/validate_ios_audio_processing_recovery.swift:344-353 | scripts/validate_ios_audio_processing_recovery.swift:1420-1426 | scripts/validate_ios_audio_processing_recovery.swift:1613-1616 | scripts/validate_ios_audio_processing_recovery.swift:1674-1680 | scripts/validate_ios_audio_processing_recovery.swift:1710-1716 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/validate_ios_audio_processing_recovery.swift:344\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c023d142a6eda6d032fdd0c72d8fb17fdecb714098131b14dca8e7ddeaa85ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): scripts/validate_keyboard_audio_recovery.swift:123-132 | scripts/validate_keyboard_audio_recovery.swift:242-247 | scripts/validate_keyboard_audio_recovery.swift:300-309 \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 \u0060scripts/validate_keyboard_audio_recovery.swift:123\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, \u0060scripts/validate_keyboard_audio_recovery.swift:249\u0060 calls \u0060addingTimeInterval\u0060 and \u0060scripts/validate_keyboard_audio_recovery.swift:311\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":"scripts/validate_keyboard_audio_recovery.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6c0a94ca0147e8eb6d2ee1760bf2882188450e215db9725265f26cc64b648a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/validate_ios_audio_processing_recovery.swift:1298-1303 | scripts/validate_ios_audio_processing_recovery.swift:1380-1388 \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":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06c50cb4493c86856ae547fbb442ade283e8e263085c8122c1cf1d5e7e6d7f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/validate_macos_audio_processing_store.swift:1705-1710 | scripts/validate_macos_audio_processing_store.swift:1738-1743 \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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_macos_audio_processing_store.swift"},"region":{"startLine":1705}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db5667cba72a990f2609a9c37fd311003be15a155a7ec6b3c27b96e2119d75b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): scripts/validate_macos_audio_processing_store.swift:544-548 | scripts/validate_macos_audio_processing_store.swift:754-758 | scripts/validate_macos_audio_processing_store.swift:818-828 | scripts/validate_macos_audio_processing_store.swift:894-904 | scripts/validate_macos_audio_processing_store.swift:1169-1179 | scripts/validate_macos_audio_processing_store.swift:1613-1623 \u2014 all 6 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 \u0060scripts/validate_macos_audio_processing_store.swift:544\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_macos_audio_processing_store.swift"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c76fac8e66717479cdc39f6102ee7266c734af1d95d944e9186f078a52c0cc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): scripts/validate_ios_audio_processing_recovery.swift:250-254 | scripts/validate_ios_audio_processing_recovery.swift:971-975 | scripts/validate_ios_audio_processing_recovery.swift:1586-1590 \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 \u0060scripts/validate_ios_audio_processing_recovery.swift:250\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060scripts/validate_ios_audio_processing_recovery.swift:247\u0060 calls \u0060UUID\u0060 and \u0060scripts/validate_ios_audio_processing_recovery.swift:970\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":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"63681888fde980ffb7da3f680f388d763042208827b0f921b88d49c3f99ea7e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): scripts/validate_macos_audio_processing_store.swift:79-84 | scripts/validate_macos_history_row_refresh.swift:13-17 | scripts/validate_macos_last_transcription_menu.swift:13-17 | scripts/validate_macos_lifecycle_guards.swift:7-12 | scripts/validate_macos_offline_retranscribe.swift:13-17 | scripts/validate_macos_overlay_resting_state.swift:13-17 \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 all 6 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_macos_audio_processing_store.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c648f20dfcc3d3422fd53975b8fdadd1e713fc328eaa9ebcd15931b7b4f84127"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): scripts/validate_release_transcription_config.py:176-183 | scripts/validate_release_transcription_config.py:191-197 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/validate_release_transcription_config.py:176\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":"scripts/validate_release_transcription_config.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"435f16dd030938dbcb1f4642b0ea6a85368e99354f9f17497ae3fb2e4d8153c6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StatusBarManager (LCOM4 13): StatusBarManager\u0027s methods fall into 13 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 13 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":"Whishpermate/Whispermate/Services/StatusBarManager.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"74404215a63788883bd8d5209794b8f28c0cee953fc428d9e91ffec70c440c13"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AppDelegate (LCOM4 6): AppDelegate\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/WhispermateApp.swift"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36f9020aa77634debea6ca257025cfad7725fda9ebc4e14124b9f8766218ade"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TranscriptionProviderManager (LCOM4 6): TranscriptionProviderManager\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Models/APIProvider.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf59ecbfa47a127d345f9aaee53dcb3425249e40917800ed1e54f3af5e807f1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OverlayService (LCOM4 4): OverlayService\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":"AIDictation.Windows/AIDictation/Services/OverlayService.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cabe1a39987682a643ddb50f45db07eba0533f5d2eb15162679f7e77d47ca2e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FakeRecorder (LCOM4 4): FakeRecorder\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":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":3278}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaa6c7ee718e6ba8e0628452c65aa94294a9d621f3b6f9146b7cee1217a26e0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OverlayWindowManager (LCOM4 4): OverlayWindowManager\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":"Whishpermate/Whispermate/Services/OverlayWindowManager.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed9d092e217ec27c476158f897072232d74a2f0f63074e647fc17370be2004f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HoldButton (LCOM4 4): HoldButton\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":"Whishpermate/Whispermate/Views/HoldToRecordButton.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"22da7fcae706c8473d50563aab888619f3d9fba5df1279a5f2b0ef402930748e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDictationRequiresStandaloneFillerDeletion: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhispermateTests/TranscriptionCleanupPromptTests.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed5ee5c55277cf99181a382fda16c31378ef52fe4037b92b138209a6c97aa2f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTransformedOutputRequiresStandaloneFillerDeletion: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhispermateTests/TranscriptionCleanupPromptTests.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d8f794f2854dc696957fc6ca86eaf9ee3cf124dfa52cba7476aa014fd34fd1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Whishpermate/Whispermate/Services/AppState.swift: Whishpermate/Whispermate/Services/AppState.swift changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in AppState.handleRecorderFinalizationTerminal at line 827. 1 of those changes was a fix/bug commit, and the other 25 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 15:25:17 -08:00\u0027 --until=\u00272026-11-15 15:25:17 -08:00\u0027 --full-history --no-merges -- Whishpermate/Whispermate/Services/AppState.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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"de17a9309c5df19e075c5ad22181b815e1b7cbcd323816ff3d3539f412c972e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt: AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in OnboardingScreenKt.OnboardingScreen at line 216. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 15:25:17 -08:00\u0027 --until=\u00272026-11-15 15:25:17 -08:00\u0027 --full-history --no-merges -- AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingScreen.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"645aa4d6f0d6e48b51128873d0fd40b97fc2b8c4a70881dcc0d42c2335ca9c79"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Whishpermate/WhisperMateIOS/ContentView.swift: Whishpermate/WhisperMateIOS/ContentView.swift changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in InlineRecordingCoordinator.beginRecording at line 3288. 5 of those changes were fix/bug commits, and the other 16 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 15:25:17 -08:00\u0027 --until=\u00272026-11-15 15:25:17 -08:00\u0027 --full-history --no-merges -- Whishpermate/WhisperMateIOS/ContentView.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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3288}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1535363cd65d873b477bfb29e63b95a74bb40d0221809ec68dbee21f6b1a0c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/validate_ios_audio_processing_recovery.swift: scripts/validate_ios_audio_processing_recovery.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 97 in validate_ios_audio_processing_recovery.swift.testIOSCallerRecoveryContracts at line 2204. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 15:25:17 -08:00\u0027 --until=\u00272026-11-15 15:25:17 -08:00\u0027 --full-history --no-merges -- scripts/validate_ios_audio_processing_recovery.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":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":2204}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8c69a843062ed1f7045dc8d3a29ede0f8fcd64ea9b98c7a974df7b3635df53"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Whishpermate/Whispermate/Views/SettingsView.swift: Whishpermate/Whispermate/Views/SettingsView.swift changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in SettingsView.accountSection at line 376. 1 of those changes was a fix/bug commit, and the other 20 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 15:25:17 -08:00\u0027 --until=\u00272026-11-15 15:25:17 -08:00\u0027 --full-history --no-merges -- Whishpermate/Whispermate/Views/SettingsView.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":"Whishpermate/Whispermate/Views/SettingsView.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78649ae2aac6900ea7d0d655ecf7b75fa6af32907b73226049201cfe6c12544"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt: AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in OverlayDictationAccessibilityService.startRecording at line 1584. 1 of those changes was a fix/bug commit, and the other 21 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 15:25:17 -08:00\u0027 --until=\u00272026-11-15 15:25:17 -08:00\u0027 --full-history --no-merges -- AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/service/OverlayDictationAccessibilityService.kt"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc6a4d8ac1c664e8ed6ca9121b4c561f9cfd39945013912a2b9e8c64914fc9c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Whishpermate/Whispermate/Views/RecordingOverlayView.swift: Whishpermate/Whispermate/Views/RecordingOverlayView.swift changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in RecordingOverlayView.contentView at line 354. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 15:25:17 -08:00\u0027 --until=\u00272026-11-15 15:25:17 -08:00\u0027 --full-history --no-merges -- Whishpermate/Whispermate/Views/RecordingOverlayView.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":"Whishpermate/Whispermate/Views/RecordingOverlayView.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"6263b29fd4200c712a3d5b3afa935ee81aba4d0d96ec441bfd689d4f21543779"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Whishpermate/Whispermate/Services/AudioRecorder.swift: Whishpermate/Whispermate/Services/AudioRecorder.swift changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in AudioRecorder.processCaptureBuffer at line 556. 3 of those changes were fix/bug commits, 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 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 15:25:17 -08:00\u0027 --until=\u00272026-11-15 15:25:17 -08:00\u0027 --full-history --no-merges -- Whishpermate/Whispermate/Services/AudioRecorder.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":"Whishpermate/Whispermate/Services/AudioRecorder.swift"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeff419567c53965e959c19ac1ad2bea5c4dad2847f000f844e63875314bf0cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/validate_macos_transcription_attempt_snapshot.swift: scripts/validate_macos_transcription_attempt_snapshot.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ValidateMacOSTranscriptionAttemptSnapshot.main at line 130. 1 of those changes was a fix/bug commit, and the other 12 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 15:25:17 -08:00\u0027 --until=\u00272026-11-15 15:25:17 -08:00\u0027 --full-history --no-merges -- scripts/validate_macos_transcription_attempt_snapshot.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":"scripts/validate_macos_transcription_attempt_snapshot.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"873bef3f79906facf02e4770f2a5539f572f13300430735cc53cca01277b2970"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainScreen.kt: AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainScreen.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in MainScreenKt.MainScreen at line 75. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 15:25:17 -08:00\u0027 --until=\u00272026-11-15 15:25:17 -08:00\u0027 --full-history --no-merges -- AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainScreen.kt\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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9c4dad844431e21c5501f5db159a1215626d1e37964937acd3f456b7755c87"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift: Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in RecordingDetailView.body at line 425. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 15:25:17 -08:00\u0027 --until=\u00272026-11-15 15:25:17 -08:00\u0027 --full-history --no-merges -- Whishpermate/Whispermate/Views/HistoryMasterDetailView.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":"Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"437a1a38e95e3262284d0157d7ca8ec4f3962e9703aa2ed9859debc1e2c15ec5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: formal/android_overlay_model.py: formal/android_overlay_model.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in android_overlay_model.system_actions at line 539. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 15:25:17 -08:00\u0027 --until=\u00272026-11-15 15:25:17 -08:00\u0027 --full-history --no-merges -- formal/android_overlay_model.py\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":"formal/android_overlay_model.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c2b322761bac15067f7902cea9853a161cbcee103e0e17be558e53ffe7d3a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Whishpermate/Whispermate/Services/OpenAIClient.swift: Whishpermate/Whispermate/Services/OpenAIClient.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in OpenAIClient.transcribe at line 294. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 15:25:17 -08:00\u0027 --until=\u00272026-11-15 15:25:17 -08:00\u0027 --full-history --no-merges -- Whishpermate/Whispermate/Services/OpenAIClient.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":"Whishpermate/Whispermate/Services/OpenAIClient.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93edbaefaa93718cd1e96b809d007f9cffe8de630a88931c9500447fb79ad36"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Whishpermate/WhisperMateKeyboard/KeyboardViewController.swift: Whishpermate/WhisperMateKeyboard/KeyboardViewController.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in KeyboardViewController.reconcileHandoff at line 724. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 15:25:17 -08:00\u0027 --until=\u00272026-11-15 15:25:17 -08:00\u0027 --full-history --no-merges -- Whishpermate/WhisperMateKeyboard/KeyboardViewController.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":"Whishpermate/WhisperMateKeyboard/KeyboardViewController.swift"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52dac6e1955f8f6771b23e87f003bd7ddb109ffd9f64396da2e8cc4da7607b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Whishpermate/WhisperMateIOS/RecordingSheetView.swift: Whishpermate/WhisperMateIOS/RecordingSheetView.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in RecordingSheetView.transcribeAudio at line 904. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 15:25:17 -08:00\u0027 --until=\u00272026-11-15 15:25:17 -08:00\u0027 --full-history --no-merges -- Whishpermate/WhisperMateIOS/RecordingSheetView.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":"Whishpermate/WhisperMateIOS/RecordingSheetView.swift"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38129ea0552dda228746aca7e54eee9b17f0f65fe6bf039fc0177317fe5379f"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"917d0bb0e85876a47529b4b353c872634dcd9cc9679ec389871341cf0257021c"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a422c8b4f99ffd35a099f5d19725e295ee4779efabf0881eab9d4e8295f21a"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"c973499443bb0495884548032b338afeb4bd98899541ff8497babbad854380ac"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"925a17156b3672059bb906cac25664cefafd04f259e32eaa024fabb10bd2ca25"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1a0793ee37a7618fa179383d5ac71020bfe4ac5bbd2fca601f9963951b4596"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79695dea46238864167da201a50135f9eb847b7ec656a17257968616fb4df35"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee786f21a1198f371c62ae38a13f843847cd76bc2f4100b437a0173b8a93af5d"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33a57b65b7625d7023da1c6db4d53bc8e1cc7a8f3dea0610fa30a7523d31186"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81dba74d1c1b283a2358525ced7f5eb3fc2646c7f1552a8b5c05c61bbed5fbc"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"019419646979dbbda9fcfca61fcb062a4164a50609016c07b8dcf2007f0e2c3b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"90579cb2fda7d20f17b93f9e44fcd75fccc1e37b1164a19bbd1ab80bf4649d74"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Helpers/CredentialHelper.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0fe3a2e517b0c940ef0af6259b5d6286962dab86ca5156b53b30de170c1cbd"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Helpers/CredentialHelper.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ed0ab4c602961de8f8d4b5eac8f9e4310b54564597bf424cae79a147b3d1bc"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Helpers/CredentialHelper.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec458d327d77dc9e867916b5ce58fd7b9ecbb02fc72cd25f8325316fb186b64"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Helpers/CredentialHelper.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf63a73b83a99e3a56af96620453955d4f5536a339a66c70e3b1dd4d8898a07"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Helpers/CredentialHelper.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f3243973610bdcab89a5b1ee19dd74b457a3aea85ac9e279f7bc90e876595d"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioExportDeadline.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f591eb45d5eafa89acb36ac25edfdbcccb1bd9e0b80a5e7d200b0dd487c9166f"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a0bbad194deba1dff0b1981fba05e55eb93147eb97dfb2e43ac977ec616589"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f86d2cd8b055d417999b98175e6b2c71828d9fd75a44152c5066857e2ecb38e"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"17368290280fd9a7670f6792b848fd72aedb580df9c3f176408331350c353952"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"8067ecc9748835fda3ff17d177e24f85efd4176b28fc494de808707139c47f30"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fbc9dee213a8fcd807a233e9f5961cc00f2c44925b8e855a2f3710396c5b4c"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"d511fb1ca08591e951c417aacb1a59eac4e44e85c1ea01ed53842984d3ab1b2d"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6e60b48943541576dbaf2629d44ec1a8eed6cea42e7840643f4a5758ce6436"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1304}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70a9541c89fd88a59621b2a21411ccbfed3efea68f30a9febf93d45645d7e81"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"a421cd4d924b6f18d1d5ea132e0a9b9481e198d6461b6ab816a7ef4bedddfa42"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"271fa6a41c83e6461f218602eeb6280f63f0a603039dc0c4bd28d19eab656107"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea56c44eb60e6df38759bc02264fc4c8947b95b9176cbed432ad68e2e476f575"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1486}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5c673a0cc6edb9325b6ffbf54865fb5aff16e5ec6e3890c9dc2be71d6f158b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7dd4d84abd521b834d49f7eec63cc8f5145a0c4f8246e367bde80d56c82c4ba"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"facd8cb1842d4eb2487de6bfd3ea64d2673b70fa9d020a8438313b193cfb7e26"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1610}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afdde3bf8c6e904640c842b3ac62892156148cc9efff47ffdeb44f736158810"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1797}}}],"partialFingerprints":{"codehealthFindingId/v1":"b849fd70ef114094f1cde6258ec66bb29de4db02ae8f0d90e0caf0e37ecfc6a9"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c8a62f45bf6f3778bd3b82bd22e5eb318bc75bb53e74f10ca588d0f7aa336b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b251673e0fff12a36bc41f624f04bb24ca3c06c5e02e799e30eda7709c2f68"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1983}}}],"partialFingerprints":{"codehealthFindingId/v1":"08488de8ad3e044bacb1eaa3cb4deff3160fc5d1049d8b7b77d7ba64866334fd"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0883992a8643e02398377b2efa9d9f900228d8c23a3b95fce41743f301399a0"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingStore.cs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"265bff96bf2f5d9456cbb376eca940decb61364a5b0814dd64d9f08dbc21b2fb"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingStore.cs"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed66ef7597a072ad4768c5f6b39ef0702ae55d044be2483c64903bc06d03ba1"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingStore.cs"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b1a30c4bbcb4f10e24d71d0f323327bd0167a7713d2b66055cf5c094cbb73c"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingStore.cs"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"df318b9f30b9162eb6ca574c23acbfdfe44291682d629ad0d1123572f4c7e750"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce672d4fe92bc21a9e552be81eb279041bacbbec494e074a269fbc9312660ea"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a34b5c48385ca512db60c4ac01c090adaaff82f9dd58be6fe606c3ad25cd53"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a46142ce9106a53edcd7bc61030c147c7a09c1bdcbf2d27771db9230067e4c5"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fb28db331bbe6a518212574a3c8ee3ddb59477e642f7d5af11ade6605a1518"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"23110e1a7f6ebce5abda4af07298365c06f4f6578a6fff8e893e033a41510a3a"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc35184b213316d3bcc7e07ab4b3a899a1ab0d0b40fcda6b6897d0b6a499407"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d59a9f1a5465aaa28f1d74e4fbed02e0bd30f6dd2f207176ef652ca27fe3e31"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"6992338d49d99501594339e945a308f268e1ea8019c934e88b9546c60b0aff1b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf0b9be50812464b4cf6e11e3219a83c9dbafa28212c90441a36db629aca4a8"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc51656c423be5df57a19cfc771837cd936c4bd29d2eddbf76147d2338fefc7"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/ClipboardService.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13a9eb09eb83308f56deb2e9bb1101aaf4fa4f9c9ac7db0a268ce6c17a74678"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/ClipboardService.cs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"7634beba7519547023f67128bc33da3a2e02f893f0dfba7bedf67b827843429c"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/ClipboardService.cs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc1bc8a7dc9f28e02b1c2e0a090c505213df54d8f9a106464c19e51085afeee"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/ClipboardService.cs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ac818cf72bc7ea4bcb95ada44341aff659fc0643affbbedabba77567591264"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/HistoryService.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec9fed7603efab1f2d146217dff270e594e0506c092f8704fdd2cbf7429eb8b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/HotkeyService.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"6475670431df1fd05d939252058f120962affd2353a687246f3e4ae04eb165e7"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/HotkeyService.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"586a10f260a36159024480be30fa798f25f4410cbb49f4a2ca0977d64b3db239"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/ManagedAudioFileSystem.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"94694be64da2eb8df77eb07bc32b6cbaa531cecfb6d1c48c033e6bb2730ed394"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/ManagedAudioFileSystem.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"231bc991f13afd5e363958bbc886454a8b8976d1f27051db3b9bac5b1450ebc8"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/ManagedAudioFileSystem.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2696a60c84cafa0a0ca72db73a47abce306328d9cb57e11e998162fe9c0deb31"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/ManagedAudioFileSystem.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24fad7f159fa7f4f00cf423bef1c1e3b81242181648d019672c3c7d99baee23"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/ManagedAudioFileSystem.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"382c99f1f5a70c559a3f1cce9f757f8a9fda2948bdeefe47c086d099bee9e9d4"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/SettingsService.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"54189046f689ddf4bd4947fd36ef8f7e2c70f48ea406edea284223fff0540708"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/SettingsService.cs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3a0a4bec9c1250de398dc6157ec85c6c7d101eda8c8feeb18d5615a1cc24a0"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/SettingsService.cs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb09c872d571bb1bc35c4d3b330d858bab3f66cc7116f5c12d764d4413760000"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/WhisperLocalService.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e62c1c962186e043198e317d280538e2adf385b7bde2cd6605c9a378245d21"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/ViewModels/OnboardingViewModel.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bacb1e11bb302c94405a088f67f768ca2d9c991c9457eecaedec96cd31a457"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/ViewModels/SettingsViewModel.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0fae9262341238cbe5fe85949c9c10101e168ce2bc249e18350dd0eb33762e"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/ViewModels/SettingsViewModel.cs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"523b951b9f8c2de1c002b8bdf37580928aec282b93c936f9b8a53ab587121e1a"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/ViewModels/SettingsViewModel.cs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"354d29f6bf54fe064452ccfa1894336850aeeb11b7a9f932cc51fc2a0174eaec"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Views/MainWindow.xaml.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d410afc34235ef0ef27e938c338f43a0eecc26939949acd82eec319c40a1adac"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a563a8bac6f5f514c3143c181fdf7f6653aa38806e0fd6f11c3c452000a721f"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1183405d28a4543dcabf6aa533588155e16090bf23bb789d083f6217673f2f"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"859760317f8c99e57b0763d3260e3c9dc9f99fa19217fd1eba9976d48c48d436"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"178aea7107d66e66cc907d7201f3c6bd21febbe4c10964a69ea792e9ed01c125"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e7478da8ed47b9b8efffe5c695d5c2774a834b751ad8a1a5250e8101c573ef"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc00e5c49c561ffc48c07ad37177cede2529e6465b9c794fef68c48dce0414d5"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e563badb8a76eba93b9eb652f2e8c7af9cb7bd70ff0bf2ea7ddccdd9c48aa0f"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db3751f0d60415c3cd41be811d57c3f0535f317e4e96ee323c98bf44453c3c5"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"015a6d41fc19537fa254bd7a026fd5cc894e02768e73c8de717e18f98d543d83"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab94c122c4b267b38088f348d1af259e1892fc23861aaaceb63b601d98eb8268"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"8844efbd99a1d554331a187d0bc9cf513ecc5b7c36b021e140b1f64671c53f8a"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"790e0e854486a72f8f4990fcc2283f5f4e48555f9cd2b19c4eda1a9f5244beb7"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aef3efbc7e6d56e4ab5d9fc2e5c7b72d7e75f90592d4fc74c39590df2a800fe"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb7d66ee26a1ba3e859a14357407a90d31e0bf4c1b3c4fef66392736f43c51e"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"805ce9f87774b4b9e187d0422d8c15a4523422a0af6cd376f540f9467f517dbd"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d66130e84f5a9e113e69d4e7ef74a76ea299d0d1b1302225d52da6f6526a51"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"174f132cdf077535cbf173ac0f0f5733697362b76f733be2a28bb73057e80015"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d8f084168afb965a51b4ce4614e6da5526704f40a83dfb3bd966cbc4002564"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1997}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b8f20219234432d8f866e5039557600a77e0e17d9304f4665a81bded38918b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":2357}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0be99effc0e904702459e6d9750db45b43e931aed2de593c18133e65cb4c1bf"}},{"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 \u0060AIDictation.Windows/AIDictation/AIDictation.csproj\u0060 makes this repository a deployable product (line 4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/AIDictation.csproj"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"02de69fe3fece2007c7c56ea2a0e2024fc80877bffb45c50b58076e00cc77787"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060StartTrackedClose\u0060 returns an awaitable but lacks the \u0060Async\u0060 suffix its 110 peers carry: 110 of the 111 awaitable methods of project AIDictation are named with an affix the repository binds to awaitables (110 of 111; unit: awaitable methods of project AIDictation). Peers: App.WriteReleaseAuthReportAsync (AIDictation.Windows/AIDictation/App.xaml.cs:161); App.RunOverlayValidationAsync (AIDictation.Windows/AIDictation/App.xaml.cs:343); App.InitializeServicesAsync (AIDictation.Windows/AIDictation/App.xaml.cs:605); App.StartRecordingCoreAsync (AIDictation.Windows/AIDictation/App.xaml.cs:793); App.StopRecordingAsync (AIDictation.Windows/AIDictation/App.xaml.cs:875). Rename to \u0060StartTrackedCloseAsync\u0060. [rule N4b]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc5a2ed828b93b4fef007442dac9d4fa1ac43dfa65abee4546fef3226d43948"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Register URL scheme\u0022 repeats the code it sits on: 3 of its 3 words (register, url, scheme) are already in \u0060RegisterUrlScheme();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e2ed74522d9a0566d32e41c8a57148a59fc1ba61d2d5caf0ba8db249db795f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup system tray\u0022 repeats the code it sits on: 3 of its 3 words (setup, system, tray) are already in \u0060SetupSystemTray();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9b755e9c037da900d7e3200965ee6422f04fb1d1538d813fc853f4c006df5f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check dictation hotkey (mouse)\u0022 repeats the code it sits on: 4 of its 4 words (check, dictation, hotkey, mouse) are already in \u0060if (_dictationHotkey?.MouseButton == mouseButton)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/HotkeyService.cs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"403e7a4abed66962778d12434711bf6b0ee70ac418e94aab5eeaa6703bdc955a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check command hotkey (mouse)\u0022 repeats the code it sits on: 4 of its 4 words (check, command, hotkey, mouse) are already in \u0060if (_commandHotkey?.MouseButton == mouseButton)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/HotkeyService.cs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c3b64e151e20fb1f1f694e507c142fe04a22c39a66c6efb4d3468c9c92cd32"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Start waveform timer\u0022 repeats the code it sits on: 3 of its 3 words (start, waveform, timer) are already in \u0060_waveformTimer.Start();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Views/MainWindow.xaml.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7a2fb7958f226fa19ee259811f1c1ed2f2b73bd41f58c7b98e6fa040f1a842"}},{"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":"21668833684177104abae46b78e53a7d5412c973f834d51deb274feb0fd06bc8"},"properties":{"commitSha":"17a5624344da0f6f8969987bf48f7d550bcab6c3"}},{"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":"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":"630abcd3872f4ad2614acb178b753a7ae5cf1d65a351dd8c278547351dde922d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae833c6dbf664c127d7c82a0c5cfd191e8d191f61d0a1afd3493dc94d0d32d67"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82cfe83cf0401cd04cf13aff5bde601eb748dc63053093a8fcce04ecb49a943d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d61833b7aec9094ad28a44b5d86af0b7ab50f9f3bb9bd2f8b01b5750246a655"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a9371591cf7273f8596df40993e3040eac68597c80ba8c0a491fa9403ddb116"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad0002a957a6eb0d9acb030cf631545409ad97a640cab754d0970c2a08944f89"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7feb2bd39465ab2953465120831038d61eeac13b208194579ea512d1154b63c8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c48826cc9001e015f8791148ad439a5fd51f88391813b60ad0552e440a726d3a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3ff835e592cefd54d9f7475898c0caf091d8d5edcb9c23d151fceb6fae86a99"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"204cef7a5e75f1bc6f4c58ecc6f49f91e788622538f3c4ad99ca2b1c74dc308f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0242834982eb725dd5479910ecec4ec0df9f1984759e8b490dd7729197aed77e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48d536c5a4c4c2d05e1c40852bec7485dec80e8913fccb55ed49f6974b987db8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c99f810256aa70737d1c359936517f868c6363a105fa8d5cf5418672a41d3e1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa93237b8230368c657b289059088be9051068bd3eeda052986e047834b4bd04"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e9da06be88e96b876f36aeff67c128d95cd6e9224d18a5ae9c0823feb7200be"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"78ad9c215e836a396698800a8e60bf7e136356b7a7158ddf917d8461c532838a"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c9dbc0e3475c4e8fc439c4a915a8b35c19ea9b1c73cdd49d54cabcb36c00d64"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5dcfb1c7545d988cc97c2d0cb7bc7b18fff3dafcdbaccb37123f1122d4c221c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"294d7c4a31b719a00f5ccca31155715cf785848a29081785670e2a35ee8c31ec"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b6c481be0aa46c8b389ad82c2b05f9fec8c9fbfbdcd392753dc2dd0c0e9a0ab"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"42fa5688e59bd1def660efc0ef13268c04b0c963ef797685e6a1e211f15b7ef0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1fa7d5aad8d698181e009334ac24168469699e936d89b18bc95dbf6f05b68945"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1050906c0fe30c906ee658d97bca7d5362c9b172995340b5133f3c036fecb4d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8622f478b969da854050e4cad89b31a7ca8dd0c3d2cf3b8979145341d5bc7c45"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a506e6038232fba3cd8f5af2167ed3ad9025045d8e77ab0e1e7bb51792f5706b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c92e5f4b5e4228c9cafbf9b00e9589a78bd54873de522d14d4300cf065e94c8d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0c82f888c4ec1597bab11c4cffbae7e501f9a19d5241242a284d40ef51df996"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed753051127643b73f87d315db26139adf6fc1ebd8360e0a1b8f4b6c7332057c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"74d07e8338677316ce538e0c6b864b9a0a738b61780a87fb903042e5796b672e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1b094d5c418d53cd88340ec6bffbea65bbb719c03e6b457483058a495ebbcf7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2dd3a887fcc7a14fa5c615b3bd488a57ee99ab41564f2ee04455c2628f2cb691"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b361d6d77ad11b1e249b2bb80cfe9809fe817dd7a6d45351248cc6186724e6cd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d98ce8fcccdbfcccca81257da722914745091dc0c74d31dbccb480ebfd66d273"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b4469cae60e286278e7af2e37145c8d12a76b38e4f76fabbcfb9edd13a35d5c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"423f0c2065f6a88357efca3f44291e538002a5768fb3e8b07fb3fcdb965503f0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"58eedc7c9a374fb53747bf3c0665246be9399c9d804053dfe5a4d6d3c4c3c4b3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f73c2e826e84e8da25caecbfbe9a2e45c0644f6fe0cf4ae5b32da12c6e64c10d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cbc9d70dd8b6080185f0d24c307e88738f2214980cf3a4f6e5546a235e437762"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1daf9eec25c4206e3798c136a13ee860a9068a7d481de3cd84ae6ac6b4c8527"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7091c64e7e138e22abf596985a7133325753d8ef6f3d3384ff4dee9ce7b9b6b0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"866a9ff5f81f8f1e273935414c94d3df4ea01b260b3f47bec825d8383eafa0b8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20ceefdf9f3bc690994365e74d35c718d2f0f3dc21e173cc64f9f92bbaca4202"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f152f24659b88228fdf9a4512fff40e04ff496ead79e3a33b2684591ff83a99a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0265634132c2ae63842f4244acb6420bac97fc87264b2c5cbb72ffcbf431c758"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8f7e9904b6b25551d202e0acb0529edb4e2a5afdc026da11f7f63e34316081e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea79b5803bb4aa311ee864f57e9285d211e52c90afa23e98a6ed40cdde949838"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2413ae2aa34d810eacdf91aca1bd279b1828b5bb018804c96a8d83727a266c8c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48f27c022d5efc58febbcd92356afb30a7bbf8a7ce96db8319488a87679b94bb"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c0ad4b396af6fe56bdd80af721246a693243a5ca70514b8b0695964e6073bb8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c1b34feed736604d1bdd2edfb27c183fa96fa708ddb3a9531d2251c44244e5f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0927550a02e6536b3e7fddb7a636605a4114073163a768d0094c876e7e3f2342"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e8be5679679ac8834dc56cc4aca589f4f0cc67d99393e4d3453123bc0efeeb3"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eabf1168155e73b4586df3793d311fe778f98269b32823a1471322e0db22c47b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8faed1c698d06b256ced0a34a5930ff389cdbd622e2752a31f486494d7de12f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f64e86f91373d1dba6d583f62daeb11f36c85edf510985cfd6d0cd61568dbdeb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"131191a3e3ed574798b437e74a59f86e451653afd10eae9010f27b866f95f083"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f3528bc3c5953b2fe61cad3d6d3310a6e30b1fc9dd3edf6225d180ebccba8b6e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"360a57af71e180b7297ea4aeb1703ce057597c2d0c0e5b26a5f128a87d30a18f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"130ca1ea2140d75875e3b91195ee4b605eb8384328d477592faf9d29469a50fe"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c54782a213985338f0f223a01c131e3f0221d7b65cc585a389acf6398a16711"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"01adffb7f27c898ffa6161ce52d1e865051b9efb95e79c733a9763d25cb29d22"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5ee6f224c88ab2640c8e16676729b26fc0ae67fb05632a558ca0e0cc6fcb56c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a10acc2a4dc77de5393b1a661b1d9e3b2785140767ee51070079e8bacf533288"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63c7298556b83f6a2b5f3f7e4a9b4ca984a1d8f90410f527332926581942da3b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3fe4d78e8b22de818c691f7d3910eeca80c290a2ad97fa9885cc3495ed8bbb6a"},"taxa":[{"id":"CWE-88","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1fe674868ce95474df84ecaaeab72747d5da0108640c94e0e65c2a41c379f088"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f286d8741c3f474584c9691e00160e38133c06a05b83c05956e00e53243d0137"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8079be7f4a88bc4a41696788d4c9f11fa7b2107fd0c4d661e0297fee26a0944e"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"39801b15557569209b29a34a52202ec7ec6562d9289218d9ffd57389b71d1d4e"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc429a9e705ed5bcc91bab62016d7a269c782a4ce79b821e62213fbecff9da35"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83ca9fbf500b6e71ac6de639c99a6c13eafb9433aa251d7362fc515523fbe811"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85fd48c27bab3ed0df3823636c39e7335a7ca413a013350a2447c72d4abfec7b"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.1.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15f005b7c854aec9e5f9c428ac0534980bd5db41c9a4b6f7bf83134932f94707"},"properties":{"dependency":{"package":"js-yaml","version":"4.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.3.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aaef4bfd37a47892c8339a95896976a1bed76ec54ddf1454d28256fb4e9ac8b8"},"properties":{"dependency":{"package":"nanoid","version":"3.3.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"3.3.18","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"998962f5a3490e338ffafdc8ce3ae33f7043183a6420be11370682e68278abd4"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"1.2.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f83350a41bbafebf7b7a917415bd998bfeb944084a0d1a833f8049d678b84bcf"},"properties":{"dependency":{"package":"zod","version":"4.4.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.6.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"070f5b74df24b910be2f74e91cc7640ab790dfb81e8393236b57091dbc4f1fcb"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.1.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"11412d158a51c82f5e7cd4f2d7561e4aa5430f486dee8af04bce1fcbed4532a7"},"properties":{"dependency":{"package":"js-yaml","version":"4.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.3.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"170dafc74973b89e153458d25905d253238b55c0a036b1a43c6c9314513c62dd"},"properties":{"dependency":{"package":"nanoid","version":"3.3.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"3.3.18","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"26118e25350810c9ebe76bc705401e0c02dcdc75bf4557acb956c123d76be7f6"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"1.2.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4e834e08dbd30fa2c136ed078d4404f07812154e02091c4bc5f32a7b4a77816f"},"properties":{"dependency":{"package":"zod","version":"4.4.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.6.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b69cc898ecd96f911e24d06f141de8d88011e52e83dd971d1664665ee248997"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.1.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f38f458d14e55b3a6d12d627bf596252fddf4c15077a29b70c0ba29b2fb3c0cc"},"properties":{"dependency":{"package":"js-yaml","version":"4.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.3.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2bcd4e075db67303d50311dfc2ef29d08cd42a1a47e63b3bdf8942b5e9b0a669"},"properties":{"dependency":{"package":"nanoid","version":"3.3.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"3.3.18","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3498a519b9abd11daee7dfdc40cd231017e6435fa6ac89bd0724243b3329a806"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"1.2.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba54daed34b961b8127a3a4c3cc83dd4f844eb0d12a1883d1ba2861998c91765"},"properties":{"dependency":{"package":"zod","version":"4.4.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.6.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"703f77b139819f915f60e41594e1748e05ce44f5a42105cc6844556d50cb66b3"},"properties":{"dependency":{"package":"github.com/sparkle-project/Sparkle","version":"2.9.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96e91050857c5252d5e99ffa089e3e83023d7e5500197cff1669dd599b2b1ab8"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"7.1.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"7.1.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1fe68f7fa545d2da57a7797e80cc538a44acab4dae734d1e599b34949bbcc3d"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"7.1.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"7.1.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"020086cbaac3c44da0db384be1c51f7b7fd4f5bb934a4a51bf9319d0f8894e2a"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"7.1.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"7.1.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: TranscriptionCleanupPrompt.kt \u2194 validate_transcription_cleanup_prompt.swift: \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/TranscriptionCleanupPrompt.kt\u0060 (context AIDictationAndroid) and \u0060scripts/validate_transcription_cleanup_prompt.swift\u0060 (context scripts) sit in DIFFERENT parts of the tree yet change together 73% of the time (8 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060365f9a75\u0060 Harden cleanup prompt so dictated requests are edited, not acted on; \u00603bd23948\u0060 Fit the dictation boundary within the cleanup prompt word budget; \u0060f5456b35\u0060 Keep dictated requests as text instead of fulfilling them \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/remote/TranscriptionCleanupPrompt.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"039d857e959bc283f4e0abfe6c1f4cdd08abe4eb794ac35a4b313e3029f2a8b9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: SettingsScreen.kt \u2192 TranscriptionRepository.kt, CircularMicButton.kt, TranscriptionSettingsScreen.kt, CircularMicButtonView.kt: \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/settings/SettingsScreen.kt\u0060 changes together with 4 other files \u2014 \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/repository/TranscriptionRepository.kt\u0060, \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/components/CircularMicButton.kt\u0060, \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt\u0060, \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/views/CircularMicButtonView.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 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 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/settings/SettingsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abae4a4884bb6badcfcc45e049dde83f5e95364caea3dd3edcab809ecca49cb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MainScreen.kt \u2194 TranscriptionSettingsScreen.kt: \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainScreen.kt\u0060 and \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/transcription/TranscriptionSettingsScreen.kt\u0060 change together 80% of the time (8 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 \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 \u00604e38d37c\u0060 Android: grouped-list segments for History, Languages, and the transc\u2026; \u0060078e8b5d\u0060 Revert \u0022Android: white pages with light-grey cards across the main sc\u2026; \u00607384fba5\u0060 Android: white pages with light-grey cards across the main screens \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2fe1ab94c88d7a7c14ec39fb2da025aac4999e949213e4e51cd95ace49d16f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ContentView.swift \u2194 KeyboardRecordingView.swift: \u0060Whishpermate/WhisperMateIOS/ContentView.swift\u0060 and \u0060Whishpermate/WhisperMateKeyboard/KeyboardRecordingView.swift\u0060 change together 70% of the time (7 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). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060328fd61b\u0060 fix(ios-keyboard): Fix keyboard dictation setup screen hidden and app\u2026; \u00602bb5caa4\u0060 Implement iOS and keyboard audio recovery; \u00603d918858\u0060 Let free users earn words through referrals \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"036b7d9a8884403f56b5c3461126a7c9e36e143faaaeffd607d0948ba63b0d97"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: KeyboardViewController.swift \u2194 AudioRecorder.swift: \u0060Whishpermate/WhisperMateKeyboard/KeyboardViewController.swift\u0060 and \u0060Whishpermate/WhisperMateShared/Services/AudioRecorder.swift\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). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these 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 \u00604b3d293d\u0060 iOS: reuse the standby audio session for keyboard recording; \u00603ba9ec79\u0060 iOS 0.0.106: fix keyboard Quick Dictation start from background; \u00607476536b\u0060 iOS keyboard: keep Quick Dictation armed after first tap \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateKeyboard/KeyboardViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f353203996f74f7ad9ab55fdfe2dace82cb2b5009b7fa7388104edf71446b914"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ContentView.swift \u2194 KeyboardViewController.swift: \u0060Whishpermate/WhisperMateIOS/ContentView.swift\u0060 and \u0060Whishpermate/WhisperMateKeyboard/KeyboardViewController.swift\u0060 change together 58% of the time (11 of the 19 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). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u00603ba9ec79\u0060 iOS 0.0.106: fix keyboard Quick Dictation start from background; \u00607476536b\u0060 iOS keyboard: keep Quick Dictation armed after first tap; \u0060328fd61b\u0060 fix(ios-keyboard): Fix keyboard dictation setup screen hidden and app\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34467ef12adfcc1bddaf5ec85b4985db5ec65e76822e8b0ea0aedaff99b4cf03"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: OnboardingManager.swift \u2194 SettingsView.swift: \u0060Whishpermate/Whispermate/Services/OnboardingManager.swift\u0060 and \u0060Whishpermate/Whispermate/Views/SettingsView.swift\u0060 change together 50% of the time (9 of the 18 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). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, 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 \u0060eef22cc3\u0060 Stabilize macOS audio and settings before release; \u0060c77007b8\u0060 Reduce login friction before the next macOS release; \u006007addc14\u0060 Keep overlay color independent from app theme \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Services/OnboardingManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1377c95ae067b42446ed6b9189938e2c09713cd4e7d8e3b4d4f11ac0b336d8c3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SupabaseManager.swift \u2194 SettingsView.swift: \u0060Whishpermate/WhisperMateShared/Services/SupabaseManager.swift\u0060 and \u0060Whishpermate/Whispermate/Views/SettingsView.swift\u0060 change together 50% of the time (6 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). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these 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 \u0060b6f312b9\u0060 Replace monthly free tier with 5,000-word trial; \u00603d918858\u0060 Let free users earn words through referrals; \u00603e71ba97\u0060 Prepare macOS recording overlay and runtime fixes for release \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/WhisperMateShared/Services/SupabaseManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96eefd7d69e01f5d19ff66dda468d4f89eb607158295e9a01b849d05d8111867"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Navigation.kt \u2194 MainScreen.kt: \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/Navigation.kt\u0060 and \u0060AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainScreen.kt\u0060 change together 50% of the time (6 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 6 shared commits counted here, the most recent 3 are \u0060f39e66d9\u0060 Ship Android 0.0.25; \u00606fcce4fe\u0060 Flatten settings choices around account and processing; \u0060f8798563\u0060 Added API provider and model settings \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/Navigation.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a739033a3546b407718529ca00268968c1256ef55133797b94c8180a5aa7016f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: APIProvider.swift \u2194 ClipboardManager.swift: \u0060Whishpermate/Whispermate/Models/APIProvider.swift\u0060 and \u0060Whishpermate/Whispermate/Services/ClipboardManager.swift\u0060 change together 50% of the time (5 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). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00608edd9e4a\u0060 Use the website realtime endpoint for cloud dictation; \u0060de61ea69\u0060 Stop stale shipped transcription config from taking cloud offline; \u006085d4e287\u0060 Stop stale shipped transcription config from taking cloud offline \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Whishpermate/Whispermate/Models/APIProvider.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b05655dc310472d0ab90255cae4cde2c2f4d41f5aef2275d7b3b36ab01181da"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"057bee87f08c92cf167497d07f1d4f6963786385bc374c8d017a35817a098170"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"caeca69b808707f2c51e200fb58ad624ae993bc7ebe2e0c7df056e01c0055d0a"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ceba013f7f0948270455979aeeb48b729b6246e56e0d8dad97825bd1b5b8c48"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ffaf72c4eb9c1b2d4b449fbfdaa2987ecae61e7b598ef741c7a50d50d18de259"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a97b290ad51d692c550a4186763c658e3bdb3fedd1b8037b9127c9f76ea026b0"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe274ba5adebde25ca0b3db842e44cbb1aaeb7cfecfbb7215cd452596ba1f4c2"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: AppState: \u0060AppState\u0060 keeps one instance of itself in the static \u0060_instance\u0060, so that one instance serves the whole process and is shared by every thread that reaches it \u2014 and it mutates instance state outside any lock (CurrentAudioLevel, PeakAudioLevel, RecordingDuration; e.g. \u0060CurrentAudioLevel\u0060 at line 262)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AppState.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76a23c08d05f6859b66977b83c038bac0502edb23e2e48361dc175295d897f6"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: AuthService: \u0060AuthService\u0060 keeps one instance of itself in the static \u0060_instance\u0060, so that one instance serves the whole process and is shared by every thread that reaches it \u2014 and it mutates instance state outside any lock (IsAuthenticated, IsLoading, ErrorMessage, CurrentUser; e.g. \u0060IsAuthenticated\u0060 at line 83)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AuthService.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c8654bdb7cce5079df2db115eca90fd8b358166e99ad85f9eba87a20e74869"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: HotkeyService: \u0060HotkeyService\u0060 keeps one instance of itself in the static \u0060_instance\u0060, so that one instance serves the whole process and is shared by every thread that reaches it \u2014 and it mutates instance state outside any lock (_dictationHotkey, _commandHotkey, _dictationKeyDown, _commandKeyDown, _keyboardHookId, _mouseHookId; e.g. \u0060_dictationHotkey\u0060 at line 145)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/HotkeyService.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d3cc6b7ffa84c1fa7a6e15567800c4dc62f4956c35b1bd740b1432ad0c4d81"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: OverlayService: \u0060OverlayService\u0060 keeps one instance of itself in the static \u0060_instance\u0060, so that one instance serves the whole process and is shared by every thread that reaches it \u2014 and it mutates instance state outside any lock (_overlayWindow, _position, _hideWhenIdle, _colorTheme, _isEnabled; e.g. \u0060_overlayWindow\u0060 at line 45)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/OverlayService.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0750d8aeaef0a4882c3f22a9fabff6e97050dd9cec12ff2ea08f597b70bc02f3"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: SettingsService: \u0060SettingsService\u0060 keeps one instance of itself in the static \u0060Instance\u0060, so that one instance serves the whole process and is shared by every thread that reaches it \u2014 and it mutates instance state outside any lock (DictionaryEntries, Shortcuts, ContextRules; e.g. \u0060DictionaryEntries\u0060 at line 161)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/SettingsService.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f0cac4043d3e697e5f49b7bbc4b0dfafa3ba02efc38dcd8129b33dc1382360"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: OverlayWindow: \u0060OverlayWindow\u0060 is not registered, but the singleton \u0060OverlayService\u0060 creates it and keeps it in \u0060_overlayWindow\u0060, so one instance outlives every request and is shared by every caller that reaches it \u2014 and it mutates instance state outside any lock (_position, _hideWhenIdle, _colorTheme, _isHovering, _resetToken, _state; e.g. \u0060_position\u0060 at line 114)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Views/OverlayWindow.xaml.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1ce5db58fdb706435848a859045582d7588ea1ac9a1bfd58f0253f888c0280"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: SentryTelemetry: \u0060SentryTelemetry\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (_started; e.g. \u0060_started\u0060 at line 48). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/SentryTelemetry.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ca4e7ac8454c559e122c9ea807fb8d7d2e32fb7f918236674d6b8a78f427c6"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: ApiConfigManager: \u0060ApiConfigManager\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (transcriptionConfig; e.g. \u0060transcriptionConfig\u0060 in \u0060switchTranscriptionToCloud\u0060 at line 68)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/preferences/ApiConfigManager.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a4c893d5a10f238459dfc6773574348efa18699436d848dc261166f8360aaa"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: InstallationAnalytics: \u0060InstallationAnalytics\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (authResolved, observedUserId; e.g. \u0060authResolved\u0060 in \u0060start\u0060 at line 86)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/telemetry/InstallationAnalytics.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a3986da5c3c2386675ededc0f5208c1f030fdbef7ab98d541409aa51b9f185"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces AIDictation.Services \u2194 AIDictation.Views depend on each other. The lightest dependency in the cycle is AIDictation.Services \u2192 AIDictation.Views (AIDictation.Services.OverlayService \u2192 AIDictation.Views.OverlayWindow, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/OverlayService.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29d233849cca9adad1812b5d8668b350e63776bff06cd6ed3f0c91374570e53"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IAudioProcessingStore (20 members): \u0060IAudioProcessingStore\u0060 declares 20 members: \u0060PersistenceHealthy\u0060, \u0060BeginCaptureAsync\u0060, \u0060CaptureBecameReadyAsync\u0060, \u0060BeginFinalizationAsync\u0060, \u0060AdoptFinalizedCaptureAsync\u0060, \u0060RecordCaptureKnownIncompleteAsync\u0060, \u0060BeginRecognitionAsync\u0060, \u0060SaveCheckpointAsync\u0060, \u0060SaveRawResultAsync\u0060, \u0060CompleteAsync\u0060, \u0060ClaimUsageAsync\u0060, \u0060FailAsync\u0060, \u0060CancelAsync\u0060, \u0060AbandonAttemptAsync\u0060, \u0060TombstoneAsync\u0060, \u0060ClearAsync\u0060, \u0060RecoverOnLaunchAsync\u0060, \u0060ImportLegacyFinalizedSourceAsync\u0060, \u0060AcceptLegacySourceOwnershipAsync\u0060, \u0060GetAsync\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingContracts.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf61787bbdaa52217f64c25852468b1bb8aa66acb474a8d727c95345f306269"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RecordingDao (28 abstract methods): \u0060RecordingDao\u0060 declares 28 abstract methods: \u0060getAllRecordings\u0060, \u0060getRecordingById\u0060, \u0060getActiveRecordings\u0060, \u0060getFinalizationRecoveryCandidates\u0060, \u0060getInactiveRecordings\u0060, \u0060getDeletedRecordingsWithSources\u0060, \u0060insertRecording\u0060, \u0060claimRetry\u0060, \u0060advanceCapture\u0060, \u0060promoteRecoveredFinalizedSource\u0060, \u0060checkpoint\u0060, \u0060markRecognitionComplete\u0060, \u0060finishAttemptRow\u0060, \u0060finishRecognitionPreservingProgressRow\u0060, \u0060normalizeAbandonedAttemptRows\u0060, \u0060tombstone\u0060, \u0060tombstoneExact\u0060, \u0060tombstoneAllInactive\u0060, \u0060clearDeletedSourcePath\u0060, \u0060insertUsageClaim\u0060, \u0060insertInstallationAnalyticsEvent\u0060, \u0060getUsageClaimById\u0060, \u0060getNextPendingUsageClaimId\u0060, \u0060observePendingUsageClaimCount\u0060, \u0060markUsageClaimed\u0060, \u0060getUsageClaimCount\u0060, \u0060activeCount\u0060, \u0060getRecordingCount\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/dao/RecordingDao.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"397c4ca91cd0101f27ef91560c95d21ceeca56efa392a0c42c710275c2d26a12"}},{"ruleId":"AXR1","level":"warning","message":{"text":"WCAG 2.5.5 reproducibly failed on a screen of the running app: Accessibility-tree rule(s) android-target-size-enhanced failed on: /FrameLayout[0]/LinearLayout[0]/FrameLayout[0]/ComposeView[0]/View[0]/View[0]/View[0]/ScrollView[0]/View[10]. Read from the Android accessibility tree on an emulator (advisory \u2014 not scored); fix and re-scan to verify it clears."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2ee3de9aa0028c9191f2c7f1fbe833d922554b9a7aa02dd137ec3133f3400420"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: InstallationAnalyticsEventEntity: \u0060InstallationAnalyticsEventEntity\u0060\u0027s public constructor takes \u0060eventId\u0060, \u0060installationId\u0060, \u0060anonymousId\u0060, \u0060eventName\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060InstallationAnalyticsEventEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/entity/InstallationAnalyticsEventEntity.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"847b3f06bbb10852e61dcc9c518995c12482fb369c6c4f214a310270dc34dab1"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: RecordingEntity: \u0060RecordingEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060transcription\u0060, \u0060audioFilePath\u0060, \u0060status\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060RecordingEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/entity/RecordingEntity.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c7a5db4a8ed3c9de708f126ab1822ff044b5a16cbf18766e9407c9ff5fb658"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: UsageClaimEntity: \u0060UsageClaimEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060recordingId\u0060, \u0060state\u0060, \u0060usageDestination\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060UsageClaimEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/entity/UsageClaimEntity.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac20bb6ab73c90d956a530bee6099f4047f3c4686f817a59da090582b6c4f4d"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [AttemptId, ClearGeneration, DeletionGeneration, RecordingId] decided in 2 places: AIDictation.Services.AudioAttemptLease\u0027s [AttemptId, ClearGeneration, DeletionGeneration, RecordingId] are judged in AIDictation.Services.AudioProcessingCoordinator, AIDictation.Services.AudioRecorderService \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2b2d23a9293a593286a5f6fc0438c84309ba7a3c0e76afb3ec19750bf90771ef"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [AttemptId, ClearGeneration, DeletionGeneration, RecordingId] decided in 2 places: AIDictation.Services.AudioAttemptLease\u0027s [AttemptId, ClearGeneration, DeletionGeneration, RecordingId] are judged in AIDictation.Services.AudioProcessingCoordinator, Contract.FakeCoordinatorStore \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f32e45789b6f34ae1352a53c6313979764a1d474bfe97f8cff85b454064d5725"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Converters/OnboardingConverters.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ceb3d49c7e206e7f40bd6a356ba74be600cdbb161f5673280e2c513e6620ccf"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Converters/SettingsConverters.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83c016fb6d071a5a9aec829b1f081ddadfa58dd532e3b6aeb2e1ef8d9e80fd2"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Converters/SettingsConverters.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23b5e504e809a87c70d197bafbbb1fc2c7d8dfab2c6a0e15c49447b1add2b05"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Converters/SettingsConverters.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f320776ea06bbdd44f6fedc1da598901e4791b10e4977ecc514c2f2f116ca61"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Converters/SettingsConverters.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d93bd7cb153fa0399e4643dbc373291ad2d60726e6110afafdb89395cda901f"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060.\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 15 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/android-build.yml"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060AIDictation.Windows/AIDictation/AIDictation.csproj\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/AIDictation.csproj"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5848f445a18476e70e57630d0d61e2114e623cdd471e60a15c7eda31c2c877d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new HttpClient { Timeout = Timeout.InfiniteTimeSpan }\u0060 builds an outbound HTTP client, and what is applied to it does not bound it. Its \u0060Timeout\u0060 is set to \u0060Timeout.InfiniteTimeSpan\u0060, which removes HttpClient\u0027s own bound rather than setting one. This codebase ships libraries/tools rather than a service it operates, so the failure lands as a hung caller \u2014 a build step, a CLI run, a UI thread \u2014 with no way out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/LanguagePostProcessService.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ebe6ea7118246a894eb0f587a2a891f63942bc6569dae32b3cc23226da503b"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new HttpClient { Timeout = Timeout.InfiniteTimeSpan }\u0060 builds an outbound HTTP client, and what is applied to it does not bound it. Its \u0060Timeout\u0060 is set to \u0060Timeout.InfiniteTimeSpan\u0060, which removes HttpClient\u0027s own bound rather than setting one. This codebase ships libraries/tools rather than a service it operates, so the failure lands as a hung caller \u2014 a build step, a CLI run, a UI thread \u2014 with no way out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/TranscriptionService.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd87162db4af8c31528996595d9f44be02089afbe777083b9ecc1443d734521c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new HttpClient { Timeout = Timeout.InfiniteTimeSpan }\u0060 builds an outbound HTTP client, and what is applied to it does not bound it. Its \u0060Timeout\u0060 is set to \u0060Timeout.InfiniteTimeSpan\u0060, which removes HttpClient\u0027s own bound rather than setting one. This codebase ships libraries/tools rather than a service it operates, so the failure lands as a hung caller \u2014 a build step, a CLI run, a UI thread \u2014 with no way out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/WhisperLocalService.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc1751cea23e9568f8a01a435453e31597cbcacda5f01ec42873cca353fb626"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new HttpClient(new DelegateHandler(async (request, token) =\u003E { sentBody = awa...\u0060 builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. This codebase ships libraries/tools rather than a service it operates, so the failure lands as a hung caller \u2014 a build step, a CLI run, a UI thread \u2014 with no way out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1604}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5b681bbb58e2daa564707cb023b0e5346b51ae4d34732968a0e6a3c6e687b7"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new HttpClient(new DelegateHandler((_, _) =\u003E Task.FromResult(JsonResponse(sta...\u0060 builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. This codebase ships libraries/tools rather than a service it operates, so the failure lands as a hung caller \u2014 a build step, a CLI run, a UI thread \u2014 with no way out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1632}}}],"partialFingerprints":{"codehealthFindingId/v1":"8188dd191cfa0463d59c420f268b7ae320f191d99e4278b85b7c3c2ec6f50ff2"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new HttpClient(new DelegateHandler((_, _) =\u003E Task.FromResult(new HttpResponse...\u0060 builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. This codebase ships libraries/tools rather than a service it operates, so the failure lands as a hung caller \u2014 a build step, a CLI run, a UI thread \u2014 with no way out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"9101ed5ea71c3c09b82aeabdd4f6717564f64e270481d894a77401872bb085d1"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new HttpClient(new DelegateHandler((_, _) =\u003E { var content = new ByteArrayCon...\u0060 builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. This codebase ships libraries/tools rather than a service it operates, so the failure lands as a hung caller \u2014 a build step, a CLI run, a UI thread \u2014 with no way out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1cc322ed0a9430c422788644a5e9e318ba9b4a66d38262f7b8fb7318428d9b"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new HttpClient(new DelegateHandler((_, _) =\u003E Task.FromResult(response)))\u0060 builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. This codebase ships libraries/tools rather than a service it operates, so the failure lands as a hung caller \u2014 a build step, a CLI run, a UI thread \u2014 with no way out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece35663fa77132f7392264f7dd4f5ea9cfbb65badf97790ffb276ecda8938f4"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new HttpClient(new DelegateHandler(async (_, token) =\u003E { await Task.Delay(Tim...\u0060 builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. This codebase ships libraries/tools rather than a service it operates, so the failure lands as a hung caller \u2014 a build step, a CLI run, a UI thread \u2014 with no way out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9da1209ff59a2d96d035bb987ee74b13ced2c1a28cc0389bf31e3229186a552"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new HttpClient(new DelegateHandler((_, _) =\u003E ignoredCleanup.Task))\u0060 builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. This codebase ships libraries/tools rather than a service it operates, so the failure lands as a hung caller \u2014 a build step, a CLI run, a UI thread \u2014 with no way out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1704}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4544c00afbb08382c0f0dcaee2b4642a7302b543d1d78454c17d2220bb863ad"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060testStickyCancellationBeforeNewAndRetryAllocationReturns\u0060 is async and calls .wait() \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"202eca76fcc1457bee43062b02e43d397ee57f8f18b94003489bc0de94601d74"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060testBoundedDeepValidationAndCaptureLimitFinalization\u0060 is async and calls Thread.sleep \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate_ios_audio_processing_recovery.swift"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"86180a8913003d84624cf1a3afadced1db8a2517f5fd35d0517ba4d1f948b20a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: 11 blocking call(s) on async work (.Wait()/.GetAwaiter().GetResult()) \u2014 these waste a thread and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2dedb76432d7d4f359386b5c37564c0f3de368182a77e31aa8af9ba73f9a4def"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter() .GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"541d3f1c588a587dbdbfc77c6d00acd5637f9fda3c9692290fedcb3fa34a691d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter() .GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1911}}}],"partialFingerprints":{"codehealthFindingId/v1":"184ca487d3a62aa7212dee17e3df49ae874f9be6057fb2c307c06a2503ae7414"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter() .GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc9a4dc5ec67b634df0ec7dc46fd7e5507564445f3f9755bb44073b117aa492"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060deleteRelease.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"1416708a7a75076b0f224991215354c930cccf0b7634ca947f5463c1a9baefdd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060clearRelease.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"a264e9c5d9224663222396d7c3c8efb07c2c65aa9f36250f353b832cce5ccec9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060factoryRelease.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1818}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9a065cb28fd5bc7e185889c328d6023c4ba3776184535f451a876b11f95bfe"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060release.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"713ff0ecf6dc819404661764efe34c2ad72700535ee54b249768ed932b9fae2b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_captureSnapshotRelease.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":3388}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1ec7f9a1b40c9534bcb66c39440d341a15f030eea0de1b00c23f76c33536fd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_synchronousSetupRelease.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":3411}}}],"partialFingerprints":{"codehealthFindingId/v1":"5435177ad76cbe842f434535c1a05451c3503bd491bc601279eb786433d0dc38"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_startPreparingRelease.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":3598}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e61dcdbebd49e148a7d526679aaae90b8caf17916225698be76682ca7060b77"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_startRetryingRelease.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/RecoveryContract/Program.cs"},"region":{"startLine":3618}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66102e206bc3e7700a92e4e8cd13383174c593d04608cd32c9a6352a2d82512"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (21 clone groups): 21 duplicated blocks under marketing/videos/ have copies in at least two of the sibling directories 2026-07-30-how-to-use-dictation-on-mac, 2026-08-01-voice-typing-android, 2026-08-02-open-source-speech-to-text \u2014 14 of them are reported below, and 7 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 21 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 21 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 21 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marketing/videos/2026-08-01-voice-typing-android/src/components.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ece6c6925c53146e519d44b903747f830a532af72163f760c060a1a297a6999"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (98 lines \u00D7 2 locations): marketing/videos/2026-08-01-voice-typing-android/src/components.tsx:13 \u00B7 marketing/videos/2026-08-02-open-source-speech-to-text/src/components.tsx:13 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marketing/videos/2026-08-01-voice-typing-android/src/components.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b3dc401482514a1959958240946c66f589c66b40681c0a22ccbc5a4c2a762a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (59 matched lines \u00D7 2 locations): marketing/videos/2026-08-01-voice-typing-android/src/scenes.tsx:39 \u00B7 marketing/videos/2026-08-02-open-source-speech-to-text/src/scenes.tsx:41 \u2014 the two spans are one implementation copied and then locally edited \u2014 502 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marketing/videos/2026-08-01-voice-typing-android/src/scenes.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8e573ec407fecc9c83e18843a229c5295b6b625325d63da7d856ca4c7203a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2 locations): marketing/videos/2026-07-30-how-to-use-dictation-on-mac/src/components.tsx:154 \u00B7 marketing/videos/2026-08-02-open-source-speech-to-text/src/components.tsx:212 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marketing/videos/2026-07-30-how-to-use-dictation-on-mac/src/components.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f35c3de65a83ba339eaa10d9d58b9262a08b23a17f362a900eadd9505cbdff9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 3 locations): marketing/videos/2026-07-30-how-to-use-dictation-on-mac/src/components.tsx:11 \u00B7 marketing/videos/2026-08-01-voice-typing-android/src/components.tsx:13 \u00B7 marketing/videos/2026-08-02-open-source-speech-to-text/src/components.tsx:13 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marketing/videos/2026-07-30-how-to-use-dictation-on-mac/src/components.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7344befeb054fba98eaa8f749b86348a34d39cb734b9477876f7853dd6b0c9bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (43 matched lines \u00D7 2 locations): marketing/videos/2026-07-30-how-to-use-dictation-on-mac/src/scenes.tsx:245 \u00B7 marketing/videos/2026-08-02-open-source-speech-to-text/src/scenes.tsx:110 \u2014 the two spans are one implementation copied and then locally edited \u2014 359 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marketing/videos/2026-07-30-how-to-use-dictation-on-mac/src/scenes.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6fddb92e8949e210c9d04b8e4c995e84a8679f1c75d8d8a68ed20399219c38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (32 matched lines \u00D7 2 locations): marketing/videos/2026-08-01-voice-typing-android/src/scenes.tsx:74 \u00B7 marketing/videos/2026-08-01-voice-typing-android/src/scenes.tsx:181 \u2014 the two spans are one implementation copied and then locally edited \u2014 290 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marketing/videos/2026-08-01-voice-typing-android/src/scenes.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6451723a96915d7196a0e80dc3bbbd2321b7bf74f426c87a1ba95fa82ff3afc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): marketing/videos/2026-08-01-voice-typing-android/src/components.tsx:188 \u00B7 marketing/videos/2026-08-02-open-source-speech-to-text/src/components.tsx:185 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marketing/videos/2026-08-01-voice-typing-android/src/components.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e24f694e10519dd18ea7a91f98a65e4d2cfef856bbfef074e7eb69d72a16f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): marketing/videos/2026-07-30-how-to-use-dictation-on-mac/src/theme.ts:5 \u00B7 marketing/videos/2026-08-01-voice-typing-android/src/theme.ts:4 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marketing/videos/2026-07-30-how-to-use-dictation-on-mac/src/theme.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6756519911f2669651e0f928777261d3062d043f90bc108bfd85fc2638bf7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): marketing/videos/2026-08-01-voice-typing-android/src/scenes.tsx:254 \u00B7 marketing/videos/2026-08-02-open-source-speech-to-text/src/scenes.tsx:213 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marketing/videos/2026-08-01-voice-typing-android/src/scenes.tsx"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4be5da1fe7fc037b27395a5188e3d5e29b663f969cb9d17926029517577683e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): marketing/videos/2026-07-30-how-to-use-dictation-on-mac/src/Root.tsx:21 \u00B7 marketing/videos/2026-08-01-voice-typing-android/src/Root.tsx:21 \u00B7 marketing/videos/2026-08-02-open-source-speech-to-text/src/Root.tsx:21 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marketing/videos/2026-07-30-how-to-use-dictation-on-mac/src/Root.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8399f88d142f7d81a19ef3fd45c0d382767f1aa1a90a7c8dad019ad6782b6301"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): marketing/videos/2026-08-01-voice-typing-android/src/scenes.tsx:232 \u00B7 marketing/videos/2026-08-02-open-source-speech-to-text/src/scenes.tsx:196 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marketing/videos/2026-08-01-voice-typing-android/src/scenes.tsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"44231d3ff90c4707cc8460c875f163d896bf3cc824c6c42cdc36673d7c516486"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): marketing/videos/2026-07-30-how-to-use-dictation-on-mac/src/scenes.tsx:300 \u00B7 marketing/videos/2026-08-01-voice-typing-android/src/scenes.tsx:263 \u00B7 marketing/videos/2026-08-02-open-source-speech-to-text/src/scenes.tsx:222 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marketing/videos/2026-07-30-how-to-use-dictation-on-mac/src/scenes.tsx"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa504164326a8da817811ac20bb5a5198d9231caa285ac21c2eac4ff1275990"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): supabase/functions/appsumo-webhook/index.ts:122 \u00B7 supabase/functions/appsumo-webhook/index.ts:172 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"supabase/functions/appsumo-webhook/index.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d3186a5a40d902e92d6b986d370e27b3fd58e91dee9f3487d7ee2b432b6637"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): marketing/videos/2026-07-30-how-to-use-dictation-on-mac/src/scenes.tsx:22 \u00B7 marketing/videos/2026-08-01-voice-typing-android/src/scenes.tsx:23 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marketing/videos/2026-07-30-how-to-use-dictation-on-mac/src/scenes.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac94cebe033f2231c1c49c9dad36434c802d50ef2dd7d03b0c95a8ccbb39e42c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): marketing/videos/2026-07-30-how-to-use-dictation-on-mac/src/Root.tsx:15 \u00B7 marketing/videos/2026-08-01-voice-typing-android/src/Root.tsx:15 \u00B7 marketing/videos/2026-08-02-open-source-speech-to-text/src/Root.tsx:15 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marketing/videos/2026-07-30-how-to-use-dictation-on-mac/src/Root.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bec7e7b84bf516f5cd119371662076950516dd6f0a5ff51db3fbb70152142be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): marketing/videos/2026-07-30-how-to-use-dictation-on-mac/src/scenes.tsx:165 \u00B7 marketing/videos/2026-07-30-how-to-use-dictation-on-mac/src/scenes.tsx:170 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marketing/videos/2026-07-30-how-to-use-dictation-on-mac/src/scenes.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9422c09adb4996a7d9926c899473293dc3082a97fed21c270adcf71cd972b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): marketing/videos/2026-08-01-voice-typing-android/src/components.tsx:118 \u00B7 marketing/videos/2026-08-02-open-source-speech-to-text/src/components.tsx:127 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marketing/videos/2026-08-01-voice-typing-android/src/components.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"110aea78180c14b071a41e8607755318b5658379550bdfda67c455136185f0b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): marketing/videos/2026-08-02-open-source-speech-to-text/src/scenes.tsx:26 \u00B7 marketing/videos/2026-08-02-open-source-speech-to-text/src/scenes.tsx:234 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"marketing/videos/2026-08-02-open-source-speech-to-text/src/scenes.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91274bea6dcf87864402ee9d9955df60dbcb8525963ed67ea9a460ed34ea37c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 51): (anonymous) has cyclomatic complexity 38 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"supabase/functions/appsumo-webhook/index.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f52d7a14ba39295c17f7c7423fe2036806713ef84ed42bd22dd7647daba73f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function declareNoSocialMedia (cyclomatic 20, cognitive 28): declareNoSocialMedia has cyclomatic complexity 20 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/submit_ios_for_review.mjs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"00dda14fc6350a0b5824606a9097e634ff92c7a0de75f337eb1322a8809bb308"}},{"ruleId":"R6","level":"warning","message":{"text":"No lint script: test \u2713 \u00B7 lint \u2717 \u00B7 typecheck \u2713 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bc8e67e81453cf5399dd04786d18b232180426b135169175fee670bdd83ccb03"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~302 LoC): no import path from any entry point (4 application, 3 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"supabase/functions/appsumo-webhook/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdec26bbfcd72ffac5f52636906205e819432c8915619a063d6f8814e225904b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~3 LoC): no import path from any entry point (4 application, 3 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (supabase/functions/appsumo-webhook/index.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"supabase/functions/_shared/appsumo-tiers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85c173a1132496fc7641d1e096b04806911c3032b8b926fb64b529c6ae8e5f4"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: AIDictation.Windows/AIDictation/AIDictation.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/AIDictation.csproj"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"803a24b540e2bdb6caf2fb63f3ffa28689c7f675b6cfd5ef885fa079fa2dd6a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!result.IsSuccess || string.IsNullOrWhiteSpace(result.Text)\u0060 appears character-identically in 2 files \u2014 AIDictation.Windows/AIDictation/App.xaml.cs, AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs. 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":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ac27798a04bde7a3cc58555927654f29e5029846df57f9e99455171ee13ba5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060imported.Applied \u0026\u0026 imported.Entry != null\u0060 appears character-identically in 2 files \u2014 AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs, AIDictation.Windows/RecoveryContract/Program.cs. 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":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27baa68a31f868bcf9c8dfc321d93fc0e4dc57cdeef6f759dc57306e321b110"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isInstalled \u0026\u0026 appPreferences.onDeviceTranscriptionEnabled.first()\u0060 appears character-identically in 2 files \u2014 AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainViewModel.kt, AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingViewModel.kt. 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainViewModel.kt"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd51e4fe939ddfdf798328395d54beec8ebbe2a234b4b5f03296760db66f155b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060finalized.durationMs \u003C 300 || !finalized.speechDetected\u0060 appears character-identically in 3 files \u2014 AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainViewModel.kt, AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingViewModel.kt, AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/recording/RecordingViewModel.kt. 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainViewModel.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c2f6a8f3194e547d946cd5cec5fb8a18ede3c8e67c79316501dbdc5b5a96f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isInstalled \u0026\u0026 appPreferences.onDeviceTranscriptionEnabled.first()\u0060 appears character-identically in 2 files \u2014 AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainViewModel.kt, AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/onboarding/OnboardingViewModel.kt. 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/MainViewModel.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"753cdf8dbef41c8c2c26daafef2d3ac8d65ebf37cbbe185cbc38d1ce60184eb5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060recording.audioFilePath != null \u0026\u0026 File(recording.audioFilePath).exists()\u0060 appears character-identically in 2 files \u2014 AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/RecordingDetailScreen.kt, AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/RecordingDetailSheet.kt. 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/ui/screens/main/RecordingDetailScreen.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae77295eebf6992412b42b15e00cc68ec479e75226cf84dec160e2f94362cdcb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060token == blankIndex || emittedTokens == MAX_TOKENS_PER_STEP\u0060 appears character-identically in 2 files \u2014 AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetLiteRtModel.kt, AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetTranscriber.kt. 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":"AIDictationAndroid/app/src/main/java/com/whispermate/aidictation/data/local/ParakeetLiteRtModel.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7ba1545edd6e986c48488b71e89c3dc3526803a8536a88c527283ea4433fef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060l.Language != Language.Auto \u0026\u0026 l.IsSelected\u0060 appears character-identically in 2 files \u2014 AIDictation.Windows/AIDictation/ViewModels/OnboardingViewModel.cs, AIDictation.Windows/AIDictation/ViewModels/SettingsViewModel.cs. 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":"AIDictation.Windows/AIDictation/ViewModels/OnboardingViewModel.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c63f30fee08d404a15d3c0a869eabc4e6215e50fa8825acd5ecd747ccaf5cf6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!$0.isNotesModeRule \u0026\u0026 !$0.isMeetingsModeRule\u0060 appears character-identically in 2 files \u2014 Whishpermate/WhisperMateShared/Managers/ContextRulesManager.swift, Whishpermate/Whispermate/Services/MacTranscriptionAttemptSnapshot.swift. 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":"Whishpermate/WhisperMateShared/Managers/ContextRulesManager.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"15961063c15ff173f9e1ca56be71cd59cbd9f3fbba1a3cae9a153acf0ef1b65c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.user_id == nil || $0.user_id == AuthManager.shared.currentUser?.userId.uuidString.lowercased()\u0060 appears character-identically in 2 files \u2014 Whishpermate/WhisperMateShared/Services/MobileInstallationAnalytics.swift, Whishpermate/Whispermate/WhispermateApp.swift. 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":"Whishpermate/WhisperMateShared/Services/MobileInstallationAnalytics.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95f322c9fbaa790af0e2205cd294749c2388929d659296e9bb77fe236e41b05"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060activeAttempt?.attemptID == attemptID || activeAttempt == nil\u0060 appears character-identically in 2 files \u2014 Whishpermate/WhisperMateIOS/ContentView.swift, Whishpermate/WhisperMateIOS/RecordingSheetView.swift. 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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3460}}}],"partialFingerprints":{"codehealthFindingId/v1":"0427f3033c67474af00e7d44afff2b01ebac7ef79a2db8a63a5496c692f3fe42"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060character.isLetter || character.isNumber\u0060 appears character-identically in 2 files \u2014 Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift, Whishpermate/WhisperMateShared/Services/SubscriptionManager.swift. 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":"Whishpermate/WhisperMateShared/Services/MobileAudioProcessingStore.swift"},"region":{"startLine":2537}}}],"partialFingerprints":{"codehealthFindingId/v1":"35db369c4746987c0c6e7e583d73d5af7982b26be54def8d03942f73d7ed96a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060endpoint.scheme?.lowercased() == \u0022https\u0022 \u0026\u0026 (host == \u0022writingmate.ai\u0022 || host == \u0022www.writingmate.ai\u0022) \u0026\u0026 endpoint.path == \u0022/api/openai/v1/r\u2026\u0060 appears character-identically in 2 files \u2014 Whishpermate/WhisperMateShared/Services/WritingmateRealtimeSessionSupport.swift, Whishpermate/Whispermate/Services/AppState.swift. 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":"Whishpermate/WhisperMateShared/Services/WritingmateRealtimeSessionSupport.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d178a5c3d1c0a5cdebaf8c3cb87ff6bc419d3adb2dd17f0bf6cc8fe216e80f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060host == \u0022writingmate.ai\u0022 || host.hasSuffix(\u0022.writingmate.ai\u0022)\u0060 appears character-identically in 2 files \u2014 Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift, Whishpermate/Whispermate/Services/OpenAIClient.swift. 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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e62cfd50b7fc3050f4052fe36c80bc87836db6f0547f870c419aa3665a0056"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060host.contains(\u0022writingmate\u0022) || host.contains(\u0022aidictation\u0022)\u0060 appears character-identically in 2 files \u2014 Whishpermate/WhisperMateShared/Services/SecretsLoader.swift, Whishpermate/Whispermate/Services/SecretsLoader.swift. 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":"Whishpermate/WhisperMateShared/Services/SecretsLoader.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf3509ac577b1f7d8f7f374c433f2d08d4d30891c1881b3cd10f98c77545cac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lowered.contains(\u0022auth\u0022) || lowered.contains(\u0022supabase\u0022) || lowered.contains(\u0022sign\u0022)\u0060 appears character-identically in 2 files \u2014 Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift, Whishpermate/Whispermate/Services/SentryTelemetry.swift. 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":"Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"424fe2f1267ccb25c22087a95ffdab218235e4c833d38de7d1a9599e4721a0b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lowered.contains(\u0022transcri\u0022) || lowered.contains(\u0022openai\u0022) || lowered.contains(\u0022realtime\u0022)\u0060 appears character-identically in 2 files \u2014 Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift, Whishpermate/Whispermate/Services/SentryTelemetry.swift. 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":"Whishpermate/WhisperMateIOS/Services/SentryTelemetry.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bce3e8e01fba8686b66986c289bf28aa036f75aef06a6c8c6e2da7e08a5218"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.contains(\u0022built-in\u0022) || name.contains(\u0022macbook\u0022) || name.contains(\u0022internal microphone\u0022)\u0060 appears character-identically in 2 files \u2014 Whishpermate/Whispermate/Services/AudioDeviceManager.swift, Whishpermate/Whispermate/Services/SentryTelemetry.swift. 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":"Whishpermate/Whispermate/Services/AudioDeviceManager.swift"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd183c4288ba6c4bef2ce434df3bd7872e44a14a7d1c31dbde419bb8ab75917"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pendingAttemptID == attemptID || activeAttempt?.attemptID == attemptID\u0060 appears character-identically in 2 files \u2014 Whishpermate/WhisperMateIOS/ContentView.swift, Whishpermate/WhisperMateIOS/RecordingSheetView.swift. 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":"Whishpermate/WhisperMateIOS/ContentView.swift"},"region":{"startLine":3449}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da15f7ae88a0241c0bc108ccaf4e87f2bf1598d8e520b5e2f81290da7dabd62"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060postProcessingEnabled \u0026\u0026 !(chunk.usesChunkFields \u0026\u0026 endpointHasServerCleanup)\u0060 appears character-identically in 2 files \u2014 Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift, Whishpermate/Whispermate/Services/OpenAIClient.swift. 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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d2fc6597a5c7983fcb2af93d0b216dd5c766389e45e0134fecdfab3f8194dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060proxyRequestId != nil || proxyTotalMs != nil\u0060 appears character-identically in 2 files \u2014 Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift, Whishpermate/Whispermate/Services/OpenAIClient.swift. 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":"Whishpermate/WhisperMateShared/Networking/OpenAIClient.swift"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"8834870c664593f06cf2339b3475ad77f256711fd5d20d4f2230105641549a19"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record.stage == .rawResultReady || record.stage == .cleaning\u0060 appears character-identically in 2 files \u2014 Whishpermate/Whispermate/Services/AppState.swift, Whishpermate/Whispermate/Services/MacAudioProcessingStore.swift. 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":"Whishpermate/Whispermate/Services/AppState.swift"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"324257d61625021eceafe5fddde43c7770794ee576eb4c5fab4cc95c4b93d371"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060recording.status == .processing || recording.status == .retrying\u0060 appears character-identically in 2 files \u2014 Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift, Whishpermate/Whispermate/Views/HistoryView.swift. 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":"Whishpermate/Whispermate/Views/HistoryMasterDetailView.swift"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46b29623939ad37b8b3aff88175a8c0de03b40b9f206130379b34113a4b7e62"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type == .tapDisabledByTimeout || type == .tapDisabledByUserInput\u0060 appears character-identically in 2 files \u2014 Whishpermate/Whispermate/Services/FnKeyMonitor.swift, Whishpermate/Whispermate/Services/HotkeyManager.swift. 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":"Whishpermate/Whispermate/Services/FnKeyMonitor.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ddabf61cf41415002ec12c4bae40285e05248c6cd9137d1fb6febec6adaf24"}},{"ruleId":"X5","level":"note","message":{"text":"Null-forgiving operator (\u0060!\u0060) suppressions override nullable warnings: ~1.7 \u0060!\u0060 suppressions per 1k syntax nodes \u2014 150 suppression(s) across the 89045 syntax node(s) in code where nullable warnings are ENABLED, which is the only code a \u0060!\u0060 can suppress anything in (a \u0060!\u0060 under \u0060#nullable disable\u0060 is inert and is not counted, and its file\u0027s nodes are not in the denominator). Each one tells the compiler to trust you about null, suppressing the very safety NRTs provide. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4ae9a4afaefbfeb512a0b9a87d1bd44cd285ab1e804e4b89c8cf80f255687dfd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060UsesLightWindowsTheme\u0060 swallows every exception into \u0060return true;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/App.xaml.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d74881553b92bfa02271f041281e8450c84c0c883136ba985995cbf52d43e6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060LoadFallbackFile\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Helpers/CredentialHelper.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a2b9e14cd84c89da57796314efd231f88681d4adb1ca67be5eafc373141ebd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetForegroundWindowHandle\u0060 swallows every exception into \u0060return IntPtr.Zero;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Helpers/ForegroundWindowHelper.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ca3bccc3e21af79352e6082d04b11229e0915902a1ad358ab7da8194cdfec2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetForegroundApp\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Helpers/ForegroundWindowHelper.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"771824861b729578fad53c057ba7bd28ec850625d8e9f31a44bab3f78439b99f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060RunRecognitionAsync\u0060 swallows every exception and sets \u0060historyUpdated = false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5907be744e30bdd58ea83679cde826155e8b46a093815ce83c93ae4993c7c1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060PersistAbandonedAttemptAsync\u0060 swallows every exception and sets \u0060proofFaulted = true;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"4736ce7bd7a248dd69efcae3214de0b7c69dd48ae8fbf788a9cefc9b8f76e88a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryClaimUsageWithDeadlineAsync\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingCoordinator.cs"},"region":{"startLine":1598}}}],"partialFingerprints":{"codehealthFindingId/v1":"635e3b5bed5cdd436ce3f4dc9251cbe4774911d2016f7dad652ea15da38e36f5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryRecoverFinalizedSource\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingStore.cs"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1e990563a9e205daba6300a1ef090bdb940728fe5b7e3f9c28a839e694bcf7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryDeleteTrackedLegacySource\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingStore.cs"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4b60a959239426b53e79cc3965a23938db9fce29611ec00f8ec24c14166c68"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ManagedSourceIsRegular\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioProcessingStore.cs"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df05ead69d6ec86ea609af0651569eb08008f97a64c498e1d189299b0af4ad6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetDefaultDeviceAsync\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"67032ceacf66e534bc6b5226fe6ae6dd5b7e99f7a27b2fa84814187c77038306"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetSelectedOrDefaultDevice\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"31143757185eb686132e024f40642104088cf7dbfe23809982b566b1ab3edf5a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetDefaultCaptureDevice\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d985cf4593291fb586262c8c07dc9e0b60c0f8220035411cf6c1d54a6c7b78e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsDefaultDevice\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AudioRecorderService.cs"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"217f22850ebe4c4431c7551d7511a248a7895444fdcc62b88d4ac999372605f6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetJwtExpiry\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AuthService.cs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"684fdfe96e880d0ab66ca8f60a1717afa5f49396cf36fb69696a47f5b9c41d48"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060FetchProfileAsync\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/AuthService.cs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d541fe5cd40a7f181d1172babb0d3756bfec67d24af8e83a7228e303e80c09"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsCurrentProcessElevated\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/ClipboardService.cs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d95500712f5647f5fda79c5b7f14ca6484188a69e9d0f87e0bcf694fa72d385"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetCharacterBeforeCaret\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/ClipboardService.cs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"d545e00df43ecb173bc3e7ae397bb93a5cc8ce4ef97e6bde980d868ad0f7b2e5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsHotkeyAvailable\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/HotkeyService.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"c903e314bcb9ed72721b3f5e4576400cf3779672e39fe77f73a37adbd1d1bed3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060EntryExistsNoFollow\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/ManagedAudioFileSystem.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3d9c3d54ddb895ee1a90a356efcb18270eeca0951c143cfc447416504c677d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetLaunchAtStartup\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Services/SettingsService.cs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"385c2979588214d05eae98eef3a2222f5599bf5bf41bada4f3c625dc714c80d5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetActiveMonitorWorkArea\u0060 swallows every exception into \u0060return SystemParameters.WorkArea;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AIDictation.Windows/AIDictation/Views/OverlayWindow.xaml.cs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"01dc0a572348728da7b6595ecce61ed85b9de970b4a8ac65c786dd4d35be22eb"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-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-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.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-88","guid":"32dec161-013d-ac58-8599-1309e12e67f5","name":"Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/88.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-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"Improper Export of Android Application Components","shortDescription":{"text":"Improper Export of Android Application Components"},"helpUri":"https://cwe.mitre.org/data/definitions/926.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_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/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":103,"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."]}]}