{"$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":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"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":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"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":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"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":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ReceiveLightningScreenKt.ReceiveLightningScreen (cyclomatic 143): ReceiveLightningScreenKt.ReceiveLightningScreen has cyclomatic complexity 143 (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":"android/app/src/main/java/com/cashu/me/ui/receive/ReceiveLightningScreen.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"c378f0b977a9a34b29d4fe2fab3ef32e5e801006b4ef0f7b5aec634394c26716"}},{"ruleId":"D1","level":"warning","message":{"text":"WalletErrorMessage.classified (cyclomatic 114): WalletErrorMessage.classified has cyclomatic complexity 114 (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":"ios/CashuWallet/Core/Wallet/WalletErrors.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd410f3a00cf7d6f04b7638fd6d71b2b57ce706633f4be6d00f173b243a5d60"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedSendScreenKt.UnifiedSendScreen (cyclomatic 106): UnifiedSendScreenKt.UnifiedSendScreen has cyclomatic complexity 106 (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":"android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e00779292564957b391596ba5f4ff5b412a0b32ac08a5d7bec835c03e76a9c1"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_capture_manifest.validate_manifest (cyclomatic 72): validate_capture_manifest.validate_manifest has cyclomatic complexity 72 (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":".agents/skills/wallet-ui-visual-review/scripts/validate_capture_manifest.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd4dc8a0a7d327e25d76ecd5b642e8a769cd5266fb46ca6f8ddf9bca1cf09dc"}},{"ruleId":"D1","level":"warning","message":{"text":"MintTransferScreenKt.MintTransferScreen (cyclomatic 57): MintTransferScreenKt.MintTransferScreen has cyclomatic complexity 57 (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":"android/app/src/main/java/com/cashu/me/ui/mints/MintTransferScreen.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"9056c1c845376a25c55287a073641a975c2702b66558eb7db246edd745829687"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentStatusScreenKt.PaymentStatusScreen (cyclomatic 54): PaymentStatusScreenKt.PaymentStatusScreen has cyclomatic complexity 54 (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":"android/app/src/main/java/com/cashu/me/ui/components/PaymentStatusScreen.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"584023473ff5b1c8ea6bbbfea777bc680998bcbc2f5a5528c34fce0e40761056"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedSendScreenKt.ConfirmFace (cyclomatic 51): UnifiedSendScreenKt.ConfirmFace has cyclomatic complexity 51 (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":"android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff29e9002b92d148a24aaebe3bde013455121cbbc0c08e7d05a7dcd5b44d8ff6"}},{"ruleId":"D1","level":"warning","message":{"text":"CashuAppKt.AuthenticatedShell (cyclomatic 51): CashuAppKt.AuthenticatedShell has cyclomatic complexity 51 (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":"android/app/src/main/java/com/cashu/me/ui/shell/CashuApp.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa676f2649149f6c9fe7a87a07119590bce5d537f8b423bda557d9ec7138ff0c"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingScreenKt.OnboardingScreen (cyclomatic 50): OnboardingScreenKt.OnboardingScreen has cyclomatic complexity 50 (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":"android/app/src/main/java/com/cashu/me/ui/onboarding/OnboardingScreen.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78516e421c36baa72e4aa6ba8eb077e62aa40abdb4cb046d821a92b42e8341f"}},{"ruleId":"D1","level":"warning","message":{"text":"WalletErrorMessages.classifyRawMessage (cyclomatic 48): WalletErrorMessages.classifyRawMessage has cyclomatic complexity 48 (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":"android/app/src/main/java/com/cashu/me/Core/Wallet/WalletMessages.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cc308b6d9d3131b606db9810d4591756f9c3c9e39dc5bad6f260cb6424587d"}},{"ruleId":"D1","level":"warning","message":{"text":"SendEcashScreenKt.SendEcashScreen (cyclomatic 46): SendEcashScreenKt.SendEcashScreen has cyclomatic complexity 46 (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":"android/app/src/main/java/com/cashu/me/ui/send/SendEcashScreen.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3933866fb07a728da7f7083388781d73ae6c2b84aae9b3bcadb132c4935fe4"}},{"ruleId":"D1","level":"warning","message":{"text":"CashuRequestDetailScreenKt.CashuRequestDetailScreen (cyclomatic 45): CashuRequestDetailScreenKt.CashuRequestDetailScreen has cyclomatic complexity 45 (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":"android/app/src/main/java/com/cashu/me/ui/receive/CashuRequestDetailScreen.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd17d108d4a9c6f6135a426e6dc841c14331a44c9c287d93b741683e7799cd58"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentRequestParser.bolt12OfferMetadata (cyclomatic 45): PaymentRequestParser.bolt12OfferMetadata has cyclomatic complexity 45 (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":"ios/CashuWallet/Models/Payments/PaymentRequestParser.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1f186d0f5add5d9e8ecf076803b4b8af147b94510020ae8096ff95fa516234"}},{"ruleId":"D1","level":"warning","message":{"text":"TransactionService.pendingTransactions (cyclomatic 38): TransactionService.pendingTransactions has cyclomatic complexity 38 (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":"ios/CashuWallet/Core/Services/TransactionService.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"13008e859be84825f9e17c00af3e29a54f632bb01b962c3392fbfaa2a99d2d4f"}},{"ruleId":"D1","level":"warning","message":{"text":"LightningRequestParser.parseBolt12Offer (cyclomatic 36): LightningRequestParser.parseBolt12Offer has cyclomatic complexity 36 (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":"android/app/src/main/java/com/cashu/me/Core/LightningRequestParser.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc08da01644475eaf274fa2723bedc18b531b33e9af074735331d30658c82f5"}},{"ruleId":"D1","level":"warning","message":{"text":"TransactionDetailScreenKt.TransactionReceiptSheet (cyclomatic 36): TransactionDetailScreenKt.TransactionReceiptSheet has cyclomatic complexity 36 (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":"android/app/src/main/java/com/cashu/me/ui/history/TransactionDetailScreen.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b2b1c0ced26085c95e8ad1722b015782464106e9caf36d15d67b1ced580769"}},{"ruleId":"D1","level":"warning","message":{"text":"InspectorRowKt.InspectorRow (cyclomatic 35): InspectorRowKt.InspectorRow has cyclomatic complexity 35 (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":"android/app/src/main/java/com/cashu/me/ui/components/InspectorRow.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4da1c6213646ed5ef3a929f130a661af0bcdd78ffff7202be7663924960613d"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_capture_manifest.validate_png (cyclomatic 35): validate_capture_manifest.validate_png has cyclomatic complexity 35 (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":".agents/skills/wallet-ui-visual-review/scripts/validate_capture_manifest.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2284544d63873c6363c68e4841c86d573d56013ff29743dd7870f9e3bb8a26"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedSendView.body (cyclomatic 33): UnifiedSendView.body has cyclomatic complexity 33 (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":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c788c542688ee8090390204754a88aaa0e594c2d47a3ceb51debba9e33641d"}},{"ruleId":"D1","level":"warning","message":{"text":"ReceiveLightningView.body (cyclomatic 32): ReceiveLightningView.body has cyclomatic complexity 32 (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":"ios/CashuWallet/Views/Receive/ReceiveLightningView.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d074bf47d23322a7b1f682c18d26cfa32855372f68cd74c4df8f02a25d3583a5"}},{"ruleId":"D1","level":"warning","message":{"text":"MintDetailScreenKt.MintDetailScreen (cyclomatic 31): MintDetailScreenKt.MintDetailScreen 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":"android/app/src/main/java/com/cashu/me/ui/mints/MintDetailScreen.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e483e77bd3310a485b8fa27da6ebcf637054b623af9fd1e9d9bff2215170d1"}},{"ruleId":"D1","level":"warning","message":{"text":"MintTransferScreenKt.StatusFace (cyclomatic 29): MintTransferScreenKt.StatusFace has cyclomatic complexity 29 (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":"android/app/src/main/java/com/cashu/me/ui/mints/MintTransferScreen.kt"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39c429596394e7ec88f89c458df25c83ba5bfc7dad98f9bbf48dc0a957ce461"}},{"ruleId":"D1","level":"warning","message":{"text":"TransactionService.loadTransactions (cyclomatic 29): TransactionService.loadTransactions 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":"ios/CashuWallet/Core/Services/TransactionService.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9621db86d7c09e79aa60ad134170ffb4dd7efdbd546f1306b91ec629c78f8b41"}},{"ruleId":"D1","level":"warning","message":{"text":"main.swift.run (cyclomatic 28): main.swift.run has cyclomatic complexity 28 (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":".agents/skills/cashu-promo-video/tool/Sources/Promo/main.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"031a78cb69afb78a4d86be7425bc67b1babd33c74f298a33b45a3fd9bbb3a79f"}},{"ruleId":"D1","level":"warning","message":{"text":"WalletErrorMessage.classified (cyclomatic 28): WalletErrorMessage.classified has cyclomatic complexity 28 (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":"ios/CashuWallet/Core/Wallet/WalletErrors.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a3a7802046ced2128c1395e116a32a665d4e1d6e5ed4091b3201300228bba2"}},{"ruleId":"D1","level":"warning","message":{"text":"QA.run (cyclomatic 27): QA.run 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":".agents/skills/cashu-promo-video/tool/Sources/Promo/QA.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f279cadefc1385717e293fde11845fa7d8c769ed5752800b7aa0948136cd4b"}},{"ruleId":"D1","level":"warning","message":{"text":"CashuAppKt.CashuAppContent (cyclomatic 26): CashuAppKt.CashuAppContent 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":"android/app/src/main/java/com/cashu/me/ui/shell/CashuApp.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0769471ce57b828d943f5bdc0962b99046e2153057c59ee9e861c14da0cee5d"}},{"ruleId":"D1","level":"warning","message":{"text":"ReceiveLightningView.requestDisplayView (cyclomatic 26): ReceiveLightningView.requestDisplayView has cyclomatic complexity 26 (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":"ios/CashuWallet/Views/Receive/ReceiveLightningView.swift"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf68c308b9c129c07adebd9b29a4e49ac315e6fcade982c42fea0b6fbebf856"}},{"ruleId":"D1","level":"warning","message":{"text":"events.list_logs (cyclomatic 24): events.list_logs 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":".agents/skills/swiftui-expert-skill/scripts/instruments_parser/events.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4552b6b84175baae7d218faec203a58a86f0d33d901beb9896c55037e1ba6ae0"}},{"ruleId":"D1","level":"warning","message":{"text":"WalletTransactionLoader.load (cyclomatic 23): WalletTransactionLoader.load 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":"android/app/src/main/java/com/cashu/me/Core/Wallet/WalletTransactionLoader.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8510c429a77b731cd3aa322ff3b8131892b4a8ebae51e14628112bf3077d0e2"}},{"ruleId":"D1","level":"warning","message":{"text":"ReceiveLightningScreenKt.DisplayFace (cyclomatic 23): ReceiveLightningScreenKt.DisplayFace has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/receive/ReceiveLightningScreen.kt"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ec1ebaf2067f8d29cdacfa39b8101023a02302e4d28b9cb78806e7431d7f1d"}},{"ruleId":"D1","level":"warning","message":{"text":"FieldPainter.draw (cyclomatic 22): FieldPainter.draw 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":".agents/skills/cashu-promo-video/tool/Sources/Promo/FieldPainter.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"781b214b9a87f3f0d11a5aed4565fef36de608c1463903d3df457ec90fb81d30"}},{"ruleId":"D1","level":"warning","message":{"text":"LightningService.meltTokens (cyclomatic 22): LightningService.meltTokens 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":"ios/CashuWallet/Core/Services/LightningService.swift"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"507fb1012956970d4a433385f63cd2796ca476689e6ffa388290fe736cc4db37"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingView.chassisModel (cyclomatic 22): OnboardingView.chassisModel 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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3ae32c384a26b0ce2dc690bda632c6fe7607c75320c2b56841dd7612568d1e"}},{"ruleId":"D1","level":"warning","message":{"text":"ReceiveTokenDetailView.confirmContent (cyclomatic 22): ReceiveTokenDetailView.confirmContent has cyclomatic complexity 22 (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":"ios/CashuWallet/Views/Receive/ReceiveTokenDetailView.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa80fd6c301f76789795847eb2a6730e967f50d73c19f78ff43fdd17b1d591a1"}},{"ruleId":"D1","level":"warning","message":{"text":"NostrScreenKt.NostrScreen (cyclomatic 21): NostrScreenKt.NostrScreen 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":"android/app/src/main/java/com/cashu/me/ui/settings/NostrScreen.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c53e60081415e9ce4a262455aa27abf2ebc3048e74e134c339e6c8770cc019"}},{"ruleId":"D1","level":"warning","message":{"text":"NPCService.checkAndClaimPayments (cyclomatic 21): NPCService.checkAndClaimPayments 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":"ios/CashuWallet/Core/NPCService.swift"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e8f6db2460a3d372bca0a40817642bea11b6f1a626501bab86546831fc663d"}},{"ruleId":"D1","level":"warning","message":{"text":"FullWidthCapsuleButtonStyle.makeBody (cyclomatic 21): FullWidthCapsuleButtonStyle.makeBody 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":"ios/CashuWallet/Views/Components/LiquidGlassModifiers.swift"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"345718407355c22d9581c53c09e9d017f740e604dd9379c3d1fe87974623c75b"}},{"ruleId":"D1","level":"warning","message":{"text":"SendView.body (cyclomatic 21): SendView.body 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":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e316d20f304ade41cf24cba224d3cab3629a1f9a0ef847de6716e156d461ebf3"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentStatusView.iconSlot (cyclomatic 21): PaymentStatusView.iconSlot 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":"ios/CashuWallet/Views/Send/Components/AuthorizingOverlay.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a855ad90933a9ee2526b1a3ac4d332a151805ebc607d45be575e345ea1980b"}},{"ruleId":"D1","level":"warning","message":{"text":"PendingMintQuoteTransactionsKt.pendingMintQuoteTransactions (cyclomatic 20): PendingMintQuoteTransactionsKt.pendingMintQuoteTransactions 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":"android/app/src/main/java/com/cashu/me/Core/PendingMintQuoteTransactions.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49906978ac64dec108bc2f5fb37203f23c3f73bcbd8c42cf76b047d562c1684"}},{"ruleId":"D1","level":"warning","message":{"text":"MintDiscoveryScreenKt.MintDiscoveryContent (cyclomatic 20): MintDiscoveryScreenKt.MintDiscoveryContent has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/mints/MintDiscoveryScreen.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1e7147e8e31ad3bc20982bef970e205a1c198832178a6a0462ac907b9e7a97"}},{"ruleId":"D1","level":"warning","message":{"text":"ReceiveTokenReviewKt.TokenClaimTerminal (cyclomatic 20): ReceiveTokenReviewKt.TokenClaimTerminal has cyclomatic complexity 20 (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":"android/app/src/main/java/com/cashu/me/ui/receive/ReceiveTokenReview.kt"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eda11c920e327459ce8c5b51e5a4eaee9907c23002410affbb51036ebe3cd4a"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedSendScreenKt.SendStatusTerminal (cyclomatic 20): UnifiedSendScreenKt.SendStatusTerminal has cyclomatic complexity 20 (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":"android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"367a9bb694d2ec4e7979327288d9e95f10aa0705d01187948c5c635075565a1e"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedSendScreenKt.TopUpQuoteSheet (cyclomatic 20): UnifiedSendScreenKt.TopUpQuoteSheet has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b059940246e6960fd767cc973c4ce7c06feb5c435542a5908a2bae5c80489f"}},{"ruleId":"D1","level":"warning","message":{"text":"upload_pr_images.main (cyclomatic 20): upload_pr_images.main 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":".agents/skills/wallet-ui-visual-review/scripts/upload_pr_images.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e566340a1a2012ad741acb9d621f92826f7a9c75e4d667ac417b6eb0dbbb47d"}},{"ruleId":"D1","level":"warning","message":{"text":"run-native-interop.main (cyclomatic 20): run-native-interop.main 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":"CI/run-native-interop.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"309fca7890a816d725145b3f98b6da9bba8df1fc2efc4ff3251a571d7d72060f"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsManager.removeP2PKKey (cyclomatic 20): SettingsManager.removeP2PKKey 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":"ios/CashuWallet/Core/SettingsManager.swift"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18876e1b75ef519a1d74f3f146359c8798506ccbf9c794982f520d2be34d3df"}},{"ruleId":"D1","level":"warning","message":{"text":"ReceiveLightningView.refreshMintQuoteStatus (cyclomatic 20): ReceiveLightningView.refreshMintQuoteStatus 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":"ios/CashuWallet/Views/Receive/ReceiveLightningView.swift"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"f642c125d93b2e70a81d9ba46700d058542168f114cb8812d079baca23cf211e"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedSendView.meltConfirmBody (cyclomatic 20): UnifiedSendView.meltConfirmBody 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":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":2095}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efa484498a277da5d2d2f0c314b52b19d5ccced5a9509d250d8be889cb57cc5"}},{"ruleId":"D1","level":"warning","message":{"text":"RecoverDepositView.body (cyclomatic 20): RecoverDepositView.body 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":"ios/CashuWallet/Views/Settings/RecoverDepositView.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b32de2bb7fa869c84921c60a5152629da700505dec34a438fe383d85c84b19"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentStatusView.body (cyclomatic 20): PaymentStatusView.body 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":"ios/CashuWallet/Views/Send/Components/AuthorizingOverlay.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab2e7dc79cce74f344d5acd7be70875b9d98228257b00da4436b2bdab8db48b"}},{"ruleId":"D1","level":"warning","message":{"text":"ScannerViewKt.ScannerView (cyclomatic 19): ScannerViewKt.ScannerView has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Views/Components/ScannerView.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29c104f0e8cf5c2218f1b9b99c4cc82c68c2acad61173331f494807a2b438a0"}},{"ruleId":"D1","level":"warning","message":{"text":"AsciiFieldRenderer.draw (cyclomatic 19): AsciiFieldRenderer.draw 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":"android/app/src/main/java/com/cashu/me/ui/onboarding/AsciiField.kt"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c8546c678bd143a36b8c47d7b6a1565d5cfb821ccb1d1b3f1b63c729266ac3"}},{"ruleId":"D1","level":"warning","message":{"text":"WalletManager.mintUnissuedQuotesAcrossWallets (cyclomatic 19): WalletManager.mintUnissuedQuotesAcrossWallets 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":"ios/CashuWallet/Core/Wallet/WalletManager\u002BMintQuoteSync.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c6be7619d42b9b044b889020da97491a3dc6d55e672ab9813cf413d57c5bfa"}},{"ruleId":"D1","level":"warning","message":{"text":"AsciiFieldView.draw (cyclomatic 19): AsciiFieldView.draw 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":"ios/CashuWallet/Views/Components/AsciiField.swift"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca395535a99d023248fc9ca7e37d3ddf78e2795ae4a2bbce4f9aa625503e3257"}},{"ruleId":"D1","level":"warning","message":{"text":"ReceiveLightningView.statusBadge (cyclomatic 19): ReceiveLightningView.statusBadge has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Receive/ReceiveLightningView.swift"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde7465bc7c2d43a8f16b9dbcad06a2870d34d3d5ac5ce903cbf3bde0fb79d1e"}},{"ruleId":"D1","level":"warning","message":{"text":"ContactlessPayViewKt.ContactlessPayView (cyclomatic 18): ContactlessPayViewKt.ContactlessPayView 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":"android/app/src/main/java/com/cashu/me/Views/Send/ContactlessPayView.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"24881e7a1928358d6ebb288f8d667d67ea7d30f6f7347fae72506be3930425c0"}},{"ruleId":"D1","level":"warning","message":{"text":"EmptyStateKt.EmptyState (cyclomatic 18): EmptyStateKt.EmptyState 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":"android/app/src/main/java/com/cashu/me/ui/components/EmptyState.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4484e40ebd4b4fd6d88e573d776fce1ffb1a4af6b3373d14caa7c5746d3c2a"}},{"ruleId":"D1","level":"warning","message":{"text":"HistoryScreenKt.HistoryScreen (cyclomatic 18): HistoryScreenKt.HistoryScreen 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":"android/app/src/main/java/com/cashu/me/ui/history/HistoryScreen.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0f5e38ec9da9c7a27d9743ea9df442b4f51f48662abe645c4831f7f6442235"}},{"ruleId":"D1","level":"warning","message":{"text":"LightningAddressReceiveScreenKt.LightningAddressReceiveSession (cyclomatic 18): LightningAddressReceiveScreenKt.LightningAddressReceiveSession has cyclomatic complexity 18 (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":"android/app/src/main/java/com/cashu/me/ui/receive/LightningAddressReceiveScreen.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a5094a1fe9e5236ebd435ad0bda7dab4ec24d436b5078960dc0ce6eb528ade"}},{"ruleId":"D1","level":"warning","message":{"text":"NfcReceiveUiKt.NfcReceiveOverlayContent (cyclomatic 18): NfcReceiveUiKt.NfcReceiveOverlayContent has cyclomatic complexity 18 (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":"android/app/src/main/java/com/cashu/me/ui/receive/nfc/NfcReceiveUi.kt"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"c544d53b265ef3323352f2d1143373b85d5c6eac965f2008d50c8709e8d68ce8"}},{"ruleId":"D1","level":"warning","message":{"text":"RecoverDepositScreenKt.RecoverDepositScreen (cyclomatic 18): RecoverDepositScreenKt.RecoverDepositScreen 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":"android/app/src/main/java/com/cashu/me/ui/settings/RecoverDepositScreen.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b16e084ba7c48b54e9c16755d1f221f7916d4003a869347c108b136f60ad573"}},{"ruleId":"D1","level":"warning","message":{"text":"DepositRecoveryRequest.init (cyclomatic 18): DepositRecoveryRequest.init has cyclomatic complexity 18 (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":"ios/CashuWallet/Core/Wallet/DepositRecovery.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62d4b569b318fdf58eb1b74ebeb9f490c1b69457978173fae0ceb99f511e461"}},{"ruleId":"D1","level":"warning","message":{"text":"WalletManager.mintNPCQuote (cyclomatic 18): WalletManager.mintNPCQuote 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":"ios/CashuWallet/Core/Wallet/WalletManager\u002BNPC.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d296b60206ccaa7128f2db63e09ba21665da2d776f85f2e1e2cc9faed1ff9bde"}},{"ruleId":"D1","level":"warning","message":{"text":"TransactionDetailView.receiptDetails (cyclomatic 18): TransactionDetailView.receiptDetails 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":"ios/CashuWallet/Views/History/TransactionDetailView.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a065868d6877c92f20c2b5be80b924fa424165c9a0f1acd416717208a22a106f"}},{"ruleId":"D1","level":"warning","message":{"text":"SendView.tokenDisplayView (cyclomatic 18): SendView.tokenDisplayView 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":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a1e768fda496d02b95267cfd185861d7e1f7ef59830684d076808098d169a7"}},{"ruleId":"D1","level":"warning","message":{"text":"hangs.analyze (cyclomatic 17): hangs.analyze 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":".agents/skills/swiftui-expert-skill/scripts/instruments_parser/hangs.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23adee55afc35f7602aec70561b47f9c03b43c497ea5d28bb6594bb3f2986cb"}},{"ruleId":"D1","level":"warning","message":{"text":"hitches.analyze (cyclomatic 17): hitches.analyze 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":".agents/skills/swiftui-expert-skill/scripts/instruments_parser/hitches.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbab2d3f556f6c77134f3ef567f354af0138b7ab9a54cee827cd0034048bd214"}},{"ruleId":"D1","level":"warning","message":{"text":"swiftui.analyze (cyclomatic 17): swiftui.analyze 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":".agents/skills/swiftui-expert-skill/scripts/instruments_parser/swiftui.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"41aebe627b49b21103d1bb58f6db315c90b0779d629a66da7126502c219ce716"}},{"ruleId":"D1","level":"warning","message":{"text":"TransactionTechnicalDetails.init (cyclomatic 17): TransactionTechnicalDetails.init 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":"ios/CashuWallet/Models/Transactions/TransactionTechnicalDetails.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59b170dcbf1e2fee90367e77016ec36910fc307eaf669a43c9408dea55bb472"}},{"ruleId":"D1","level":"warning","message":{"text":"MintReceiptProjection.project (cyclomatic 17): MintReceiptProjection.project 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":"ios/CashuWallet/Models/Transactions/WalletTransaction.swift"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"923f5217955f49580d948e6e0a447a4e8789f2d9e289549c2c9037cdcc832e78"}},{"ruleId":"D1","level":"warning","message":{"text":"CashuPaymentRequestPayView.body (cyclomatic 17): CashuPaymentRequestPayView.body 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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7018edcc18c673fbd8d18cc1ddd3938e3e3ccdbf65a51742574511a23405b13"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedSendView.useMax (cyclomatic 17): UnifiedSendView.useMax 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":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":1913}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e1bcdf81420af910c48bd15ad589f45b937530856dd666cc77483c1dae069e"}},{"ruleId":"D1","level":"warning","message":{"text":"LightningAddressSettingsSection.body (cyclomatic 17): LightningAddressSettingsSection.body 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":"ios/CashuWallet/Views/Settings/LightningAddressSettingsSection.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d15ee490de6271aa189ef9c7efdcb09b784a4b2d5063818509ce7c24df43571"}},{"ruleId":"D1","level":"warning","message":{"text":"MintTransferScreenKt.ReviewFace (cyclomatic 16): MintTransferScreenKt.ReviewFace has cyclomatic complexity 16 (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":"android/app/src/main/java/com/cashu/me/ui/mints/MintTransferScreen.kt"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30a6a1abaa7fa88f5c97bb33f300737d02eff215a18aca09914091cd46e273f"}},{"ruleId":"D1","level":"warning","message":{"text":"AsciiFieldKt.OnboardingAsciiBackdrop (cyclomatic 16): AsciiFieldKt.OnboardingAsciiBackdrop 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":"android/app/src/main/java/com/cashu/me/ui/onboarding/AsciiField.kt"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f700dd2d1ef1ee7e32d4412f02e96932c0d71aaca838f446b6dad7d1f20a3b1"}},{"ruleId":"D1","level":"warning","message":{"text":"P2PKComponentsKt.KeyCard (cyclomatic 16): P2PKComponentsKt.KeyCard 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":"android/app/src/main/java/com/cashu/me/ui/settings/P2PKComponents.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c83370f6d6bb1320b9b76148c7ad25debb5ee6a97f23446458f5087c5d0711"}},{"ruleId":"D1","level":"warning","message":{"text":"time_profiler.analyze (cyclomatic 16): time_profiler.analyze 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":".agents/skills/swiftui-expert-skill/scripts/instruments_parser/time_profiler.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b55e5b9376e438723f2f40069e5f26e6cd166a479f0c35fbfd7134bac5ca62"}},{"ruleId":"D1","level":"warning","message":{"text":"record_trace.main (cyclomatic 16): record_trace.main 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":".agents/skills/swiftui-expert-skill/scripts/record_trace.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea3ed5d68f5ece3eb7245221b3b501c5197f32c5672b752c29ce8fd9904efd2"}},{"ruleId":"D1","level":"warning","message":{"text":"route_platforms.route (cyclomatic 16): route_platforms.route 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":".agents/skills/wallet-ui-visual-review/scripts/route_platforms.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e93c9d62a84ac7c03dc10b31e50012fd87dea97ebccc0f7b2a6552bebb0f2e7"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.handle_request (cyclomatic 16): Handler.handle_request 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":"CI/mint-history-retry-proxy.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72bef897c5c97b5c60015b2199820c99cd4744bb9bb9e71f887904b387dc37d"}},{"ruleId":"D1","level":"warning","message":{"text":"MintDiscoveryManager.handleMessage (cyclomatic 16): MintDiscoveryManager.handleMessage 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":"ios/CashuWallet/Core/MintDiscoveryManager.swift"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"233b52c67d0da0e52851009a787c32a50314720d3e62e0e2a762489cc3ce6224"}},{"ruleId":"D1","level":"warning","message":{"text":"NWCManager.startService (cyclomatic 16): NWCManager.startService 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":"ios/CashuWallet/Core/NWCManager.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b46e5f70f96d4a460cf1d7967f7cf7ef9275ab562ea93e096a2195c5f00a9f1"}},{"ruleId":"D1","level":"warning","message":{"text":"AbandonedReservationRecovery.recover (cyclomatic 16): AbandonedReservationRecovery.recover 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":"ios/CashuWallet/Core/Services/MintQuoteRecovery.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0046b65f0104731cb3919ffaccc7622572246e28f78de2818fec6c6d4bec5e49"}},{"ruleId":"D1","level":"warning","message":{"text":"WalletManager.recoverDepositAssumingLease (cyclomatic 16): WalletManager.recoverDepositAssumingLease 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":"ios/CashuWallet/Core/Wallet/DepositRecovery.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"507c3dfed58b410496c8129a52fe0a575320faf367cb60ff32065870709cebfc"}},{"ruleId":"D1","level":"warning","message":{"text":"ReceiveLightningView.createRequest (cyclomatic 16): ReceiveLightningView.createRequest 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":"ios/CashuWallet/Views/Receive/ReceiveLightningView.swift"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a1157bec783d42a977fa592bfb6d90f1026e3dc62e5fc6e1b4bb33ca979694"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedSendView.recomputeFee (cyclomatic 16): UnifiedSendView.recomputeFee 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":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":2849}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4563ced316c8e4e481a53546b04fab1b5d44ee04595e40308d5d281b24059c3"}},{"ruleId":"D2","level":"warning","message":{"text":"ReceiveLightningScreenKt.ReceiveLightningScreen (cognitive 244): ReceiveLightningScreenKt.ReceiveLightningScreen has cognitive complexity 244 (threshold 15). Drivers by points: if/else 99 (172 pts), boolean chains 42, match/switch 8 (20 pts), loops 4 (9 pts), error handling 1 (nesting depth added 90). 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":"android/app/src/main/java/com/cashu/me/ui/receive/ReceiveLightningScreen.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e74a1ab93452073d23b9102b1753d87220c39eae61935fbffb3e941a4762801"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedSendScreenKt.UnifiedSendScreen (cognitive 166): UnifiedSendScreenKt.UnifiedSendScreen has cognitive complexity 166 (threshold 15). Drivers by points: if/else 66 (112 pts), boolean chains 24, error handling 9 (15 pts), match/switch 9 (15 pts) (nesting depth added 58). 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":"android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c4b80a55bc0db25f53a1815c4c79c7bb60e75b29355977a26285bc02e91aee"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_capture_manifest.validate_manifest (cognitive 115): validate_capture_manifest.validate_manifest has cognitive complexity 115 (threshold 15). Drivers by points: if/else 43 (78 pts), loops 11 (19 pts), boolean chains 16, ternaries 1 (2 pts) (nesting depth added 44). 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":".agents/skills/wallet-ui-visual-review/scripts/validate_capture_manifest.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec1df478835460120ff489d066f381d4c014950b2766416d033b742c27a49a0"}},{"ruleId":"D2","level":"warning","message":{"text":"WalletErrorMessage.classified (cognitive 114): WalletErrorMessage.classified has cognitive complexity 114 (threshold 15). Drivers by points: boolean chains 73, if/else 40 (41 pts) (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":"ios/CashuWallet/Core/Wallet/WalletErrors.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f3b9fcc064856e55b4aea95a023f8e9dbee188cdd5a3bcabf87181b36d4d74"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentStatusScreenKt.PaymentStatusScreen (cognitive 100): PaymentStatusScreenKt.PaymentStatusScreen has cognitive complexity 100 (threshold 15). Drivers by points: if/else 61 (85 pts), boolean chains 13, match/switch 2 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/components/PaymentStatusScreen.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"583662693ba0e59f13d257341c58704a57e9212dae2ba6fcb6740cbcc81562f9"}},{"ruleId":"D2","level":"warning","message":{"text":"CashuRequestDetailScreenKt.CashuRequestDetailScreen (cognitive 78): CashuRequestDetailScreenKt.CashuRequestDetailScreen has cognitive complexity 78 (threshold 15). Drivers by points: if/else 40 (64 pts), boolean chains 14 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/receive/CashuRequestDetailScreen.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e40c90750b052f17f4421506126141c744cd661282b2f98751177feaf588e20"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionService.pendingTransactions (cognitive 70): TransactionService.pendingTransactions has cognitive complexity 70 (threshold 15). Drivers by points: ternaries 12 (31 pts), if/else 15 (26 pts), boolean chains 12, loops 1 (nesting depth added 30). 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":"ios/CashuWallet/Core/Services/TransactionService.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3758c118701c90155156e45b552838648d82097068cc6585fec48ba81a1890"}},{"ruleId":"D2","level":"warning","message":{"text":"MintTransferScreenKt.MintTransferScreen (cognitive 69): MintTransferScreenKt.MintTransferScreen has cognitive complexity 69 (threshold 15). Drivers by points: if/else 35 (42 pts), boolean chains 11, error handling 8, match/switch 5 (8 pts) (nesting depth added 10). 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":"android/app/src/main/java/com/cashu/me/ui/mints/MintTransferScreen.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"019904e3a780e53c10e205644536a845fb1fa1fa9b6376e57e923afd915f68ee"}},{"ruleId":"D2","level":"warning","message":{"text":"SendEcashScreenKt.SendEcashScreen (cognitive 64): SendEcashScreenKt.SendEcashScreen has cognitive complexity 64 (threshold 15). Drivers by points: if/else 33 (45 pts), boolean chains 11, match/switch 4 (6 pts), error handling 1 (2 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":"android/app/src/main/java/com/cashu/me/ui/send/SendEcashScreen.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a264b3dbfd841a4cee00c25b9fe62520df09d41cf69b164970019f2211ad041"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedSendScreenKt.ConfirmFace (cognitive 61): UnifiedSendScreenKt.ConfirmFace has cognitive complexity 61 (threshold 15). Drivers by points: if/else 18 (34 pts), boolean chains 17, match/switch 5 (10 pts) (nesting depth added 21). 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":"android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6cbe4b934f3aa3ce1f39b48c48bce1975dfd0df83494a587ec411de3eac5e6"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentRequestParser.bolt12OfferMetadata (cognitive 59): PaymentRequestParser.bolt12OfferMetadata has cognitive complexity 59 (threshold 15). Drivers by points: if/else 17 (35 pts), boolean chains 18, ternaries 1 (3 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 21). 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":"ios/CashuWallet/Models/Payments/PaymentRequestParser.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b7f14350d29104e1534e19ef51b286478fdc23315ffc00360213b4d4dded37"}},{"ruleId":"D2","level":"warning","message":{"text":"InspectorRowKt.InspectorRow (cognitive 57): InspectorRowKt.InspectorRow has cognitive complexity 57 (threshold 15). Drivers by points: if/else 47 (52 pts), boolean chains 4, match/switch 1 (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, 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":"android/app/src/main/java/com/cashu/me/ui/components/InspectorRow.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"82da782d0b8ee1ead3f0424b56ac6a93405eb3d2710f1d347f57c3dc1ca77b0f"}},{"ruleId":"D2","level":"warning","message":{"text":"FieldPainter.draw (cognitive 54): FieldPainter.draw has cognitive complexity 54 (threshold 15). Drivers by points: if/else 17 (44 pts), loops 5 (9 pts), boolean chains 1 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/cashu-promo-video/tool/Sources/Promo/FieldPainter.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fff05b502f68c50f55815d126e5474a58bb898f6612dca8359378147396fe5"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingScreenKt.OnboardingScreen (cognitive 52): OnboardingScreenKt.OnboardingScreen has cognitive complexity 52 (threshold 15). Drivers by points: if/else 27 (38 pts), boolean chains 6, match/switch 4, error handling 2 (3 pts), loops 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":"android/app/src/main/java/com/cashu/me/ui/onboarding/OnboardingScreen.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1095a7bbefab6b977830eb899ba8753707b4be1353e5dcc47eff5744345a8a"}},{"ruleId":"D2","level":"warning","message":{"text":"MintDetailScreenKt.MintDetailScreen (cognitive 49): MintDetailScreenKt.MintDetailScreen has cognitive complexity 49 (threshold 15). Drivers by points: if/else 27 (41 pts), error handling 3 (5 pts), boolean chains 3 (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":"android/app/src/main/java/com/cashu/me/ui/mints/MintDetailScreen.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31b2f1fb6152167d33aad2bf07008c30e5536949d2f0cf74ec598dcff4da56e"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionService.loadTransactions (cognitive 48): TransactionService.loadTransactions has cognitive complexity 48 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 6 (10 pts), ternaries 3 (10 pts), boolean chains 7, loops 2 (4 pts), match/switch 1 (3 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":"ios/CashuWallet/Core/Services/TransactionService.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ea996bdbd20c1ef865e916142e78ce778289b046b1064366bc6d1f5473a6ec"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionDetailScreenKt.TransactionReceiptSheet (cognitive 47): TransactionDetailScreenKt.TransactionReceiptSheet has cognitive complexity 47 (threshold 15). Drivers by points: if/else 26 (33 pts), boolean chains 13, match/switch 1 (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":"android/app/src/main/java/com/cashu/me/ui/history/TransactionDetailScreen.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d758f3c25472c500b919ea4f9a37d9d59ca2e471e8d6a27642f32074eb72f413"}},{"ruleId":"D2","level":"warning","message":{"text":"ReceiveLightningView.body (cognitive 45): ReceiveLightningView.body has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 14, ternaries 5 (13 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":"ios/CashuWallet/Views/Receive/ReceiveLightningView.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"257723d880beed1bd4373fbe37baf6fa8493951b10ede8a5d9b67eb66c39c1b6"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_capture_manifest.validate_png (cognitive 44): validate_capture_manifest.validate_png has cognitive complexity 44 (threshold 15). Drivers by points: if/else 24 (35 pts), boolean chains 6, loops 2, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/wallet-ui-visual-review/scripts/validate_capture_manifest.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efb564277ae4eaf66bb0e939a2f918fd042098179017db51f654ea0a326c92c"}},{"ruleId":"D2","level":"warning","message":{"text":"AsciiFieldRenderer.draw (cognitive 42): AsciiFieldRenderer.draw has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (31 pts), loops 5 (7 pts), match/switch 1 (3 pts), boolean chains 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":"android/app/src/main/java/com/cashu/me/ui/onboarding/AsciiField.kt"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a4e5fd7871dc901aa0e6e251bb1a4f1f8cc6ff17960700fe7afa1207ff2ff8"}},{"ruleId":"D2","level":"warning","message":{"text":"main.swift.run (cognitive 42): main.swift.run has cognitive complexity 42 (threshold 15). Drivers by points: loops 10 (20 pts), ternaries 6 (12 pts), if/else 4 (5 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 18). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/cashu-promo-video/tool/Sources/Promo/main.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f766f70d895e61978f2a05b7a2dbc0b32ff49160770dd1c6c217ad017f9647"}},{"ruleId":"D2","level":"warning","message":{"text":"WalletManager.checkAllPendingTokens (cognitive 42): WalletManager.checkAllPendingTokens has cognitive complexity 42 (threshold 15). Drivers by points: error handling 6 (18 pts), if/else 6 (18 pts), loops 2 (6 pts) (nesting depth added 28). 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":"ios/CashuWallet/Core/Wallet/WalletManager\u002BTokens.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38c19489c93e5608d80b0074cd45d5770809a77b718228e358728c68439e484"}},{"ruleId":"D2","level":"warning","message":{"text":"AsciiFieldView.draw (cognitive 42): AsciiFieldView.draw has cognitive complexity 42 (threshold 15). Drivers by points: if/else 14 (34 pts), loops 5 (7 pts), boolean chains 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":"ios/CashuWallet/Views/Components/AsciiField.swift"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdd00b93685f799d1ac504b2555b94706766c625d441edf154f1bdf649ff27c"}},{"ruleId":"D2","level":"warning","message":{"text":"LightningRequestParser.parseBolt12Offer (cognitive 41): LightningRequestParser.parseBolt12Offer has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 11, match/switch 1 (2 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":"android/app/src/main/java/com/cashu/me/Core/LightningRequestParser.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"455e5aeaeab2fa02fac4e76e03acaefcb6d5e6b5d7a52fc6358710b1e44a6355"}},{"ruleId":"D2","level":"warning","message":{"text":"CashuAppKt.AuthenticatedShell (cognitive 41): CashuAppKt.AuthenticatedShell has cognitive complexity 41 (threshold 15). Drivers by points: if/else 28 (31 pts), boolean chains 5, match/switch 5 (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":"android/app/src/main/java/com/cashu/me/ui/shell/CashuApp.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"40604191c7a3accf14a7b3be467d14f959675b3c07f16f8dab835d99281315c8"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentStatusView.iconSlot (cognitive 41): PaymentStatusView.iconSlot has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 13 (34 pts), boolean chains 3, if/else 2 (3 pts), match/switch 1 (nesting depth added 22). 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":"ios/CashuWallet/Views/Send/Components/AuthorizingOverlay.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"d286a308e5588090d6b357169fa8ba06cea6b63c8aafd2a8d19d7fe565c49f6f"}},{"ruleId":"D2","level":"warning","message":{"text":"WalletTransactionLoader.load (cognitive 36): WalletTransactionLoader.load has cognitive complexity 36 (threshold 15). Drivers by points: if/else 18 (26 pts), boolean chains 7, error handling 2, loops 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":"android/app/src/main/java/com/cashu/me/Core/Wallet/WalletTransactionLoader.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0cbb2e7c51d7c6d1ad16c04818a8d18c25be84f733cb96d9b2b4d2d4a9bd55"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedSendView.body (cognitive 35): UnifiedSendView.body has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 9, match/switch 2 (4 pts), ternaries 4 (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, 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":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e70d48d99d3372e0c38fce89d5a8b811ce0cfbf636e2c0e0f4dc702bef701c"}},{"ruleId":"D2","level":"warning","message":{"text":"MintDiscoveryScreenKt.MintDiscoveryContent (cognitive 34): MintDiscoveryScreenKt.MintDiscoveryContent has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 4 (12 pts), boolean chains 5, match/switch 2 (3 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":"android/app/src/main/java/com/cashu/me/ui/mints/MintDiscoveryScreen.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30299fe60b4fc7384273f933157987778f89d5da715600eb4ba8c374d56fd69"}},{"ruleId":"D2","level":"warning","message":{"text":"run-native-interop.main (cognitive 34): run-native-interop.main has cognitive complexity 34 (threshold 15). Drivers by points: loops 7 (11 pts), if/else 5 (10 pts), ternaries 3 (6 pts), error handling 1 (4 pts), boolean chains 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CI/run-native-interop.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b9e5bc12fdf76212b9047910a6323bd97b840d92e42087608ec30d08efce12"}},{"ruleId":"D2","level":"warning","message":{"text":"QA.run (cognitive 33): QA.run has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 11, if/else 5 (10 pts), ternaries 8, loops 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/cashu-promo-video/tool/Sources/Promo/QA.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"311866b3ceae22536fba5cffc934b1c9cc8678eb237a800eeccde99e3172efd4"}},{"ruleId":"D2","level":"warning","message":{"text":"WalletManager.mintNPCQuote (cognitive 33): WalletManager.mintNPCQuote has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 6, error handling 2 (3 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":"ios/CashuWallet/Core/Wallet/WalletManager\u002BNPC.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"285190c1cbc07242bf58a5c3adcf834e9ad712221cc67db587f1c24d8b949cf8"}},{"ruleId":"D2","level":"warning","message":{"text":"events.list_logs (cognitive 32): events.list_logs has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 11, ternaries 2 (3 pts), loops 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":".agents/skills/swiftui-expert-skill/scripts/instruments_parser/events.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedfb74a70d7fae9851863a939cfcb04f10a74c603a5777ff5bc50e0548ed42f"}},{"ruleId":"D2","level":"warning","message":{"text":"swiftui.analyze (cognitive 31): swiftui.analyze has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 4, loops 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":".agents/skills/swiftui-expert-skill/scripts/instruments_parser/swiftui.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1576e3636f9b32899b587e4f85932f39f83cf3cd2c30b4b0e7d40baa391f0db3"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsManager.removeP2PKKey (cognitive 31): SettingsManager.removeP2PKKey has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (17 pts), error handling 7 (11 pts), boolean chains 3 (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":"ios/CashuWallet/Core/SettingsManager.swift"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedbd943e292ff06e5d5aa51dd7776fbc445e7cdeae36863c5d8de769f074fa0"}},{"ruleId":"D2","level":"warning","message":{"text":"LightningService.meltTokens (cognitive 31): LightningService.meltTokens has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 6 (11 pts), match/switch 3 (5 pts), boolean chains 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":"ios/CashuWallet/Core/Services/LightningService.swift"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8501e3d561aa2b702967b020b6828899afd14f08037f2d4f3a3a049a3914021"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryScreenKt.HistoryScreen (cognitive 30): HistoryScreenKt.HistoryScreen has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (25 pts), match/switch 2 (3 pts), boolean chains 2 (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":"android/app/src/main/java/com/cashu/me/ui/history/HistoryScreen.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b546f7a03512062729f2283827b68a8e49da8689c254bc6c9b99eb979d364d7e"}},{"ruleId":"D2","level":"warning","message":{"text":"CashuPaymentRequestPayView.body (cognitive 30): CashuPaymentRequestPayView.body has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (23 pts), ternaries 2 (4 pts), boolean chains 3 (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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"a743d4821517d45f7406e1a3a2ad74c7389aca7187c1da01e21e009a24552683"}},{"ruleId":"D2","level":"warning","message":{"text":"CashuAppKt.CashuAppContent (cognitive 29): CashuAppKt.CashuAppContent has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 6, match/switch 4 (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":"android/app/src/main/java/com/cashu/me/ui/shell/CashuApp.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"757e2faf9d93f29fc81c83b066c425fbdec03bdbfbabd72a0f40402fa6c386f2"}},{"ruleId":"D2","level":"warning","message":{"text":"NPCService.checkAndClaimPayments (cognitive 29): NPCService.checkAndClaimPayments has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 8, loops 2 (4 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/NPCService.swift"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fcc216964975811d50cd2c427768624286ca6ee15403a249aecfc8eeae75ec"}},{"ruleId":"D2","level":"warning","message":{"text":"NFCPaymentService.decode (cognitive 29): NFCPaymentService.decode has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (19 pts), match/switch 1 (5 pts), error handling 2 (4 pts), boolean chains 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":"ios/CashuWallet/Core/Services/NFCPaymentService.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f89250c9cf64bad9598e343d935999d02f9531ab1d10d3ca1ee27bc2553ba6"}},{"ruleId":"D2","level":"warning","message":{"text":"ReceiveLightningView.monitorMintQuoteViaSubscription (cognitive 29): ReceiveLightningView.monitorMintQuoteViaSubscription has cognitive complexity 29 (threshold 15). Drivers by points: if/else 4 (16 pts), boolean chains 4, match/switch 1 (4 pts), loops 1 (3 pts), error handling 1, ternaries 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":"ios/CashuWallet/Views/Receive/ReceiveLightningView.swift"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d621f7bd41e13b99014ed3219b40a36e7c32f79e5a81f8488303ea833dfcc6"}},{"ruleId":"D2","level":"warning","message":{"text":"ReceiveTokenDetailView.confirmContent (cognitive 29): ReceiveTokenDetailView.confirmContent has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 7, ternaries 2 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Receive/ReceiveTokenDetailView.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"62848d6cdd81bf63b320c3d7e1690e5ff2cddbc1bd04c714f0dd6a54904577be"}},{"ruleId":"D2","level":"warning","message":{"text":"RecoverDepositScreenKt.RecoverDepositScreen (cognitive 28): RecoverDepositScreenKt.RecoverDepositScreen has cognitive complexity 28 (threshold 15). Drivers by points: if/else 21 (23 pts), error handling 3, boolean chains 2 (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":"android/app/src/main/java/com/cashu/me/ui/settings/RecoverDepositScreen.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d8fb539c24511a393dde5004747d15276d08b5aa4391d51b56bc1a67ba458d"}},{"ruleId":"D2","level":"warning","message":{"text":"ReceiveLightningView.requestDisplayView (cognitive 28): ReceiveLightningView.requestDisplayView has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 7, ternaries 3 (5 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Receive/ReceiveLightningView.swift"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92d3772c1b6fc3aed1a75c428cc2493ef1701666b238fcb18a36fa41ca8d5ce"}},{"ruleId":"D2","level":"warning","message":{"text":"WalletFileMoves.move (cognitive 27): WalletFileMoves.move has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 4 (9 pts), loops 3 (5 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":"ios/CashuWallet/Core/Wallet/WalletManager\u002BLifecycle.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1b8e55d3c0a9fb48dccdcdf631d0d25ff1475b56e90ad0ff3238bebb7c993e"}},{"ruleId":"D2","level":"warning","message":{"text":"AmountFlipDisplayKt.AmountFlipDisplay (cognitive 26): AmountFlipDisplayKt.AmountFlipDisplay has cognitive complexity 26 (threshold 15). Drivers by points: if/else 19 (23 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":"android/app/src/main/java/com/cashu/me/ui/components/AmountFlipDisplay.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc23bc0ecfd8dc2c4fb10cb24756720e6c18a4e7ad1949cd2a75d8bd808bf49e"}},{"ruleId":"D2","level":"warning","message":{"text":"MintTransferScreenKt.StatusFace (cognitive 26): MintTransferScreenKt.StatusFace has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (14 pts), match/switch 7 (10 pts), boolean chains 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, 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":"android/app/src/main/java/com/cashu/me/ui/mints/MintTransferScreen.kt"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e7c70f5515592fd894958ffd0c9f6ad3e99096f3a7f1b0007c91c5e82195f7"}},{"ruleId":"D2","level":"warning","message":{"text":"ReceiveLightningScreenKt.DisplayFace (cognitive 26): ReceiveLightningScreenKt.DisplayFace has cognitive complexity 26 (threshold 15). Drivers by points: if/else 19 (21 pts), boolean chains 4, loops 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":"android/app/src/main/java/com/cashu/me/ui/receive/ReceiveLightningScreen.kt"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"5179c955583e6651af27a5af1318e344a7c1c4b947290eb3de4b9d0407ee7a97"}},{"ruleId":"D2","level":"warning","message":{"text":"WalletManager.mintUnissuedQuotesAcrossWallets (cognitive 26): WalletManager.mintUnissuedQuotesAcrossWallets has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 4, error handling 1 (2 pts), loops 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":"ios/CashuWallet/Core/Wallet/WalletManager\u002BMintQuoteSync.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"095fdca214389e641fe0310d4d504f5a93a02c079e3b238db6451dbacab458dd"}},{"ruleId":"D2","level":"warning","message":{"text":"SendView.body (cognitive 26): SendView.body has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 7, ternaries 4 (7 pts) (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":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"683cf522d0f53b01a2b029faf8d01c0f8ebd73409ae395a63a74b54772f1366e"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeScreenKt.HomeScreen (cognitive 25): HomeScreenKt.HomeScreen has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (20 pts), error handling 2 (4 pts), boolean chains 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":"android/app/src/main/java/com/cashu/me/ui/home/HomeScreen.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9d44f846e84ee33808f17620c472d7ad09e7d83247fb7969d85806bcb473ed"}},{"ruleId":"D2","level":"warning","message":{"text":"time_profiler.analyze (cognitive 25): time_profiler.analyze has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 4 (9 pts), boolean chains 3, loops 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":".agents/skills/swiftui-expert-skill/scripts/instruments_parser/time_profiler.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"225b08c6e07f0366cf689a2bc10c7f35d202c9ec36990989521f09458a638dbf"}},{"ruleId":"D2","level":"warning","message":{"text":"upload_pr_images.main (cognitive 25): upload_pr_images.main has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (15 pts), ternaries 5 (7 pts), boolean chains 2, loops 1 (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, 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":".agents/skills/wallet-ui-visual-review/scripts/upload_pr_images.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"df09f0a97f6bfc3ae36971894f5fb54624813532bc9efccab8cf5692518b4481"}},{"ruleId":"D2","level":"warning","message":{"text":"FullWidthCapsuleButtonStyle.makeBody (cognitive 25): FullWidthCapsuleButtonStyle.makeBody has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 11 (13 pts), if/else 6 (7 pts), boolean chains 5 (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":"ios/CashuWallet/Views/Components/LiquidGlassModifiers.swift"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"327d7f8723ec19248856168f7cee8c74afd2fab2f28a8396e840666969ea4d16"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedSendView.useMax (cognitive 25): UnifiedSendView.useMax has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 6, error handling 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":1913}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87e310bc1d30d66262dc0de12480423dc1d337937fd380acdf15df8e659b1d8"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedSendView.meltConfirmBody (cognitive 25): UnifiedSendView.meltConfirmBody has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 6, ternaries 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":2095}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c0cba263e3ec627387320efb534f5efde0dc293de4b239b2953b989d2089ac"}},{"ruleId":"D2","level":"warning","message":{"text":"EmptyStateKt.EmptyState (cognitive 24): EmptyStateKt.EmptyState has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/components/EmptyState.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b49751ce755c04653ab07bc3e8d5fa54a07efb1e6c4324f9c10f09d31f5b8a"}},{"ruleId":"D2","level":"warning","message":{"text":"hitches.analyze (cognitive 24): hitches.analyze has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 5 (9 pts), boolean chains 3, loops 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":".agents/skills/swiftui-expert-skill/scripts/instruments_parser/hitches.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c43eaa9937155b492893dd2101e4c820ccbeae77dddf8c46d910df486b8c02"}},{"ruleId":"D2","level":"warning","message":{"text":"LightningService.removeUnusedQuotes (cognitive 24): LightningService.removeUnusedQuotes has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 3, error handling 1 (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":"ios/CashuWallet/Core/Services/LightningService.swift"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2f865538e262284caf766299ccfd1d1b5bc797218ef0f4dcd342dffa33d081"}},{"ruleId":"D2","level":"warning","message":{"text":"NDEFTextRecord.extractText (cognitive 24): NDEFTextRecord.extractText has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 3 (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":"ios/CashuWallet/Core/Services/NDEFTextRecordCoder.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76bd74ffaf9104e20e2a0de6815097c7a1338ef681776594bff52d96823e5a9"}},{"ruleId":"D2","level":"warning","message":{"text":"PendingMintQuoteTransactionsKt.pendingMintQuoteTransactions (cognitive 23): PendingMintQuoteTransactionsKt.pendingMintQuoteTransactions has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13, boolean chains 9, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/PendingMintQuoteTransactions.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b972cdf600df37563b01b5c86e4a069d75cd229e42922de49bc46561ac759992"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodActionRowKt.MethodActionRow (cognitive 23): MethodActionRowKt.MethodActionRow has cognitive complexity 23 (threshold 15). Drivers by points: if/else 19 (22 pts), boolean chains 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":"android/app/src/main/java/com/cashu/me/ui/components/MethodActionRow.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddaeccdbd4c0effc4070a7db3551b513415764996468c9c1a15dd607063d1ec8"}},{"ruleId":"D2","level":"warning","message":{"text":"ReceiveEcashDetailScreenKt.ReceiveEcashDetailScreen (cognitive 23): ReceiveEcashDetailScreenKt.ReceiveEcashDetailScreen has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 2, match/switch 1 (2 pts) (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":"android/app/src/main/java/com/cashu/me/ui/receive/ReceiveEcashDetailScreen.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5efcf24625baadb7b9e669041b99eb8acf45da497c988e2b4ea2069f1d3eb9b"}},{"ruleId":"D2","level":"warning","message":{"text":"RestoreMintsStagingState.pasteFromClipboard (cognitive 23): RestoreMintsStagingState.pasteFromClipboard has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 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":"android/app/src/main/java/com/cashu/me/ui/restore/RestoreWalletFlow.kt"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37de46e374277de793d23c90a510171fc6e4e6b77ada5fe530698156149f119"}},{"ruleId":"D2","level":"warning","message":{"text":"NPCService.establishConnection (cognitive 23): NPCService.establishConnection has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 5, error handling 2 (4 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":"ios/CashuWallet/Core/NPCService.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c27ed983d76829e0364b69a6d964c7d7ae614fa2418204db468201f5f64bb2"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionTechnicalDetails.init (cognitive 23): TransactionTechnicalDetails.init has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 4 (6 pts), boolean chains 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":"ios/CashuWallet/Models/Transactions/TransactionTechnicalDetails.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb67f72e78c6095ad23aec37da9c0c04ea18eb5736613214c62d41c5a2f11c39"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentStatusView.body (cognitive 23): PaymentStatusView.body has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 7, if/else 7 (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":"ios/CashuWallet/Views/Send/Components/AuthorizingOverlay.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee148bc3b3328c7535260adbcb048c76705277e2ba87e908c48fa3a50d4c3105"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionRowKt.TransactionRow (cognitive 22): TransactionRowKt.TransactionRow has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 3, match/switch 2 (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":"android/app/src/main/java/com/cashu/me/ui/components/TransactionRow.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2405f1ba8ac5fa7e32e307b6b1002dde3151e2e16a8a279f038fcd41cb2d3b2"}},{"ruleId":"D2","level":"warning","message":{"text":"AsciiFieldKt.OnboardingAsciiBackdrop (cognitive 22): AsciiFieldKt.OnboardingAsciiBackdrop has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 4, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/onboarding/AsciiField.kt"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"222258fd4c051ce079a5d6bcb6de34c9084b7be29f14387e98dc78d40c0864fe"}},{"ruleId":"D2","level":"warning","message":{"text":"hangs.analyze (cognitive 22): hangs.analyze has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 4 (6 pts), boolean chains 4, loops 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":".agents/skills/swiftui-expert-skill/scripts/instruments_parser/hangs.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"44665d2ecfd6ef7d5e420d5a9e294ac6abf6a2df5ceead3d1d752cdb15e39cba"}},{"ruleId":"D2","level":"warning","message":{"text":"route_platforms.route (cognitive 22): route_platforms.route has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 6 (7 pts), boolean chains 3, 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":".agents/skills/wallet-ui-visual-review/scripts/route_platforms.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a9156b81ae7c37ab594dd2aef33749b6fde759709d85a975147b88010a01f0"}},{"ruleId":"D2","level":"warning","message":{"text":"LightningService.mintTokens (cognitive 22): LightningService.mintTokens has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 3 (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":"ios/CashuWallet/Core/Services/LightningService.swift"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8091e467fea51f890db0f769c3a12986dfe432039f07e99aa300c775de1a43"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionDetailView.receiptActions (cognitive 22): TransactionDetailView.receiptActions has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 6, 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":"ios/CashuWallet/Views/History/TransactionDetailView.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe40ff912892286e127557115fca9afccb26440e9f7d6bffbe52491bebb6a1c5"}},{"ruleId":"D2","level":"warning","message":{"text":"MintDetailView.aboutSection (cognitive 22): MintDetailView.aboutSection has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 3 (11 pts), if/else 4 (8 pts), boolean chains 3 (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":"ios/CashuWallet/Views/Mints/MintDetailView.swift"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"15707af7d4675dfe50d1ba3c2f4f43d7afd8012b467015b123ad22c424a71115"}},{"ruleId":"D2","level":"warning","message":{"text":"ReceiveLightningView.createRequest (cognitive 22): ReceiveLightningView.createRequest has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, ternaries 3 (5 pts), 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":"ios/CashuWallet/Views/Receive/ReceiveLightningView.swift"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54aeec3ec0944385049f9140bbe20f9c73c473efc1f8b5021b417a57f9cab85"}},{"ruleId":"D2","level":"warning","message":{"text":"ReceiveLightningView.refreshMintQuoteStatus (cognitive 22): ReceiveLightningView.refreshMintQuoteStatus has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 12, if/else 8 (10 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Receive/ReceiveLightningView.swift"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b167ba661a73ca159c22b396dde24637a8eea48c1047d170624943e7ee9bdb0"}},{"ruleId":"D2","level":"warning","message":{"text":"RecoverDepositView.body (cognitive 22): RecoverDepositView.body has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 10 (13 pts), if/else 6, boolean chains 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":"ios/CashuWallet/Views/Settings/RecoverDepositView.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91d80e3f043ef3d0316fba4d8f839d465d9f27e4342786c4ff0f69024aa839a"}},{"ruleId":"D2","level":"warning","message":{"text":"ContactlessPayViewKt.ContactlessPayView (cognitive 21): ContactlessPayViewKt.ContactlessPayView has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Views/Send/ContactlessPayView.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e361aa4d2623ceab180de46dd55921773d455575cfc1b4f748228f4bb8c191f"}},{"ruleId":"D2","level":"warning","message":{"text":"DigitRollPlanKt.digitRollPlan (cognitive 21): DigitRollPlanKt.digitRollPlan has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 3, boolean chains 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":"android/app/src/main/java/com/cashu/me/ui/components/DigitRollPlan.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b184c841e1dd8383ed75307929863dea5048dd7fdd3c2ade9f3ee1c7ee440ee6"}},{"ruleId":"D2","level":"warning","message":{"text":"NostrScreenKt.NostrScreen (cognitive 21): NostrScreenKt.NostrScreen has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (16 pts), error handling 2, match/switch 2, boolean chains 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":"android/app/src/main/java/com/cashu/me/ui/settings/NostrScreen.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5359f72b98cb3eb73164918566708d66c1ff31d97b9d3986d8b212c9e6b1eea"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsManager.recoverInterruptedP2PKRemovals (cognitive 21): SettingsManager.recoverInterruptedP2PKRemovals has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 3, error handling 2 (3 pts), loops 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":"ios/CashuWallet/Core/SettingsManager.swift"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"87982c6f2db1c6cd7170481ab4e2690ad15b644dfcb128e46007253bbcf3aed8"}},{"ruleId":"D2","level":"warning","message":{"text":"AbandonedReservationRecovery.recover (cognitive 21): AbandonedReservationRecovery.recover has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 8, 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":"ios/CashuWallet/Core/Services/MintQuoteRecovery.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee03bd3af05046a37e360c67336d28f3e1b548ca1a972420dd8ce6a23b68141"}},{"ruleId":"D2","level":"warning","message":{"text":"WalletManager.installCleanWalletAssumingLease (cognitive 21): WalletManager.installCleanWalletAssumingLease has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 3 (4 pts), boolean chains 1, 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":"ios/CashuWallet/Core/Wallet/WalletManager\u002BLifecycle.swift"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df606268e12a5f9658f597ecabbfcf37b0765b678d498e7d00622e29bd0e1af"}},{"ruleId":"D2","level":"warning","message":{"text":"WalletManager.syncPendingMeltQuotes (cognitive 21): WalletManager.syncPendingMeltQuotes has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 3 (7 pts), boolean chains 3, loops 1 (2 pts) (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":"ios/CashuWallet/Core/Wallet/WalletManager\u002BPendingMelts.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"853183de8c7cbe77d6623afe9b387596393f5f1763f232d212d75453551fc8dc"}},{"ruleId":"D2","level":"warning","message":{"text":"MintReceiptProjection.project (cognitive 21): MintReceiptProjection.project has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, ternaries 3 (6 pts), if/else 2 (4 pts), 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":"ios/CashuWallet/Models/Transactions/WalletTransaction.swift"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2e1cf0d8afb7d5c924620fad4b67e27828653e72fe521043d4586efff43d38"}},{"ruleId":"D2","level":"warning","message":{"text":"ReceiveLightningView.statusBadge (cognitive 21): ReceiveLightningView.statusBadge has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 7, if/else 7, ternaries 4 (7 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Receive/ReceiveLightningView.swift"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24071ea975bc9249f68b8015f691c86f731355c355adc3f14f7e6399e25e7fa"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedSendView.statusView (cognitive 21): UnifiedSendView.statusView has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2, match/switch 1, 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":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":2297}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c9753d91445bdd7191721b2c2b2a68e305017e075303265a69a4d979e402e0"}},{"ruleId":"D2","level":"warning","message":{"text":"LightningAddressSettingsSection.body (cognitive 21): LightningAddressSettingsSection.body has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 3 (4 pts), boolean chains 3, ternaries 3 (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":"ios/CashuWallet/Views/Settings/LightningAddressSettingsSection.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e09bd4744b851a9c9f67cd2ddb2a6af233e213f7d49730a1dc4e521c9cb27f9"}},{"ruleId":"D2","level":"warning","message":{"text":"LightningRequestParser.normalizeBolt12Offer (cognitive 20): LightningRequestParser.normalizeBolt12Offer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 2 (4 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":"android/app/src/main/java/com/cashu/me/Core/LightningRequestParser.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f1ff6bf11075134e1032974fd21db3108e522e74afc86e165b830530a0a5d4"}},{"ruleId":"D2","level":"warning","message":{"text":"ScannerViewKt.ScannerView (cognitive 20): ScannerViewKt.ScannerView has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 2, match/switch 2 (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":"android/app/src/main/java/com/cashu/me/Views/Components/ScannerView.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f09a2490ddc79fcd99306219c4164001377ac9795c469a852511344eea8205"}},{"ruleId":"D2","level":"warning","message":{"text":"MintTransferScreenKt.EntryFace (cognitive 20): MintTransferScreenKt.EntryFace has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 2, match/switch 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":"android/app/src/main/java/com/cashu/me/ui/mints/MintTransferScreen.kt"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf2e3f6852d00a165851edd590810de84db89e26bfeb9dd3de42e303e3c1f1a"}},{"ruleId":"D2","level":"warning","message":{"text":"AsciiFieldKt.AsciiField (cognitive 20): AsciiFieldKt.AsciiField has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 2 (3 pts), boolean chains 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":"android/app/src/main/java/com/cashu/me/ui/onboarding/AsciiField.kt"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b01eab6637a1afa1a8daa8f1c005a4f56c20e4ff579522769f0a981f0810f3"}},{"ruleId":"D2","level":"warning","message":{"text":"SendEcashScreenKt.GeneratedFace (cognitive 20): SendEcashScreenKt.GeneratedFace has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (19 pts), 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":"android/app/src/main/java/com/cashu/me/ui/send/SendEcashScreen.kt"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a3e126fb23ea23da388b32ba8ca4730bcf706659f160ed219b44d1306f7974"}},{"ruleId":"D2","level":"warning","message":{"text":"summary._render_correlations (cognitive 20): summary._render_correlations has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (7 pts), ternaries 1 (3 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":".agents/skills/swiftui-expert-skill/scripts/instruments_parser/summary.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"371f27252e00e45a112409db5055ec6a447e68b075de5ee924661a4a17fc51ba"}},{"ruleId":"D2","level":"warning","message":{"text":"Footage.frame (cognitive 20): Footage.frame has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4, loops 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":".agents/skills/cashu-promo-video/tool/Sources/Promo/Footage.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"aceb32cd1088016ef984ef83886953bfaa46826173429debd397755ea8787879"}},{"ruleId":"D2","level":"warning","message":{"text":"WalletErrorMessage.classified (cognitive 20): WalletErrorMessage.classified has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11, boolean chains 5, match/switch 2 (4 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/Wallet/WalletErrors.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa26b744d0c514d005d9b9b934569c24de5ef718b6d4a586bed02d559159fb3"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentRequestParser.normalizeBolt12Offer (cognitive 20): PaymentRequestParser.normalizeBolt12Offer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 2 (4 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":"ios/CashuWallet/Models/Payments/PaymentRequestParser.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfeb24bc9c9a5fee3264f7c2833f815c0b239aa32f39e2b51a02448b92d4d0e0"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingView.chassisModel (cognitive 20): OnboardingView.chassisModel has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (9 pts), boolean chains 5, if/else 1 (3 pts), match/switch 2 (3 pts) (nesting depth added 8). 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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"8301aa05bad1e8e71e8598fe5df46d70621cbe3b16a62fd991e4c3fe8684c8c8"}},{"ruleId":"D2","level":"warning","message":{"text":"SendView.tokenDisplayView (cognitive 20): SendView.tokenDisplayView has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, ternaries 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1fbfdb2c4b342ba1b5d7f80385f5e2f7604b8e696dc6826cc9c7d8bfbdf146"}},{"ruleId":"D2","level":"warning","message":{"text":"SendEcashScreenKt.InputFace (cognitive 19): SendEcashScreenKt.InputFace has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 2, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/send/SendEcashScreen.kt"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28ded70e145dc669366c44457331dcb2774e5d0529c0107d7c4a1c0f90ec348"}},{"ruleId":"D2","level":"warning","message":{"text":"NWCManager.startService (cognitive 19): NWCManager.startService has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, error handling 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/NWCManager.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fec7be156f68e4731528e19a692083d0964804ac3f29dd00a14c7fd65b4df8"}},{"ruleId":"D2","level":"warning","message":{"text":"ContactlessPaymentCoordinator.handleTagDetected (cognitive 19): ContactlessPaymentCoordinator.handleTagDetected has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (8 pts), error handling 4 (6 pts), boolean chains 3, match/switch 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":"ios/CashuWallet/Core/Services/ContactlessPaymentCoordinator.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"78aec5e9684de1afa0be493227f6d0d6059b20102284a65939f7e533cd3bc54f"}},{"ruleId":"D2","level":"warning","message":{"text":"LightningService.resolveMeltAfterAmbiguousFailure (cognitive 19): LightningService.resolveMeltAfterAmbiguousFailure has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (6 pts), error handling 3 (5 pts), ternaries 2 (4 pts), boolean chains 3, 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":"ios/CashuWallet/Core/Services/LightningService.swift"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e227a3e6b4836f831c7890923ebb8cb23242b8175d1a44b12faa15b0d2eb6d3"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionDetailView.receiptDetails (cognitive 19): TransactionDetailView.receiptDetails has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7, boolean chains 5, ternaries 3 (5 pts), match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/History/TransactionDetailView.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffc9cae047bbb1542c2db94aad860672d1e313faff945f5c2492d89a0976218"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedSendView.creqMintRow (cognitive 19): UnifiedSendView.creqMintRow has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 4 (6 pts), match/switch 1 (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":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":2973}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c2eb4b0972a59a4c8f11f66068d746fae04ae916462a2f618755b7860580a8"}},{"ruleId":"D2","level":"warning","message":{"text":"AbandonedReservationRecovery.recover (cognitive 18): AbandonedReservationRecovery.recover has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, 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":"android/app/src/main/java/com/cashu/me/Core/CDK/AbandonedReservationRecovery.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35759b483598cb987efb2102a35fd2b12e4525d07f3c07f6a7ec58f50cf15c1"}},{"ruleId":"D2","level":"warning","message":{"text":"MintDiscoveryScreenKt.DiscoveryRow (cognitive 18): MintDiscoveryScreenKt.DiscoveryRow has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"android/app/src/main/java/com/cashu/me/ui/mints/MintDiscoveryScreen.kt"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a39c29101042664a05f23fd7249192902edec5a17d58fe5d3874da70b0ead2"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedSendScreenKt.SendStatusTerminal (cognitive 18): UnifiedSendScreenKt.SendStatusTerminal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), match/switch 5, boolean chains 3 (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":"android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"405123a94224ba47f653f24ac8b0ea365f20e735031e40f826725c4c9d79ead8"}},{"ruleId":"D2","level":"warning","message":{"text":"events._read_event_schema (cognitive 18): events._read_event_schema has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, loops 2, ternaries 1 (2 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":".agents/skills/swiftui-expert-skill/scripts/instruments_parser/events.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f45ef53cb72b4fe65beefb54a3962e4682091b421221cdbfcc5d3c1d80ec887"}},{"ruleId":"D2","level":"warning","message":{"text":"xctrace.toc (cognitive 18): xctrace.toc has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (3 pts), error handling 1 (2 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/swiftui-expert-skill/scripts/instruments_parser/xctrace.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d454894942dba5b3edb6be20f8fe93cfa943762012b472ff6589ab7dffbe4d4"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect_runtimes.android_inventory (cognitive 18): inspect_runtimes.android_inventory has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (5 pts), ternaries 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":".agents/skills/wallet-ui-visual-review/scripts/inspect_runtimes.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"166a8bf2ba69296ee04881e0d6b3b0c6f44be30eeb713906ae3b1765889187e4"}},{"ruleId":"D2","level":"warning","message":{"text":"MintTransferEngine.execute (cognitive 18): MintTransferEngine.execute has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 4 (5 pts), boolean chains 1, 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":"ios/CashuWallet/Core/Services/MintTransferEngine.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"55881a89b99a7fda0c534277d4633f9dfbd35a122f0d78a12d80cb451a420751"}},{"ruleId":"D2","level":"warning","message":{"text":"WalletManager.captureWalletFailureDiagnostics (cognitive 18): WalletManager.captureWalletFailureDiagnostics has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (2 pts), boolean chains 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":"ios/CashuWallet/Core/Wallet/WalletOperationCoordinator.swift"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"054ba1c7cacae653ae7f5fd0d8d8d8545f7ac07d82d4530849797e422ccf50e1"}},{"ruleId":"D2","level":"warning","message":{"text":"MintDiscoveryList.content (cognitive 18): MintDiscoveryList.content has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 1 (2 pts), boolean chains 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":"ios/CashuWallet/Views/Mints/MintDiscoverySheet.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6534508db1f0b16ac5539585c745f2a0b90e17feb58876d67955105ba69e98a"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedSendView.fetchMeltQuote (cognitive 18): UnifiedSendView.fetchMeltQuote has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":2392}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb71f062cfc2088c8d9eff0779a6e87bcc7518f0468ef1e642f433c68c7fe86"}},{"ruleId":"D2","level":"warning","message":{"text":"MintSelectorRowKt.AmountEntryMintSelector (cognitive 17): MintSelectorRowKt.AmountEntryMintSelector has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 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":"android/app/src/main/java/com/cashu/me/ui/components/MintSelectorRow.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c0745f8031f1d35b6fe963f6402dce8d0e658fa73a0debb85ab44271fe6dd0"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingScreenKt.SeedGrid (cognitive 17): OnboardingScreenKt.SeedGrid has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/onboarding/OnboardingScreen.kt"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d96f92948811a67bacaff3e37233cd0e6845fe66b5fb8dd36987fe4d0c53dc"}},{"ruleId":"D2","level":"warning","message":{"text":"ReceiveEcashDetailScreenKt.ConfirmContent (cognitive 17): ReceiveEcashDetailScreenKt.ConfirmContent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3 (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":"android/app/src/main/java/com/cashu/me/ui/receive/ReceiveEcashDetailScreen.kt"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4a6e5eedba608a3d8bdc1e1e7de84a0307b75aefa09268688642eb2824d319"}},{"ruleId":"D2","level":"warning","message":{"text":"RestoreWalletFlowKt.RestoreProgressRow (cognitive 17): RestoreWalletFlowKt.RestoreProgressRow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, match/switch 2 (nesting depth added 4). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/restore/RestoreWalletFlow.kt"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"204f3e53c3ca23df5c5c5d94dace2aec8a5bdcc94d24df4f741a0e5b30a609ac"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedSendScreenKt.TopUpQuoteSheet (cognitive 17): UnifiedSendScreenKt.TopUpQuoteSheet has cognitive complexity 17 (threshold 15). Drivers by points: error handling 5 (7 pts), if/else 3 (4 pts), match/switch 2 (3 pts), boolean chains 2, 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":"android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"0942681f67f3f90dacc839dd07016a76a9dcb3aaf6272412a1e51ba64945d794"}},{"ruleId":"D2","level":"warning","message":{"text":"P2PKComponentsKt.KeyCard (cognitive 17): P2PKComponentsKt.KeyCard has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), match/switch 2 (4 pts) (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":"android/app/src/main/java/com/cashu/me/ui/settings/P2PKComponents.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7717729416269a78de7bfd50c0d1ea83a5788cc5d0d6484c1829f26659c34466"}},{"ruleId":"D2","level":"warning","message":{"text":"events.list_signposts (cognitive 17): events.list_signposts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/swiftui-expert-skill/scripts/instruments_parser/events.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d0c6df0b31e218daa1635f91bc8d96a89fbd4bd1826331af237559c2162857"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect_runtimes.ios_inventory (cognitive 17): inspect_runtimes.ios_inventory has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 5 (6 pts), boolean chains 3, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/wallet-ui-visual-review/scripts/inspect_runtimes.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"23834b9850b32823d2108326e3226b25efe8ce58115a7ec29c7777a7159eef4c"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.handle_request (cognitive 17): Handler.handle_request has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, error handling 1, 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":"CI/mint-history-retry-proxy.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4a2b6659f72b8319b647fb7171d766fb30acddeba73569afc2bd760c10901d"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenService.receiveTokens (cognitive 17): TokenService.receiveTokens has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, error handling 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":"ios/CashuWallet/Core/Services/TokenService.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bf7c8d3b12c0860f19cad3b9e78566e0264092888a8651c1cadef56f558269"}},{"ruleId":"D2","level":"warning","message":{"text":"DepositRecoveryRequest.init (cognitive 17): DepositRecoveryRequest.init has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 13, if/else 3, ternaries 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":"ios/CashuWallet/Core/Wallet/DepositRecovery.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"213c96492455c62bebe44fee3da1e2ae846ea92daf2320f3c00c0c00543f903a"}},{"ruleId":"D2","level":"warning","message":{"text":"WalletManager.recoverDepositAssumingLease (cognitive 17): WalletManager.recoverDepositAssumingLease has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 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":"ios/CashuWallet/Core/Wallet/DepositRecovery.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ca570928b9c4e9ee923b507f83f9785083cddc9e456e2325f77e76e14a4117"}},{"ruleId":"D2","level":"warning","message":{"text":"WalletManager.performBestEffortWalletStartupMaintenanceAssumingLease (cognitive 17): WalletManager.performBestEffortWalletStartupMaintenanceAssumingLease has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (3 pts), boolean chains 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":"ios/CashuWallet/Core/Wallet/WalletManager\u002BLifecycle.swift"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e6ac278473d78ccf52ecd2a80e5a3bf91f9e54a046e8106b7cd3f4b194a017"}},{"ruleId":"D2","level":"warning","message":{"text":"MintTransferProjection.project (cognitive 17): MintTransferProjection.project has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, 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":"ios/CashuWallet/Models/Transactions/WalletTransaction.swift"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12a698668a144d47d5201ef3408c084c73111795dbd9f637c07c4fa45288aec"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedSendView.recomputeFee (cognitive 17): UnifiedSendView.recomputeFee has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5, 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":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":2849}}}],"partialFingerprints":{"codehealthFindingId/v1":"efce3434d445940a9db58134c4cb9adda5a8cf98d25e915fc3f612e1763066e8"}},{"ruleId":"D2","level":"warning","message":{"text":"NfcType4Tag.updateBinary (cognitive 16): NfcType4Tag.updateBinary has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/NfcReceive/NfcType4Tag.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"336ec169c54d0df7094792a0ad50666a493be3f918f278ca464c61049813f88d"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionDisplay.title (cognitive 16): TransactionDisplay.title has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 4 (9 pts), if/else 5 (7 pts) (nesting depth added 7). 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":"android/app/src/main/java/com/cashu/me/Core/TransactionDisplay.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f48587578d78ff08b08cc24068764c8fbb5be45d1bd60999d6d51365be21fa"}},{"ruleId":"D2","level":"warning","message":{"text":"CashuRequestRowKt.CashuRequestRow (cognitive 16): CashuRequestRowKt.CashuRequestRow has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), match/switch 1 (2 pts), boolean chains 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":"android/app/src/main/java/com/cashu/me/ui/components/CashuRequestRow.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4437ef41269ab369b6a41c97c6b341bea7959b2c2ab19ccc5d2fbae49ab3d1f7"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeScreenKt.HomeBalanceHero (cognitive 16): HomeScreenKt.HomeBalanceHero has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (16 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/home/HomeScreen.kt"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff0a1def26cbd35d1a979893bfa4c3dd0fdc0050ffd19f4b683d57b211f7d25"}},{"ruleId":"D2","level":"warning","message":{"text":"summary._render_hitches (cognitive 16): summary._render_hitches has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 3 (6 pts), boolean chains 1, 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":".agents/skills/swiftui-expert-skill/scripts/instruments_parser/summary.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48864d939d04d932111792eaab3bd5416b03d9ce6968d3613bdbf4653bb0781"}},{"ruleId":"D2","level":"warning","message":{"text":"record_trace.main (cognitive 16): record_trace.main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 5, error handling 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/swiftui-expert-skill/scripts/record_trace.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b845cbd2b6581442ca1b3e5950768ea80eadfebde7a42bc4c80932e82e962e3"}},{"ruleId":"D2","level":"warning","message":{"text":"FocusedMintQuoteMonitor.monitor (cognitive 16): FocusedMintQuoteMonitor.monitor has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 5, if/else 3 (5 pts), ternaries 1 (3 pts), error handling 1 (2 pts), 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":"ios/CashuWallet/Core/Services/FocusedMintQuoteMonitor.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e64270845df4bb5d8b75653c76b517a5192ef5e45494e183b1538a7c636e7a5"}},{"ruleId":"D2","level":"warning","message":{"text":"LightningService.meltQuoteCandidateMints (cognitive 16): LightningService.meltQuoteCandidateMints has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, ternaries 2 (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":"ios/CashuWallet/Core/Services/LightningService.swift"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"adabf0180a8711ffd71b0c6e42b927311d97afb5d7a907c1857decba2717c9ba"}},{"ruleId":"D2","level":"warning","message":{"text":"CashuPaymentRequestPayView.headerContent (cognitive 16): CashuPaymentRequestPayView.headerContent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 6). 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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac281419078f35817c3b5832eeaabc323c267eca66b186b633a3dc4be1d14899"}},{"ruleId":"D2","level":"warning","message":{"text":"CashuPaymentRequestPayView.recomputeFee (cognitive 16): CashuPaymentRequestPayView.recomputeFee has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, 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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c4ab93fb4742d8e5829b7ec5f7f29ee272a40210191527d888bf791a2cd22f"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionDetailView.detailRows (cognitive 16): TransactionDetailView.detailRows has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (16 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/History/TransactionDetailView.swift"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"d205a6d6f9918283ff7a9fcb3bdb51c91d4f1d08b3262f2c7946f5e71d2077e9"}},{"ruleId":"D2","level":"warning","message":{"text":"MintTransferView.useMax (cognitive 16): MintTransferView.useMax has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 3, error handling 3, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Mints/MintTransferView.swift"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a4762be9de795e140af2b510126f025a11b2f8c1191c7e5bb3e8541367b4c6"}},{"ruleId":"D2","level":"warning","message":{"text":"CashuRequestDetailView.content (cognitive 16): CashuRequestDetailView.content has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 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":"ios/CashuWallet/Views/Receive/CashuRequestDetailView.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ede2035901d39c31aba69414bb7b472b60141aaf59507c3be98130db7c6abb5"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedSendView.payCreq (cognitive 16): UnifiedSendView.payCreq has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 4 (6 pts), ternaries 1 (2 pts), error handling 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":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":2686}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05a8faa6614ece703ee36d336cbc2453a1d50fa078e17bc4bb4ac93f6141f59"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WalletManager: TooManyMethods \u2014 168 methods, declared across 16 files: Wallet/WalletManager\u002BLifecycle.swift (50), Wallet/WalletManager\u002BTokens.swift (19), Wallet/WalletManager\u002BMintQuoteSync.swift (18), Wallet/WalletManager\u002BLightning.swift (13), \u002B12 more file(s). The bar is 30 methods; this is 138 over it, 5.60\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"ios/CashuWallet/Core/Wallet/WalletManager.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf9c09519b1e1e323abef504421fac3902dcd1ea8d228224e0577955ae3f596"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Send/SendView.swift: FileTooLong \u2014 2219 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1719 over it, 4.44\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":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04303bbe61cc826e82f0e156877256415ee4ee53e5aeb879620b80ad7a95e76c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OnboardingScreenKt.OnboardingScreen: MethodTooLong \u2014 OnboardingScreen runs 392 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 292 over it, 3.92\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":"android/app/src/main/java/com/cashu/me/ui/onboarding/OnboardingScreen.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e3b8196b5cc7876105ceadd78269b78647325fd03dbac45a651e022256c51c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WalletManager: TooManyMethods \u2014 108 methods. The bar is 30 methods; this is 78 over it, 3.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/Wallet/WalletManager.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"403f2943cb1ce2b34780ae8a8bfe1f49c8698f5521ce7839f6f2065208628506"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WalletManager: ClassTooLong \u2014 1303 significant lines (blank, comment-only and punctuation-only lines excluded), 108 methods. The bar is 400 significant lines; this is 903 over it, 3.26\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":"android/app/src/main/java/com/cashu/me/Core/Wallet/WalletManager.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93353da05795ee5e19160a27efba4ad81c750b4ffe5fe59be3afa11b9e3c8ae"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UnifiedSendView: ClassTooLong \u2014 1268 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. The bar is 400 significant lines; this is 868 over it, 3.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":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"59952f1e3dd7c4782867bbb4eeccd15d9fe7ae4cc91654b881e0595ebfd47cae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: receive/ReceiveLightningScreen.kt: FileTooLong \u2014 1545 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1045 over it, 3.09\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":"android/app/src/main/java/com/cashu/me/ui/receive/ReceiveLightningScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b2b5e781c594811ce9a2fd202f288fa8a48ac49c7f575d9354ae3dc440ecec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: send/UnifiedSendScreen.kt: FileTooLong \u2014 1437 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 937 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":"android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96f4b188a9976ebb7c2e825cdbbdcd249b48c8b05b68eefcdbf3fa032f1ed13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Wallet/WalletManager.kt: FileTooLong \u2014 1383 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: WalletManager (71-2169). The bar is 500 significant lines; this is 883 over it, 2.77\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":"android/app/src/main/java/com/cashu/me/Core/Wallet/WalletManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdadce21abdfd239d902455f318112bea369c22f456d7379bd9bec32783a47c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CdkWalletGatewayImpl: TooManyMethods \u2014 82 methods. The bar is 30 methods; this is 52 over it, 2.73\u00D7 the bar. Most of these members implement CDK.CdkWalletGateway (53 of 78 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGatewayImpl.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ac724a54cb83bfc8126cf977a510f79dd5cbe789c1a815b2587f55e4a9d64b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MintDetailScreenKt.MintDetailScreen: MethodTooLong \u2014 MintDetailScreen runs 262 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 162 over it, 2.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/mints/MintDetailScreen.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c3a04338bcabd08d3677a7aab8dbd0e603dee9134aa975267603d1e52f223d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NostrScreenKt.NostrScreen: MethodTooLong \u2014 NostrScreen runs 252 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 152 over it, 2.52\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":"android/app/src/main/java/com/cashu/me/ui/settings/NostrScreen.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b26443e46e5314c7cfdd62071b96584dbab6f9e57a9b83c7a967512fc9cef21"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ReceiveLightningView: ClassTooLong \u2014 999 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 400 significant lines; this is 599 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":"ios/CashuWallet/Views/Receive/ReceiveLightningView.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a9ad50ecf88fbff8853bf1d9fd57aff0898fd0f3bc05b46125cb6cb471f8f8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LightningService: ClassTooLong \u2014 978 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. The bar is 400 significant lines; this is 578 over it, 2.45\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/Services/LightningService.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77e53451b8c0231bd5bf097c42ded09fdd832edb3426beae2fb6b932148ba2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Main/OnboardingView.swift: FileTooLong \u2014 1215 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 715 over it, 2.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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e307af88c4c9ce927be35362d015de14ac501d2ef12a8bf3eb368ca4a16941"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HistoryScreenKt.HistoryScreen: MethodTooLong \u2014 HistoryScreen runs 230 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 130 over it, 2.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/history/HistoryScreen.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebfa87cc39d27c269cbb7ad52154eb711aa6d7368d7b009187834583a5e3cda"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Settings/SettingsView.swift: FileTooLong \u2014 1139 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 639 over it, 2.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Settings/SettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a8d1b0f16b08e0856cec4d6c457b17daf813bb6e5940150168cef91684c32b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CdkWalletGatewayImpl: ClassTooLong \u2014 864 significant lines (blank, comment-only and punctuation-only lines excluded), 82 methods. The bar is 400 significant lines; this is 464 over it, 2.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGatewayImpl.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6264e6e5147dfe4a37e93223eff819516546f7c5133eecd7f9102160aa0db2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: onboarding/OnboardingScreen.kt: FileTooLong \u2014 1074 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 574 over it, 2.15\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":"android/app/src/main/java/com/cashu/me/ui/onboarding/OnboardingScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"938013caa02f07270f7e299bfc5796c71a1c5149f87421b018ca9ca3235eeee8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Receive/ReceiveLightningView.swift: FileTooLong \u2014 1074 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: ReceiveLightningView (25-1606). The bar is 500 significant lines; this is 574 over it, 2.15\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":"ios/CashuWallet/Views/Receive/ReceiveLightningView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ecb1e87b4192c6a9ef748165381f56c4d73a51a43eaa0be632f9794b5d9e4c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UnifiedSendScreenKt.ConfirmFace: MethodTooLong \u2014 ConfirmFace runs 212 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 112 over it, 2.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":"android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3180aef4c41e779f4927edc7b74baaf0ad1905de207c24f5af5bf8ef11f909"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/LightningService.swift: FileTooLong \u2014 1052 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: LightningService (95-1627). The bar is 500 significant lines; this is 552 over it, 2.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":"ios/CashuWallet/Core/Services/LightningService.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebc1b2c7b2346e744607ad3c0322fd367d06aed32597510b07cd69430af8e94"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CashuNavHostKt.CashuNavHost: MethodTooLong \u2014 CashuNavHost runs 210 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 110 over it, 2.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":"android/app/src/main/java/com/cashu/me/ui/navigation/CashuNavHost.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ab688851ec3a1a437553ad3ffa2442dc7ca7d02e1b2c8f98f60c4748a57e33"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Components/ScannerWrapperView.swift: FileTooLong \u2014 1049 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 549 over it, 2.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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfa9347b6454bbdfb4cd0a847dd3ce453095f5028b9353499a647fba1e114bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Wallet/WalletManager\u002BLifecycle.swift: FileTooLong \u2014 1010 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 510 over it, 2.02\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":"ios/CashuWallet/Core/Wallet/WalletManager\u002BLifecycle.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"223972af21549a68b17de161ca1737be9704e4ac850a9646f732251345dace24"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CDK/CdkWalletGatewayImpl.kt: FileTooLong \u2014 985 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: CdkWalletGatewayImpl (147-1366). The bar is 500 significant lines; this is 485 over it, 1.97\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGatewayImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"381c2e68483985e157de5824c96fcf390896a68aee2c028479831235986b6f80"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SettingsManager: TooManyMethods \u2014 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":"android/app/src/main/java/com/cashu/me/Core/SettingsManager.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5404bb8464372d7d23d4140abef18b6a3952dd00ae2141bed464e64bd67e24"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mints/MintTransferScreen.kt: FileTooLong \u2014 878 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 378 over it, 1.76\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":"android/app/src/main/java/com/cashu/me/ui/mints/MintTransferScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc0764ea6a8a7e69a5017af10444e37181a0f546b3b64cf28809b5947dfaa66"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: restore/RestoreWalletFlow.kt: FileTooLong \u2014 878 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 378 over it, 1.76\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":"android/app/src/main/java/com/cashu/me/ui/restore/RestoreWalletFlow.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b378a2548b2ca32a17bcb6780ab8c87246211f83a9cdf5d1f414952a2c4fb9c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: send/SendEcashScreen.kt: FileTooLong \u2014 804 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 304 over it, 1.61\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":"android/app/src/main/java/com/cashu/me/ui/send/SendEcashScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a02f28b756f5ce666180d61e9df45282eb7e8f881dde8e2a40b4a352181a87e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UnifiedSendView: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7723983e5e9cccc8603ee1f4a3208b798ad6f708047151a50de49b127acf32e7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HomeScreenKt.HomeScreen: MethodTooLong \u2014 HomeScreen 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":"android/app/src/main/java/com/cashu/me/ui/home/HomeScreen.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0df1c85f80055505a3e75c1b2dc444a58a9d8b264dc959fdfcf0ff82de1c3c9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SendView: ClassTooLong \u2014 614 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 214 over it, 1.54\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":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"1636ff132d715622ba2b717ef918fdc38d9c003a934c769fa9aec01d123463ce"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LightningService: TooManyMethods \u2014 46 methods, declared across 2 files: Services/LightningService.swift (44), Services/MintQuoteRecovery.swift (2). The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"ios/CashuWallet/Core/Services/LightningService.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c14e31fd6ae0770b3a08282352e904a73d50f19c49aaa053c992a150b472e3a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WalletErrorMessage.classified: MethodTooLong \u2014 classified 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":"ios/CashuWallet/Core/Wallet/WalletErrors.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0df556d61c29a228c42e11880daf0b6a3d62c5b8ae739cdfbf8daf2c2a06a54"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReceiveLightningView.body: MethodTooLong \u2014 body runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Receive/ReceiveLightningView.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7e2b7043bf0642ed580397b9152bdb2e8f58b71f93c9ef21b7f536b573944f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReceiveLightningView: TooManyMethods \u2014 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":"ios/CashuWallet/Views/Receive/ReceiveLightningView.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad6188b51cfb35a2ff482874179394b6f60c8d458cda01963858ba94a83ee69"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TransactionService.loadTransactions: MethodTooLong \u2014 loadTransactions runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/Services/TransactionService.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4423eda675949ac472cfcb6593153e6c3e4cc12b5d1b5cf21e47b55dea27b03"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MintTransferScreenKt.EntryFace: MethodTooLong \u2014 EntryFace runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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":"android/app/src/main/java/com/cashu/me/ui/mints/MintTransferScreen.kt"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3780f09aa4db6a40a235514ca93436da1667aa85a58ca0e90eae3bc9e8e9851"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OnboardingView: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"16097b8b10d6d0cc46d8504f9ac604f32c59b2df472b2a9e26f18051ea397175"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/validate_capture_manifest.py: FileTooLong \u2014 680 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 180 over it, 1.36\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":".agents/skills/wallet-ui-visual-review/scripts/validate_capture_manifest.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61078ed8848c2c6796332d11237f4ec7c2865f327b765d43ec28cdda891872c4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MainWalletView: ClassTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 134 over it, 1.34\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":"ios/CashuWallet/Views/Main/MainWalletView.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b0d46e2df3b7f8007dd6224d9105aa37913dc1e7e070c4c9f7fe77197f925a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MintDetailView: ClassTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 133 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":"ios/CashuWallet/Views/Mints/MintDetailView.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd94c21e883fa781e78aa870fc5205603faf31e39a50ce4028ec332f2c44956f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AmountFlipDisplayKt.AmountFlipDisplay: MethodTooLong \u2014 AmountFlipDisplay 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":"android/app/src/main/java/com/cashu/me/ui/components/AmountFlipDisplay.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e393620ecc1df8160fdfa8e0b08ee02e023e22d6e89530ff0d0a38b647cc04"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SendEcashScreenKt.GeneratedFace: MethodTooLong \u2014 GeneratedFace 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":"android/app/src/main/java/com/cashu/me/ui/send/SendEcashScreen.kt"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"14306ad5e6e437fe3203018e04114ecef01d7481572b504cc513fbe52078188b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CashuPaymentRequestPayView: ClassTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 130 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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e0411407d0b671b912b3c5aacdfd371a0f237bf1c9b1cf6d30d5d50b790b2c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MintTransferView: ClassTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded), 23 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":"ios/CashuWallet/Views/Mints/MintTransferView.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8f63a58881b2b4d698a00c7b823911b47e720ff5addffc71405d98a6a4c09a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NwcSettingsScreenKt.NwcSettingsScreen: MethodTooLong \u2014 NwcSettingsScreen runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/settings/NwcSettingsScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d7a52a2c71e6c5e3a45915818cef662fb451aa0c1a093cec008dc5eba069f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: onboarding/AsciiField.kt: FileTooLong \u2014 643 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 143 over it, 1.29\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":"android/app/src/main/java/com/cashu/me/ui/onboarding/AsciiField.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb3e957ba32551bac799071a913074e38107ea39655c4de1c3d5b6493c48fee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReceiveLightningScreenKt.DisplayFace: MethodTooLong \u2014 DisplayFace 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":"android/app/src/main/java/com/cashu/me/ui/receive/ReceiveLightningScreen.kt"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc97936d3e089e7030ba8d365bc2d7c1921d7d5f202ff0c44ea8fc0f17776ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shell/CashuApp.kt: FileTooLong \u2014 626 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 126 over it, 1.25\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":"android/app/src/main/java/com/cashu/me/ui/shell/CashuApp.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"442fe08264182e1ec5ee7c0e0d7352ccad702a9d690e4a826b7fa3ef824306fd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MintTransferScreenKt.ReviewFace: MethodTooLong \u2014 ReviewFace runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/mints/MintTransferScreen.kt"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d0e42b9ed766a1f4601667fda8bd718dcc2229972c2e1dbd367883c8cf900c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WalletStore: 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":"android/app/src/main/java/com/cashu/me/Core/WalletStore.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a78c9a412f3fb894b48b924786d20f575f10f24bf9e0a2e476cf9ab789a861"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecoverDepositView.body: MethodTooLong \u2014 body runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Settings/RecoverDepositView.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"62af7cecb14de94cf3067ccb2f8ae16bd7f0517ee62ddbbc1fc9eff4806bcce5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LightningService.meltTokens: MethodTooLong \u2014 meltTokens runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/Services/LightningService.swift"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"7948371f1c1f2505e8a953a38b9488c472825e029cf494eac8d569646224740c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SettingsManager: ClassTooLong \u2014 475 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 75 over it, 1.19\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":"ios/CashuWallet/Core/SettingsManager.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85de31d5227300d7114d60d92597ac1b4ccbfbd9b8d39238d440b7f6b0d0ae5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DeviceKeyDetailScreenKt.DeviceKeyDetailScreen: MethodTooLong \u2014 DeviceKeyDetailScreen 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":"android/app/src/main/java/com/cashu/me/ui/settings/DeviceKeyDetailScreen.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0e97ac147d71f85b2f365439741cea163b7458081c26e3dce12c1136722f70"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Core/SettingsManager.swift: FileTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: SettingsManager (7-769). The bar is 500 significant lines; this is 82 over it, 1.16\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":"ios/CashuWallet/Core/SettingsManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0cc6e1cbbeb2c3523afe3937485ad9b20000d1243b36cb08377cdaae6f3769"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LightningScreenKt.LightningScreen: MethodTooLong \u2014 LightningScreen runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/settings/LightningScreen.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e00e34f9859d04d8b5215c502309dec178b853931c129bb372a678252dc325"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WalletTransactionLoader.load: MethodTooLong \u2014 load runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/Wallet/WalletTransactionLoader.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aafbbfb61cb8c632d107aefc4065242e9617dcf3900661d2c3b0f672a46cbf5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SendEcashScreenKt.InputFace: MethodTooLong \u2014 InputFace runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/send/SendEcashScreen.kt"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"8320844a9f9905829d6276542b84538f374db69362209b18cc3a336c83188adc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: receive/CashuRequestDetailScreen.kt: FileTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 56 over it, 1.11\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":"android/app/src/main/java/com/cashu/me/ui/receive/CashuRequestDetailScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9087730090d43ad58529bd39e15d91887c8f3bf1881b840191dcdae5f6f36a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Main/MainWalletView.swift: FileTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: MainWalletView (16-891). The bar is 500 significant lines; this is 56 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":"ios/CashuWallet/Views/Main/MainWalletView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda3cc189625d0e3f95fe0804249c1f10b1bf5a9fd8d788252762082d93755a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Mints/MintDetailView.swift: FileTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: MintDetailView (4-776). The bar is 500 significant lines; this is 44 over it, 1.09\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":"ios/CashuWallet/Views/Mints/MintDetailView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bca251386049a58638180fe3a4f3f6b22de110a1ef156bcaf3a4533f53cfe18"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mints/MintDetailScreen.kt: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 36 over it, 1.07\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":"android/app/src/main/java/com/cashu/me/ui/mints/MintDetailScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec6a5df692b961a57133216180fe13fbaf26004381b84cc673f8f3c78af3127"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SettingsManager: 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":"ios/CashuWallet/Core/SettingsManager.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"18efbb7b198eddde1bb23aa847b62ec974dc243c2582a3eb084777049115be3c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WalletStore: 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":"ios/CashuWallet/Core/WalletStore.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18d5af846f76eaaeff0f0923763b42db8531e0d00a58fdc0da9b24a4845f2b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Mints/MintTransferView.swift: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: MintTransferView (6-886). The bar is 500 significant lines; this is 32 over it, 1.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":"ios/CashuWallet/Views/Mints/MintTransferView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6fb2ebbe646afd68e5b4d54b2d1beeafae3bb9dfc256531f51b241c9780007"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UnifiedSendView.body: MethodTooLong \u2014 body runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"70682ca60d343211dd5b717f93a1c106cd3639afa70b9795a72e48b31f585745"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ScannerWrapperView.body: MethodTooLong \u2014 body runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f42cdf14ec4b201098172c335dfb05bc723dffef5c7d9db52e15f18e88778e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UnifiedSendScreenKt.TopUpQuoteSheet: MethodTooLong \u2014 TopUpQuoteSheet runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fb58d4ffc92724e334536534948dac2a9f62da87680bfebdc163001215daee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Components/AsciiField.swift: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 13 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Components/AsciiField.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b84a6d98618673fae7ac9a58b5a6681dd313748f66ef616b995e172e08c08d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TransactionService.pendingTransactions: MethodTooLong \u2014 pendingTransactions 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":"ios/CashuWallet/Core/Services/TransactionService.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef579816243c34cd903af1f76732d37507576adc06eb6a41de49e92201ffdd2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecoverDepositScreenKt.RecoverDepositScreen: MethodTooLong \u2014 RecoverDepositScreen 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":"android/app/src/main/java/com/cashu/me/ui/settings/RecoverDepositScreen.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb1a1b95b9747a13588466db92a95e8cfdaa3f5050c8810291bea820949b5ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Components/LiquidGlassModifiers.swift: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4 over it, 1.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":"ios/CashuWallet/Views/Components/LiquidGlassModifiers.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdd3bbf6e1f82a49413198c9ccccf276b2d782744a04787ac1e067847db80ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:151-180 | ios/CashuWallet/Views/Components/AsciiField.swift:248-285 \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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"842d507931b21e691379705621bc2da50b613620e45cfde2a16695f1cbe2e0c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:30-36 | ios/CashuWallet/Views/Components/AsciiField.swift:47-53 \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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e35d96ec7e551fe25b9c18bc1ef0390233edca9e7327cd0d4ea39ec1205ca6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): android/app/src/main/java/com/cashu/me/ui/settings/AdvancedKeysScreen.kt:65-171 | android/app/src/main/java/com/cashu/me/ui/settings/AppLockScreen.kt:45-138 | android/app/src/main/java/com/cashu/me/ui/settings/BackupRestoreScreen.kt:59-160 | android/app/src/main/java/com/cashu/me/ui/settings/DeviceKeyDetailScreen.kt:58-218 | android/app/src/main/java/com/cashu/me/ui/settings/LightningScreen.kt:115-277 | android/app/src/main/java/com/cashu/me/ui/settings/NostrScreen.kt:118-454 | android/app/src/main/java/com/cashu/me/ui/settings/NwcSettingsScreen.kt:80-259 | android/app/src/main/java/com/cashu/me/ui/settings/P2PKScreen.kt:59-178 | android/app/src/main/java/com/cashu/me/ui/settings/PrivacyScreen.kt:34-112 \u2014 These 9 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 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/settings/AdvancedKeysScreen.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebc741722c414d6af3ef2e8c533e0e1c8315ba589ff4223d1cdcd4cd575f4b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): ios/CashuWallet/Views/Settings/LightningAddressSettingsSection.swift:186-215 | ios/CashuWallet/Views/Settings/NWCSettingsSection.swift:177-208 | ios/CashuWallet/Views/Settings/NWCSettingsSection.swift:210-239 | ios/CashuWallet/Views/Settings/P2PKSettingsSection.swift:53-131 | ios/CashuWallet/Views/Settings/P2PKSettingsSection.swift:401-435 | ios/CashuWallet/Views/Settings/SettingsView.swift:165-197 | ios/CashuWallet/Views/Settings/SettingsView.swift:250-271 \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":"ios/CashuWallet/Views/Settings/LightningAddressSettingsSection.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"36076a46f651ac13dc1c0c31df8b69598d19fccaaeb00b3442daebbb7d3d9c87"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ios/CashuWallet/Views/Main/OnboardingView.swift:2126-2140 | ios/CashuWallet/Views/Main/OnboardingView.swift:2142-2153 | ios/CashuWallet/Views/Settings/SettingsView.swift:1020-1034 | ios/CashuWallet/Views/Settings/SettingsView.swift:1036-1047 \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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":2126}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c00aebaa526054b9dddcea05231b650619310f3f614598e491d7b44536e0dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): .agents/skills/cashu-promo-video/tool/capture/PromoTakes.swift:233-278 | .agents/skills/cashu-promo-video/tool/capture/PromoTakes.swift:371-430 \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":".agents/skills/cashu-promo-video/tool/capture/PromoTakes.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2b50bafec3e9df38dc7606ed897ad6a559e7fd9993b9fca976b6e32852ee4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): ios/CashuWallet/Views/Send/Components/ClipboardPaymentChip.swift:22-75 | ios/CashuWallet/Views/Send/SendView.swift:543-594 \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":"ios/CashuWallet/Views/Send/Components/ClipboardPaymentChip.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b98bb9e6401fad8e6a499e6b3db70374fad687e4ed9d05b01400f2820329c5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): ios/CashuWallet/Views/Receive/ReceiveLightningView.swift:1205-1268 | ios/CashuWallet/Views/Receive/ReceiveLightningView.swift:1279-1344 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Receive/ReceiveLightningView.swift"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"635b3e45d369e172d94f4f562b97497b97da0221d376249f149bb91fbb7f89d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): android/app/src/main/java/com/cashu/me/ui/components/UnitPickerSheet.kt:39-95 | android/app/src/main/java/com/cashu/me/ui/receive/ReceiveLightningScreen.kt:2051-2107 \u2014 These two members are one piece of code written twice and then edited apart: 57 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/components/UnitPickerSheet.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8011f06d6643cdb7e445b29fef7cca0800f7ef80cfdd480f5e3c7399d187b113"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): ios/CashuWallet/Views/Components/ScannerWrapperView.swift:905-949 | ios/CashuWallet/Views/Send/SendView.swift:2849-2880 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e339dbe95b72fd8309a8332d570fea1ab3e221c5c207232ece4e1cab8d7a1a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:44-56 | ios/CashuWallet/Views/Components/AsciiField.swift:61-76 \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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"25da42289c028eddae32bc558331b1c3f752eacaed253c7e09b734ed9aef82b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): android/app/src/main/java/com/cashu/me/Core/HistoryFilters.kt:70-101 | android/app/src/main/java/com/cashu/me/ui/history/HistoryScreen.kt:547-575 \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":"android/app/src/main/java/com/cashu/me/Core/HistoryFilters.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad2738b420afdeae81f3d9fe998cb3d945edda206e394235960a0ebd0272bc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): ios/CashuWallet/Views/Receive/ReceiveView.swift:104-136 | ios/CashuWallet/Views/Send/SendView.swift:1606-1642 \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":"ios/CashuWallet/Views/Receive/ReceiveView.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfde99fc57a8b1d1850a2dde8b3e41adca545dab5f59f673d1421c64ec929cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): ios/CashuWallet/Views/Main/OnboardingView.swift:698-738 | ios/CashuWallet/Views/Main/OnboardingView.swift:750-781 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c674edaceeb860706dadf7e85f3fe4eac6c8b5822092d3b1da01230e781c52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): android/app/src/main/java/com/cashu/me/ui/settings/LightningScreen.kt:338-381 | android/app/src/main/java/com/cashu/me/ui/settings/NostrComponents.kt:251-295 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/settings/LightningScreen.kt"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"5466b03f0577aa9be07708d85787e5b8b7b578c9aae10aa8fb14a5148260a1ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): ios/CashuWallet/Core/Services/LightningService.swift:580-611 | ios/CashuWallet/Core/Services/LightningService.swift:613-655 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/Services/LightningService.swift"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6906137e58530246ad1e9451eeead3b98066ea900076159e51aa70f4006fea0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): ios/CashuWallet/Views/Main/OnboardingView.swift:1981-2011 | ios/CashuWallet/Views/Settings/SettingsView.swift:915-947 \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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"18630806eac8885b25ef0076886783e7e70f99f253f0ec79f0864a00d45479c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): ios/CashuWallet/Views/Settings/NostrSettingsSection.swift:124-153 | ios/CashuWallet/Views/Settings/P2PKSettingsSection.swift:142-171 \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":"ios/CashuWallet/Views/Settings/NostrSettingsSection.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3281d614ae771348e9e222c5cfc2a25ea11ad5e04a275fc749b07d16c7bbf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): android/app/src/main/java/com/cashu/me/ui/components/SelectionRow.kt:37-81 | android/app/src/main/java/com/cashu/me/ui/mints/MintsScreen.kt:536-572 \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":"android/app/src/main/java/com/cashu/me/ui/components/SelectionRow.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c47c6162996e498364375f52c9f2d214851ccd17b012ef31071b38e89993ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): ios/CashuWallet/Views/Components/HistoryTransactionRow.swift:17-44 | ios/CashuWallet/Views/Components/TransactionRowView.swift:15-47 \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":"ios/CashuWallet/Views/Components/HistoryTransactionRow.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6615712f0e109483fb5b1b19577392900f154471c11ff055af6fc4c94f815d97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): android/app/src/main/java/com/cashu/me/Core/Bech32.kt:59-82 | android/app/src/main/java/com/cashu/me/Core/BitcoinAddressValidator.kt:97-118 \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":"android/app/src/main/java/com/cashu/me/Core/Bech32.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16388c5b772958b915acef152f4dede5561091ec46d4d7f19775c6a582f536e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): ios/CashuWallet/Models/Mints/MintInfo.swift:198-215 | ios/CashuWallet/Models/Requests/CashuRequest.swift:192-207 \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":"ios/CashuWallet/Models/Mints/MintInfo.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d609cb933e237fa6f4a886f14a27ce4d81308ca8015fa6b83a247f7fb7eea18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): .agents/skills/cashu-promo-video/tool/Sources/Promo/Analyze.swift:44-55 | .agents/skills/cashu-promo-video/tool/Sources/Promo/Analyze.swift:121-132 \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":".agents/skills/cashu-promo-video/tool/Sources/Promo/Analyze.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf12720feb031323a4069bb85a1dedc9188a0488f5f8322f96cb7b3899197df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): ios/CashuWallet/Core/Wallet/WalletManager\u002BLifecycle.swift:1104-1132 | ios/CashuWallet/Core/Wallet/WalletManager\u002BLifecycle.swift:1145-1175 \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":"ios/CashuWallet/Core/Wallet/WalletManager\u002BLifecycle.swift"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9663220a041c2cc620419e1a45ad4011a400df6f0b6ca27dd5451a5d285e1741"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): ios/CashuWallet/Views/Components/ScannerWrapperView.swift:1255-1274 | ios/CashuWallet/Views/Send/SendView.swift:2898-2915 \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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d05acee31cdb575c70dcd1656322bf20b6956106474871b20f3ba3161ac7e1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ios/CashuWallet/Core/Wallet/WalletManager\u002BBackup.swift:189-200 | ios/CashuWallet/Core/Wallet/WalletManager\u002BBackup.swift:209-223 \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":"ios/CashuWallet/Core/Wallet/WalletManager\u002BBackup.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c0c156db3efc305f771cb4d68aee631a8b3bedd98d56f1d02beebc1c5e4e2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:81-88 | ios/CashuWallet/Views/Components/AsciiField.swift:128-135 \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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c4ed9a6ec890d284bda10242558b49d99edcd40a1d42b9b6c9788bca0612c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ios/CashuWallet/Core/SettingsManager.swift:805-813 | ios/CashuWallet/Models/Tokens/TokenTransferModels.swift:61-71 \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":"ios/CashuWallet/Core/SettingsManager.swift"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"93eacb43769fc06a2ac5bd9c46e7f5ef3e4d27a666b78b23978c665f296587fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): ios/CashuWallet/Views/Components/ScannerWrapperView.swift:868-888 | ios/CashuWallet/Views/Send/SendView.swift:3036-3054 \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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"d707d8ae151fa90ae78649e0a9b453f72b4aca6171176e3603d4e38fba3a1837"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): ios/CashuWallet/Views/Components/RestoreFlowState.swift:45-61 | ios/CashuWallet/Views/Mints/AddMintSheet.swift:172-188 \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":"ios/CashuWallet/Views/Components/RestoreFlowState.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10f025b391c07acdfacd8926213918c411d1b18b7e13bfecb79a0f8ab3d4a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): ios/CashuWallet/Views/Main/OnboardingView.swift:785-806 | ios/CashuWallet/Views/Main/OnboardingView.swift:1229-1254 \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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0babbd08071a2393438ef53c7f9e53e5051cb10fc572c4e47c0c4eec998f79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): ios/CashuWallet/Views/Settings/BackupSettingsSection.swift:61-84 | ios/CashuWallet/Views/Settings/SettingsView.swift:274-301 \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":"ios/CashuWallet/Views/Settings/BackupSettingsSection.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"915e3f214d3921484166de1a6f108243122d2ec20d0bce1e59af146c68094dce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): ios/CashuWallet/Core/SettingsStore.swift:225-241 | ios/CashuWallet/Core/SettingsStore.swift:248-264 \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":"ios/CashuWallet/Core/SettingsStore.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30cc25ae6044da928411e4ab7d3827b28addf79016d41d6d866960f3cb055d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ios/CashuWallet/Views/Components/ScannerWrapperView.swift:1069-1091 | ios/CashuWallet/Views/Send/SendView.swift:2783-2796 \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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f46f62610dbb0224efb9222175524bb51636e2aa57f57d8920903b850a27ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ios/CashuWallet/Views/Components/PaymentDetailContent.swift:158-172 | ios/CashuWallet/Views/History/TransactionTechnicalDetailsView.swift:134-150 \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":"ios/CashuWallet/Views/Components/PaymentDetailContent.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b77ae9a2d78a320cd55d82dd4c4599e68c55b9b9df89688a16f4562664d26a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ios/CashuWallet/Views/History/HistoryView.swift:602-609 | ios/CashuWallet/Views/History/HistoryView.swift:611-619 \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":"ios/CashuWallet/Views/History/HistoryView.swift"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8183ba1726c032d2a1b88dbb84ecb562830a336c3d7aa5f964d64177f3e368"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): android/app/src/main/java/com/cashu/me/Core/Platform/WalletDatabasePathManager.kt:494-513 | android/app/src/main/java/com/cashu/me/Core/Platform/WalletDatabasePathManager.kt:515-533 \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":"android/app/src/main/java/com/cashu/me/Core/Platform/WalletDatabasePathManager.kt"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36a58a43bd63aa482f7357f661c885145d00881badea31e96cffda052bf91fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): ios/CashuWallet/Views/Main/OnboardingView.swift:2078-2098 | ios/CashuWallet/Views/Settings/SettingsView.swift:976-996 \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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":2078}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75c1b13a29100266ad415fd581df6a0d7a4be568a7d2aa821dfdfd352cba531"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ios/CashuWallet/Core/Wallet/WalletErrors.swift:504-522 | ios/CashuWallet/Core/Wallet/WalletManager\u002BMintQuoteSync.swift:347-361 \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":"ios/CashuWallet/Core/Wallet/WalletErrors.swift"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8cdbea71ac6a069614c0ec3ade31c267ab82ea1f4599f956ccde11c7cbeab27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): android/app/src/main/java/com/cashu/me/Core/Wallet/WalletManager.kt:1045-1066 | android/app/src/main/java/com/cashu/me/Core/Wallet/WalletManager.kt:1079-1105 \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":"android/app/src/main/java/com/cashu/me/Core/Wallet/WalletManager.kt"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4cc3aedf68414e1189a8e004e5c629fbf14d020651129d740cc2e62b8f46a5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): ios/CashuWallet/Views/Mints/MintDetailView.swift:644-656 | ios/CashuWallet/Views/Settings/SettingsView.swift:129-147 \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":"ios/CashuWallet/Views/Mints/MintDetailView.swift"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"a868aa32847bebf76dd2a93a65e0090fe40fdaa4dbd3770a7c9e80fe074f15d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ios/CashuWallet/Views/Mints/MintDetailView.swift:506-521 | ios/CashuWallet/Views/Mints/MintDetailView.swift:564-578 \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":"ios/CashuWallet/Views/Mints/MintDetailView.swift"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd805cc6b2d7892f51cfaf2b4824a9a775d5373aee4a3934fd83da694a4465bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): ios/CashuWallet/Core/Wallet/WalletManager\u002BLifecycle.swift:126-146 | ios/CashuWallet/Core/Wallet/WalletManager\u002BLifecycle.swift:148-166 \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":"ios/CashuWallet/Core/Wallet/WalletManager\u002BLifecycle.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3ad154af048b361c028071826364c9c4d8920b70bc21119adc0331e3324e45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ios/CashuWallet/Views/Components/LiquidGlassModifiers.swift:1031-1041 | ios/CashuWallet/Views/Components/LiquidGlassModifiers.swift:1051-1063 \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":"ios/CashuWallet/Views/Components/LiquidGlassModifiers.swift"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"81734e4153006fe570f03000b51c347933883be6ddd9802bcb2e56074792d1ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ios/CashuWallet/Views/Main/OnboardingChassis.swift:165-175 | ios/CashuWallet/Views/Main/OnboardingView.swift:353-364 \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":"ios/CashuWallet/Views/Main/OnboardingChassis.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dc74c69af2e2932b089902645d7593a07353b9094c9e4e5a2b66d3c1092d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:199-206 | ios/CashuWallet/Views/Components/AsciiField.swift:336-343 \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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb7d89065d316155b5c128aeea3a2696cb0c113c6d984f9d70ff8fa6c643cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): ios/CashuWallet/Views/Components/ErrorBannerView.swift:250-262 | ios/CashuWallet/Views/Components/ErrorBannerView.swift:272-284 \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":"ios/CashuWallet/Views/Components/ErrorBannerView.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"177f59b31e2707cc7e0f589f7575d48ae7df0cc78ac57788a9b07014447cf9bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ios/CashuWallet/Views/Components/ScannerWrapperView.swift:975-983 | ios/CashuWallet/Views/Send/SendView.swift:2808-2817 \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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"45788eceeb0d6fee2b2fbcce3a07f36a5366add7e53df9cc63c0887056360122"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ios/CashuWallet/Views/Mints/MintDetailView.swift:161-178 | ios/CashuWallet/Views/Mints/MintsListView.swift:187-200 \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":"ios/CashuWallet/Views/Mints/MintDetailView.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"250937cc3ae9db53f01585ebf37ce4a9ceca4817827c058574d8ff11183d6db7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ios/CashuWallet/Views/Components/ScannerWrapperView.swift:1006-1015 | ios/CashuWallet/Views/Send/SendView.swift:2836-2845 \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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbd3633607e6c8167b9daeb7b53371d79cfa06ce845eb06bfa0a9d11c29ca64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ios/CashuWallet/Views/Main/OnboardingView.swift:1912-1920 | ios/CashuWallet/Views/Mints/ConnectMintView.swift:222-228 \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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":1912}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b56fe0226014db9b5e045b4e0982acb85f501cb13967157dde8e26ea1064fd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): android/app/src/main/java/com/cashu/me/Core/Bech32.kt:47-57 | android/app/src/main/java/com/cashu/me/Core/BitcoinAddressValidator.kt:85-95 \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":"android/app/src/main/java/com/cashu/me/Core/Bech32.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"647e460059feaf781967f0fb32c63fce5e8cfe7ccedaff877f404b9de5b75b92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): android/app/src/main/java/com/cashu/me/Core/Platform/WalletDatabasePathManager.kt:366-379 | android/app/src/main/java/com/cashu/me/Core/Platform/WalletDatabasePathManager.kt:385-396 \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":"android/app/src/main/java/com/cashu/me/Core/Platform/WalletDatabasePathManager.kt"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"2deaadf1757795c7a5d6ae48ad74f683679e260a36b9088209e92d5146a0ca2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ios/CashuWallet/Views/Components/ScannerWrapperView.swift:993-1004 | ios/CashuWallet/Views/Send/SendView.swift:2823-2834 \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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0d9ccf11c3c295fed68d0125df56e1f6b4014c1618e166b00d4b2221807f7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): android/app/src/main/java/com/cashu/me/ui/components/Buttons.kt:96-107 | android/app/src/main/java/com/cashu/me/ui/components/Buttons.kt:115-125 \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":"android/app/src/main/java/com/cashu/me/ui/components/Buttons.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9430caa12ca5751733f190a49b66c8773f3c054a2d536947c8f33ccdc4a70b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:38-42 | ios/CashuWallet/Views/Components/AsciiField.swift:55-59 \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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"47addab5edbd6e734cfc5f683e6eb2e2e252f66e69be788f41849babfee430d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): android/app/src/main/java/com/cashu/me/Core/Wallet/WalletManager.kt:998-1012 | android/app/src/main/java/com/cashu/me/Core/Wallet/WalletManager.kt:1776-1790 \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":"android/app/src/main/java/com/cashu/me/Core/Wallet/WalletManager.kt"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d79692badd65d99e7a2088b17139e7dc2eda31fd4357acad8f705eb46fc466"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): ios/CashuWallet/Views/Main/OnboardingView.swift:1948-1971 | ios/CashuWallet/Views/Settings/SettingsView.swift:883-905 \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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":1948}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4964d9e770192da20b8a3b2ffa8f0f69a46feaff0188438b1916f48d0dffd1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): ios/CashuWallet/Core/Wallet/WalletManager\u002BLightning.swift:108-123 | ios/CashuWallet/Core/Wallet/WalletManager\u002BLightning.swift:132-147 | ios/CashuWallet/Core/Wallet/WalletManager\u002BLightning.swift:149-164 \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":"ios/CashuWallet/Core/Wallet/WalletManager\u002BLightning.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e90ca49f06ff39837bd0b4abfe405e3ebff9624da9522a0d51ca0dea7ef731"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ios/CashuWallet/Views/History/TransactionTechnicalDetailsView.swift:16-24 | ios/CashuWallet/Views/History/TransactionTechnicalDetailsView.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":"ios/CashuWallet/Views/History/TransactionTechnicalDetailsView.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d991f9f9c3d240066517e60b0f0a1f7a8f69b519635ca6e55713cb46cd31452b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ios/CashuWallet/Core/Services/MintTransferEngine.swift:270-276 | ios/CashuWallet/Core/Services/MintTransferEngine.swift:281-287 \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":"ios/CashuWallet/Core/Services/MintTransferEngine.swift"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee00689526b785c57b01978f9e64100859d733341a10244ce49b6f2d9ff14337"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ios/CashuWallet/Models/Payments/OnchainExplorer.swift:148-155 | ios/CashuWallet/Models/Payments/OnchainExplorer.swift:157-163 \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":"ios/CashuWallet/Models/Payments/OnchainExplorer.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a120d1b0a03216dc648827a68668db0088f8793fd565299edb803530fbf8f1e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ios/CashuWallet/Views/Components/ErrorBannerView.swift:201-211 | ios/CashuWallet/Views/Components/ErrorBannerView.swift:214-224 \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":"ios/CashuWallet/Views/Components/ErrorBannerView.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8602d67ee851decd97b63fc6d8759c1b7705c1f170bb57582300b5d30ee061a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ios/CashuWallet/Views/Mints/MintDetailView.swift:582-590 | ios/CashuWallet/Views/Components/LiquidGlassModifiers.swift:871-879 \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":"ios/CashuWallet/Views/Mints/MintDetailView.swift"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dccb137bb11d7d93d2b42c75b48fa37c39f77b8de5c22db7bfcbdb9904e1747"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ios/CashuWallet/Views/Settings/LightningAddressSettingsSection.swift:120-134 | ios/CashuWallet/Views/Settings/NWCSettingsSection.swift:244-258 \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":"ios/CashuWallet/Views/Settings/LightningAddressSettingsSection.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f4119c6e13b4e56bbbeeb7f4929d26eb47ba6f098a7cbf70df744aceb6bf56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:76-79 | ios/CashuWallet/Views/Components/AsciiField.swift:117-120 \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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3c54a87a1904550c38dcce355eff5a1b38c835739c91d738ca2eeaf049751c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): android/app/src/main/java/com/cashu/me/ui/components/MintSelectorRow.kt:73-78 | android/app/src/main/java/com/cashu/me/ui/mints/MintTransferRouteBlock.kt:605-610 \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":"android/app/src/main/java/com/cashu/me/ui/components/MintSelectorRow.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b673d130205c6438d18fb92551b2e0fb7885300d57bdeae249f903732631f150"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ios/CashuWallet/Core/AmountFormatter.swift:451-459 | ios/CashuWallet/Core/AmountFormatter.swift:462-477 \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":"ios/CashuWallet/Core/AmountFormatter.swift"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"e322a65633943dfd4c6f05cca808f4044c81074686df00a7375741a85a5d911a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): ios/CashuWallet/Views/Main/OnboardingView.swift:1908-1910 | ios/CashuWallet/Views/Settings/SettingsView.swift:858-860 \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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":1908}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bc7ec7e2090738907a3a4a1bbbd753b36f0085d85962b5722f33ad4edbccc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ios/CashuWallet/Views/Main/OnboardingView.swift:1734-1740 | ios/CashuWallet/Views/Settings/SettingsView.swift:729-737 \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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":1734}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0e778fd77c8cfd44f9c7bfaf29d35334f4ef55f1705d24b840b0be53900717"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): ios/CashuWallet/Views/Main/OnboardingView.swift:1800-1802 | ios/CashuWallet/Views/Settings/SettingsView.swift:751-753 \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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":1800}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d73e60cd664ec6611b1418b89d0334fd7fc04faf3ca8568bd281de87fb1d9d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:90-95 | ios/CashuWallet/Views/Components/AsciiField.swift:141-146 \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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f74f08d86585ecf6da05e28000081c92a6c23a60e85761416f6d09102bb5bad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): android/app/src/main/java/com/cashu/me/Core/DataStorePreferenceStore.kt:78-84 | android/app/src/main/java/com/cashu/me/Core/PreferenceSnapshot.kt:52-58 \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":"android/app/src/main/java/com/cashu/me/Core/DataStorePreferenceStore.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"5275d2889910749533ac1cf310e79ce5401db41c3da7fc2d8036c815980dd943"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ios/CashuWallet/Views/Main/OnboardingView.swift:1552-1558 | ios/CashuWallet/Views/Settings/SettingsView.swift:874-881 \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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":1552}}}],"partialFingerprints":{"codehealthFindingId/v1":"594276dd7227d6d4d94d21dcce4c36200d1d4bb9da70302d56e2ab46f05f0a7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ios/CashuWallet/Views/Receive/ReceiveView.swift:213-220 | ios/CashuWallet/Views/Send/SendView.swift:3071-3079 \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":"ios/CashuWallet/Views/Receive/ReceiveView.swift"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efe05bc2079ddb1b379b8cf302cfce5ef2648d1ac7387793926e3a499393d06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:58-63 | ios/CashuWallet/Views/Components/AsciiField.swift:79-84 \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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a979e4f04a79f2021dc084f7d2dfa924a794dac1d949eaf4d7870d9c314effdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ios/CashuWallet/Core/Wallet/WalletManager\u002BCashuPaymentRequests.swift:289-295 | ios/CashuWallet/Core/Services/NFCPaymentService.swift:188-194 \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":"ios/CashuWallet/Core/Wallet/WalletManager\u002BCashuPaymentRequests.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd431266af696d519f5e61393f7a0b5bd653db5ad62407e8576d785a2c2fade8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): ios/CashuWallet/Models/Transactions/TransactionTechnicalDetails.swift:275-283 | ios/CashuWallet/Views/Receive/CashuRequestDetailView.swift:345-353 | ios/CashuWallet/Views/Receive/ReceiveLightningView.swift:464-468 \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":"ios/CashuWallet/Models/Transactions/TransactionTechnicalDetails.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae1cf38992144259f245fc8a57bac4714f5a779fc4a0ec32a19d7ee61a0cbec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ios/CashuWallet/Views/Components/ScannerWrapperView.swift:1017-1023 | ios/CashuWallet/Views/Send/SendView.swift:2763-2769 \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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"3332d609998dacd3363866d790b34c183dfe1ac93905cdc83651b0bd018201bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ios/CashuWallet/Views/Mints/MintsListView.swift:202-211 | ios/CashuWallet/Views/Receive/CashuRequestMintPickerSheet.swift:62-71 \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":"ios/CashuWallet/Views/Mints/MintsListView.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2560fb9601b491403874075efd698662858fb7a23a442e3cd47b761ba60ef97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ios/CashuWallet/Views/Components/CashuRequestAmountColumn.swift:33-43 | ios/CashuWallet/Views/Main/MainWalletView.swift:719-728 \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":"ios/CashuWallet/Views/Components/CashuRequestAmountColumn.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"200b71ba25f07477834f3902f2565a98afc16f0e7464ae88c1c2d27b6943be75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ios/CashuWallet/Core/PaymentRequestDecoder.swift:453-458 | ios/CashuWallet/Core/Services/NFCPaymentService.swift:196-201 \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":"ios/CashuWallet/Core/PaymentRequestDecoder.swift"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e4413a2e48d633238cafb133716c4287cce0b7e07d7a522fbdd6a8d7521603"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:218-221 | ios/CashuWallet/Views/Components/AsciiField.swift:362-365 \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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b806ebed450b3f98b5a1f0201413f5736b06eb37f9bc560b24ee980ab32f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ios/CashuWallet/Views/Main/OnboardingView.swift:2118-2124 | ios/CashuWallet/Views/Settings/SettingsView.swift:1012-1018 \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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":2118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6950c041f88c86b549843ec8ec26b4af2b068302193b6782f205a994e4d359f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): android/app/src/main/java/com/cashu/me/Core/CDK/CdkMintMethodMapping.kt:76-81 | android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGatewayImpl.kt:1177-1182 \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":"android/app/src/main/java/com/cashu/me/Core/CDK/CdkMintMethodMapping.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"34888d12d9d3a57bd0b28404d52833cb5e29deaf9c6dcb1c93a3c996b4712000"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): CI/mint-history-retry-proxy.py:29-33 | CI/receipt-recovery-proxy.py:27-31 \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":"CI/mint-history-retry-proxy.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3b58c8df45afdbcbf180ecd0b086c0c0ddbbed73c287d2fa387ea3814ec4e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:147-149 | ios/CashuWallet/Views/Components/AsciiField.swift:241-243 \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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"270c6a2fc32be0d034cd48a7ac631653888a01fa35ccc8d2668eb22c7c8eb36e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): android/app/src/main/java/com/cashu/me/Core/SettingsStore.kt:278-281 | android/app/src/main/java/com/cashu/me/Core/WalletStore.kt:137-140 \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":"android/app/src/main/java/com/cashu/me/Core/SettingsStore.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5506c12d60a9d06becfdcf3a3a1dad4c72e75c8702f5d6f1ef753dfc99f934"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): .agents/skills/swiftui-expert-skill/scripts/instruments_parser/events.py:286-291 | .agents/skills/swiftui-expert-skill/scripts/instruments_parser/swiftui.py:187-195 \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":".agents/skills/swiftui-expert-skill/scripts/instruments_parser/events.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"170703de5ead6fe601640b2dba5cbd87a2749e0ba349588eb23894cbcb59a3f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ios/CashuWallet/Views/Receive/ReceiveView.swift:222-227 | ios/CashuWallet/Views/Send/SendView.swift:3063-3069 \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":"ios/CashuWallet/Views/Receive/ReceiveView.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cada6e16756c5d52a18c0aeb6e5eca41bcd09e692032777a6d3358334d36cb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): ios/CashuWallet/Models/Requests/CashuRequest.swift:41-44 | ios/CashuWallet/Models/Transactions/WalletTransaction.swift:11-14 \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":"ios/CashuWallet/Models/Requests/CashuRequest.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ea00bc384f42a2c430aca665d27b6f024ae8df9f97ff8da07c99c925196d78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ios/CashuWallet/Views/Components/ScannerWrapperView.swift:688-692 | ios/CashuWallet/Views/Send/SendView.swift:2942-2946 \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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"b929121e0b0c4c2e97286baaf35b5d3e8dd9797f1400cf946d30714b50918914"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): ios/CashuWallet/Core/SettingsStore.swift:293-295 | ios/CashuWallet/Core/WalletStore.swift:157-159 \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":"ios/CashuWallet/Core/SettingsStore.swift"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"613e96b97e7b76f07a603d9561b7c3f2a462cfb83be8070736eb0a22aba1d177"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ios/CashuWallet/Views/History/TransactionDetailView.swift:441-445 | ios/CashuWallet/Views/Send/SendView.swift:933-937 \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":"ios/CashuWallet/Views/History/TransactionDetailView.swift"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf07983b97d818c97203cbf820e618c99f151d3febf01f4447bdffde5b4fd475"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:195-197 | ios/CashuWallet/Views/Components/AsciiField.swift:327-329 \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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"8521af7ed7f06ea96d649853305c92b13c6d54e9afc28dac165dbabd4676f3b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:214-216 | ios/CashuWallet/Views/Components/AsciiField.swift:356-358 \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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ac6c1d1086c8f66845598390492ac74b97d38310bb291f7430e1a558fc46d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): ios/CashuWallet/Core/SettingsStore.swift:289-291 | ios/CashuWallet/Core/WalletStore.swift:153-155 \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":"ios/CashuWallet/Core/SettingsStore.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e725337039dcd68cc4a1a8f64ceec1977a6b78e42738ac73f5ec172d19c5688"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): android/app/src/main/java/com/cashu/me/ui/onboarding/AsciiField.kt:176-179 | android/app/src/main/java/com/cashu/me/ui/onboarding/OnboardingHandoff.kt:133-136 \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":"android/app/src/main/java/com/cashu/me/ui/onboarding/AsciiField.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"6304f0af2f172a653a59150082d66b3f5bffb231985fbbd5c9959daba40789b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt:1523-1545 | android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt:1786-1810 \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 \u0060android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt:1523\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":"android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7c998c5b3d782348111d49e1151fb02835948878a199b49db130fdd6512a81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): android/app/src/main/java/com/cashu/me/Core/Wallet/WalletManager.kt:1051-1066 | android/app/src/main/java/com/cashu/me/Core/Wallet/WalletManager.kt:1089-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 \u0060android/app/src/main/java/com/cashu/me/Core/Wallet/WalletManager.kt:1051\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":"android/app/src/main/java/com/cashu/me/Core/Wallet/WalletManager.kt"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7649cba32d7e4f9da8152e66551c52abe96fbd5c33c2c1b35efb87eb7f2ec05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): android/app/src/main/java/com/cashu/me/ui/restore/RestoreWalletFlow.kt:692-707 | android/app/src/main/java/com/cashu/me/ui/restore/RestoreWalletFlow.kt:1106-1121 \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 \u0060android/app/src/main/java/com/cashu/me/ui/restore/RestoreWalletFlow.kt:692\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":"android/app/src/main/java/com/cashu/me/ui/restore/RestoreWalletFlow.kt"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de379f32b5605928381381450eee5f8a0b0fddc0255934555b4523dd6acf5e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): android/app/src/main/java/com/cashu/me/ui/components/PaymentStatusScreen.kt:520-534 | android/app/src/main/java/com/cashu/me/ui/components/PaymentStatusScreen.kt:536-550 | android/app/src/main/java/com/cashu/me/ui/components/PaymentStatusScreen.kt:553-567 \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. 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":"android/app/src/main/java/com/cashu/me/ui/components/PaymentStatusScreen.kt"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"314c62972ef674b57a727a23c82d9c7a7aaa237495aa64a0c7000d65c64d0cf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): android/app/src/main/java/com/cashu/me/ui/onboarding/OnboardingScreen.kt:803-817 | android/app/src/main/java/com/cashu/me/ui/restore/RestoreWalletFlow.kt:715-728 \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 \u0060android/app/src/main/java/com/cashu/me/ui/onboarding/OnboardingScreen.kt:803\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":"android/app/src/main/java/com/cashu/me/ui/onboarding/OnboardingScreen.kt"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e20d3ac9b33ce07565df7ba2f18edede65d291ad5629d22639f6b1d9332156"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): android/app/src/main/java/com/cashu/me/ui/receive/CashuRequestDetailScreen.kt:623-637 | android/app/src/main/java/com/cashu/me/ui/receive/ReceiveLightningScreen.kt:1903-1917 \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 \u0060android/app/src/main/java/com/cashu/me/ui/receive/CashuRequestDetailScreen.kt:623\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":"android/app/src/main/java/com/cashu/me/ui/receive/CashuRequestDetailScreen.kt"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0039be628877bf9e509185441f71d3e7916f4fa0a9bbdbd796a4492d6fc0f31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 8): android/app/src/main/java/com/cashu/me/ui/settings/AdvancedKeysScreen.kt:76-89 | android/app/src/main/java/com/cashu/me/ui/settings/AppLockScreen.kt:62-75 | android/app/src/main/java/com/cashu/me/ui/settings/BackupRestoreScreen.kt:72-85 | android/app/src/main/java/com/cashu/me/ui/settings/DeviceKeyDetailScreen.kt:82-95 | android/app/src/main/java/com/cashu/me/ui/settings/LightningScreen.kt:139-152 | android/app/src/main/java/com/cashu/me/ui/settings/NostrScreen.kt:177-190 | android/app/src/main/java/com/cashu/me/ui/settings/NwcSettingsScreen.kt:98-111 | android/app/src/main/java/com/cashu/me/ui/settings/PrivacyScreen.kt:40-53 \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 8 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060android/app/src/main/java/com/cashu/me/ui/settings/AdvancedKeysScreen.kt:76\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":"android/app/src/main/java/com/cashu/me/ui/settings/AdvancedKeysScreen.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a2e18fd7be9f973d08840da74405286b4557cb210000e5970f9fd86b7a7971"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): android/app/src/main/java/com/cashu/me/Core/Platform/WalletDatabasePathManager.kt:498-511 | android/app/src/main/java/com/cashu/me/Core/Platform/WalletDatabasePathManager.kt:519-532 \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":"android/app/src/main/java/com/cashu/me/Core/Platform/WalletDatabasePathManager.kt"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6775cba8103423f8c3725285f0a5e9592834e83478c28eecb6734900ad46631"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): android/app/src/main/java/com/cashu/me/ui/components/UnitPickerSheet.kt:81-94 | android/app/src/main/java/com/cashu/me/ui/receive/ReceiveLightningScreen.kt:2094-2107 \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 \u0060android/app/src/main/java/com/cashu/me/ui/components/UnitPickerSheet.kt:81\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":"android/app/src/main/java/com/cashu/me/ui/components/UnitPickerSheet.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b67b8ee6ebf3e5f01c45b87a3f774934fe9dc9d7a5b7014697564547b210294"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): android/app/src/main/java/com/cashu/me/ui/receive/ReceiveLightningScreen.kt:763-776 | android/app/src/main/java/com/cashu/me/ui/send/SendEcashScreen.kt:379-392 \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 \u0060android/app/src/main/java/com/cashu/me/ui/receive/ReceiveLightningScreen.kt:763\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":"android/app/src/main/java/com/cashu/me/ui/receive/ReceiveLightningScreen.kt"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e60890b7719221c52381330ca5fe8c7e707682402ad95736e79ca055f861541"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGatewayImpl.kt:575-586 | android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGatewayImpl.kt:604-615 \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":"android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGatewayImpl.kt"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"404e85eaa2b8b3c43a8e546f273cb29d497353f57990427fa6291e23029226f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): android/app/src/main/java/com/cashu/me/ui/receive/CashuRequestDetailScreen.kt:527-535 | android/app/src/main/java/com/cashu/me/ui/receive/ReceiveLightningScreen.kt:963-973 \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 \u0060android/app/src/main/java/com/cashu/me/ui/receive/CashuRequestDetailScreen.kt:527\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":"android/app/src/main/java/com/cashu/me/ui/receive/CashuRequestDetailScreen.kt"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6014f416149ce6dbcc371e328fb8cdb3048fb4e44bb3e598fe56ce74423927a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): android/app/src/main/java/com/cashu/me/ui/restore/RestoreWalletFlow.kt:904-914 | android/app/src/main/java/com/cashu/me/ui/restore/RestoreWalletFlow.kt:1198-1207 \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 \u0060android/app/src/main/java/com/cashu/me/ui/restore/RestoreWalletFlow.kt:904\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":"android/app/src/main/java/com/cashu/me/ui/restore/RestoreWalletFlow.kt"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e270fd9e5caf394218ae0daa81f9d56d1228894e7b60f2648b2fae44c4dc7fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): android/app/src/main/java/com/cashu/me/ui/settings/NostrComponents.kt:269-279 | android/app/src/main/java/com/cashu/me/ui/settings/NwcSettingsScreen.kt:291-300 \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 \u0060android/app/src/main/java/com/cashu/me/ui/settings/NostrComponents.kt:269\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060android/app/src/main/java/com/cashu/me/ui/settings/NwcSettingsScreen.kt:300\u0060 calls \u0060IconButton\u0060, \u0060Icon\u0060 and \u0060android/app/src/main/java/com/cashu/me/ui/settings/NostrComponents.kt:279\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":"android/app/src/main/java/com/cashu/me/ui/settings/NostrComponents.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2182b53cafa1adb8cdd09bed7be31ca8e19c21c578c4363ddc62dce5b4b807"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): android/app/src/main/java/com/cashu/me/Core/Bech32.kt:67-75 | android/app/src/main/java/com/cashu/me/Core/BitcoinAddressValidator.kt:105-113 \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 \u0060android/app/src/main/java/com/cashu/me/Core/Bech32.kt:67\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":"android/app/src/main/java/com/cashu/me/Core/Bech32.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d5f94707f53340fb58585beb6aa1657593c34715c390c00f69a71c7c10e490"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGatewayImpl.kt:623-631 | android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGatewayImpl.kt:734-742 \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":"android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGatewayImpl.kt"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b640555b398af7a26ef068a4cb5fb47de3b82957d6e433410c2e6ed814cbf72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): android/app/src/main/java/com/cashu/me/ui/receive/ReceiveEcashScreen.kt:260-268 | android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt:1280-1288 \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 \u0060android/app/src/main/java/com/cashu/me/ui/receive/ReceiveEcashScreen.kt:260\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":"android/app/src/main/java/com/cashu/me/ui/receive/ReceiveEcashScreen.kt"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9edf940a7cb9ad7e99beaec63ecff48779ebfcf5ce88ff2b6a56f94560b4fc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGatewayImpl.kt:558-565 | android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGatewayImpl.kt:702-709 \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 \u0060android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGatewayImpl.kt:558\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":"android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGatewayImpl.kt"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac76d5451060da3fea8ce21f377b85b31ca894d249b9734e2ad96f53bcb3d9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): android/app/src/main/java/com/cashu/me/Core/CashuPaymentRequestMintSelector.kt:45-50 | android/app/src/main/java/com/cashu/me/Core/MintSelection.kt:54-59 \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 \u0060android/app/src/main/java/com/cashu/me/Core/CashuPaymentRequestMintSelector.kt:45\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":"android/app/src/main/java/com/cashu/me/Core/CashuPaymentRequestMintSelector.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ff9a4114e4738bf5be5b5781ee7d8839ddea452c21c5350886e7a8eae9cd6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): android/app/src/main/java/com/cashu/me/ui/onboarding/OnboardingScreen.kt:250-254 | android/app/src/main/java/com/cashu/me/ui/receive/ReceiveLightningScreen.kt:249-258 \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":"android/app/src/main/java/com/cashu/me/ui/onboarding/OnboardingScreen.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f191c7678ef370844ed6f5de667345b3dc3546ef4eee05bb877a15ca758229"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): android/app/src/main/java/com/cashu/me/ui/receive/ReceiveLightningScreen.kt:248-252 | android/app/src/main/java/com/cashu/me/ui/settings/NostrScreen.kt:130-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/receive/ReceiveLightningScreen.kt"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58612e3788fa50dc7839478f4a97e46e14e6e9d4357561842c211a53449be6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): android/app/src/main/java/com/cashu/me/ui/receive/ReceiveEcashScreen.kt:318-328 | android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt:1305-1315 \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 \u0060android/app/src/main/java/com/cashu/me/ui/receive/ReceiveEcashScreen.kt:318\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":"android/app/src/main/java/com/cashu/me/ui/receive/ReceiveEcashScreen.kt"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ab4f244f5969c130445824fcd13c9a277d18bc862a6c22f8896161a609f9b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): android/app/src/main/java/com/cashu/me/ui/settings/NwcSettingsScreen.kt:92-101 | android/app/src/main/java/com/cashu/me/ui/settings/P2PKScreen.kt:67-76 \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 \u0060android/app/src/main/java/com/cashu/me/ui/settings/NwcSettingsScreen.kt:92\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":"android/app/src/main/java/com/cashu/me/ui/settings/NwcSettingsScreen.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6701d62ba6fe6072fa419afa4730d65c11e79994b2382288b536642d8f35c298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): android/app/src/main/java/com/cashu/me/ui/components/Buttons.kt:169-175 | android/app/src/main/java/com/cashu/me/ui/components/Buttons.kt:286-292 \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 \u0060android/app/src/main/java/com/cashu/me/ui/components/Buttons.kt:169\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":"android/app/src/main/java/com/cashu/me/ui/components/Buttons.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8176612ab5be6047c548f5344fea73ba501e17f81958da2f3c19c1c7d52e781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): .agents/skills/swiftui-expert-skill/scripts/instruments_parser/causes.py:64-71 | .agents/skills/swiftui-expert-skill/scripts/instruments_parser/causes.py:152-159 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":".agents/skills/swiftui-expert-skill/scripts/instruments_parser/causes.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c1cea0e4fce6cedca63a7fc70c954dc6810a2cda3d8f9dce4c26264d5acafa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): .agents/skills/wallet-ui-visual-review/scripts/validate_capture_manifest.py:663-670 | .agents/skills/wallet-ui-visual-review/scripts/validate_capture_manifest.py:740-747 \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 \u0060.agents/skills/wallet-ui-visual-review/scripts/validate_capture_manifest.py:663\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":".agents/skills/wallet-ui-visual-review/scripts/validate_capture_manifest.py"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a5a48187a9f1db8c946b931a1b2bb7634cd83905905af227c291ce216e2105"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): CI/mint-history-retry-proxy.py:65-71 | CI/receipt-recovery-proxy.py:59-65 \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":"CI/mint-history-retry-proxy.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5da64359b51d099db7db0a7ccfe673d6f76e2dff9391e59399174ddf4f5e303"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): .agents/skills/swiftui-expert-skill/scripts/instruments_parser/events.py:182-187 | .agents/skills/swiftui-expert-skill/scripts/instruments_parser/events.py:229-234 \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, \u0060.agents/skills/swiftui-expert-skill/scripts/instruments_parser/events.py:228\u0060 calls \u0060_str_of\u0060 and \u0060.agents/skills/swiftui-expert-skill/scripts/instruments_parser/events.py:181\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":".agents/skills/swiftui-expert-skill/scripts/instruments_parser/events.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5d157df5378fb373f7cd26414f0f2980f9f7b01923766157339888a4be30df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): .agents/skills/swiftui-expert-skill/scripts/instruments_parser/hitches.py:131-138 | .agents/skills/swiftui-expert-skill/scripts/instruments_parser/swiftui.py:176-183 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":".agents/skills/swiftui-expert-skill/scripts/instruments_parser/hitches.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b8740232cdadb5debf3ccd885c98539b02d190e36408525c81d54af9ed5f2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201327 lines \u00D7 2): ios/CashuWallet/Views/Components/ScannerWrapperView.swift:911-937 | ios/CashuWallet/Views/Send/SendView.swift:2854-2873 \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 \u0060ios/CashuWallet/Views/Components/ScannerWrapperView.swift:911\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. 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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"527a8a118d891a648b767283748ae58b935c8676524b18bf2ae1890c9da35172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201323 lines \u00D7 2): .agents/skills/cashu-promo-video/tool/capture/PromoTakes.swift:238-257 | .agents/skills/cashu-promo-video/tool/capture/PromoTakes.swift:377-399 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060.agents/skills/cashu-promo-video/tool/capture/PromoTakes.swift:237\u0060 calls \u0060mark\u0060 and \u0060.agents/skills/cashu-promo-video/tool/capture/PromoTakes.swift:376\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":".agents/skills/cashu-promo-video/tool/capture/PromoTakes.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"a030abd855b13e960c57181cfab030080a78ca82a2bb97d3c8c6ccb53ec78e76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): ios/CashuWallet/Views/Main/OnboardingView.swift:1984-2004 | ios/CashuWallet/Views/Settings/SettingsView.swift:918-940 \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 \u0060ios/CashuWallet/Views/Main/OnboardingView.swift:1984\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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"59281c723083cd00bebd0aa13894fce89d7367ffa7df22fc80d1fbfc134e73a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): ios/CashuWallet/Core/Wallet/WalletManager\u002BLifecycle.swift:1111-1131 | ios/CashuWallet/Core/Wallet/WalletManager\u002BLifecycle.swift:1153-1173 \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":"ios/CashuWallet/Core/Wallet/WalletManager\u002BLifecycle.swift"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d4152898121de918dab497212fc7037d12b7173cdd74feb556bc8b314f32f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): ios/CashuWallet/Views/Settings/SettingsView.swift:174-194 | ios/CashuWallet/Views/Settings/SettingsView.swift:251-271 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Settings/SettingsView.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e053c9a23f74b2d1d39cdeadaec2ef0d765ee730b0864cfc07845410c63e7e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): ios/CashuWallet/Views/Main/OnboardingView.swift:698-717 | ios/CashuWallet/Views/Main/OnboardingView.swift:750-769 \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 \u0060ios/CashuWallet/Views/Main/OnboardingView.swift:698\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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"9371648b5a295a651c69a1b94f6f400497b4099aeff3bdd0e15a57997564a7d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ios/CashuWallet/Views/Components/ScannerWrapperView.swift:1127-1144 | ios/CashuWallet/Views/Components/ScannerWrapperView.swift:1181-1198 \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 \u0060ios/CashuWallet/Views/Components/ScannerWrapperView.swift:1127\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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"909e050eaf2ce1af14801eceba8681a727fc199fb87ab81c3f768d83b53fec08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ios/CashuWallet/Views/History/TransactionDetailView.swift:234-250 | ios/CashuWallet/Views/Send/SendView.swift:679-695 \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 \u0060ios/CashuWallet/Views/History/TransactionDetailView.swift:234\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":"ios/CashuWallet/Views/History/TransactionDetailView.swift"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"417d23339c22e3e3c22d8b9b7ee76f9dd77fedae08a389e6d23759c0724a602f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): ios/CashuWallet/Views/Receive/ReceiveView.swift:122-136 | ios/CashuWallet/Views/Send/SendView.swift:1626-1642 \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 \u0060ios/CashuWallet/Views/Receive/ReceiveView.swift:122\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":"ios/CashuWallet/Views/Receive/ReceiveView.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ba81f4f3f95eeaef72c0ea510e3e5c01825d6300ad65bc9621928930852963"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ios/CashuWallet/Views/Settings/NostrSettingsSection.swift:137-153 | ios/CashuWallet/Views/Settings/P2PKSettingsSection.swift:155-171 \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 \u0060ios/CashuWallet/Views/Settings/NostrSettingsSection.swift:137\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":"ios/CashuWallet/Views/Settings/NostrSettingsSection.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d56deecdd2ba95e111190f603917136385a455358baeaffbaae47ef0d4f0c83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): ios/CashuWallet/Views/Receive/ReceiveLightningView.swift:1244-1257 | ios/CashuWallet/Views/Receive/ReceiveLightningView.swift:1318-1333 \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 \u0060ios/CashuWallet/Views/Receive/ReceiveLightningView.swift:1244\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":"ios/CashuWallet/Views/Receive/ReceiveLightningView.swift"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f667f68a0d7c4e5b38b48ae58b03ddedd4a6ba22435388fb5106addda4e2017"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ios/CashuWallet/Core/PaymentRequestDecoder.swift:397-411 | ios/CashuWallet/Core/Services/NFCPaymentService.swift:212-226 \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":"ios/CashuWallet/Core/PaymentRequestDecoder.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d8f3b2c5f10b1607a9af038ad185b6d185ee199f28b76865d997713bce54c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ios/CashuWallet/Views/Main/OnboardingView.swift:2126-2140 | ios/CashuWallet/Views/Settings/SettingsView.swift:1020-1034 \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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":2126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5cd5a6751fdec7b1ce9a738c1ea5476d122f4de3a9c1e8dc22e698d94379b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201314 lines \u00D7 3): ios/CashuWallet/Core/Wallet/WalletErrors.swift:308-317 | ios/CashuWallet/Core/Wallet/WalletErrors.swift:381-387 | ios/CashuWallet/Core/Wallet/WalletErrors.swift:403-416 \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, \u0060ios/CashuWallet/Core/Wallet/WalletErrors.swift:401\u0060 calls \u0060contains\u0060 and \u0060ios/CashuWallet/Core/Wallet/WalletErrors.swift:307\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":"ios/CashuWallet/Core/Wallet/WalletErrors.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"6529b6524545dbd0fbe1413b1b68dd6c788d432e8afb57d5995349fa0735bf24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ios/CashuWallet/Views/Components/ScannerWrapperView.swift:868-881 | ios/CashuWallet/Views/Send/SendView.swift:3036-3049 \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 \u0060ios/CashuWallet/Views/Components/ScannerWrapperView.swift:868\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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d75fc3fa7e6e88ae857d0fc216bef5c31928a5751ac1ca8198722030d949baf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ios/CashuWallet/Views/Components/ScannerWrapperView.swift:1255-1268 | ios/CashuWallet/Views/Send/SendView.swift:2898-2911 \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 \u0060ios/CashuWallet/Views/Components/ScannerWrapperView.swift:1255\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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"521b73e68630b3283747609e426497f10001b7a799cc3631861dac43abdbe3d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ios/CashuWallet/Views/Send/Components/ClipboardPaymentChip.swift:62-75 | ios/CashuWallet/Views/Send/SendView.swift:581-594 \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 \u0060ios/CashuWallet/Views/Send/Components/ClipboardPaymentChip.swift:62\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":"ios/CashuWallet/Views/Send/Components/ClipboardPaymentChip.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14436d0520135889b39ece59f9cdf025cc55922a8616dff669a7eda4c1469c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): .agents/skills/cashu-promo-video/tool/capture/PromoTakes.swift:266-278 | .agents/skills/cashu-promo-video/tool/capture/PromoTakes.swift:418-430 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060.agents/skills/cashu-promo-video/tool/capture/PromoTakes.swift:266\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":".agents/skills/cashu-promo-video/tool/capture/PromoTakes.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f10e195304470d2472299395c00ebf19aaffe10f5b6732908a66022a5fc445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ios/CashuWallet/Views/Send/SendView.swift:3449-3461 | ios/CashuWallet/Views/Send/SendView.swift:3578-3590 \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 \u0060ios/CashuWallet/Views/Send/SendView.swift:3449\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":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":3449}}}],"partialFingerprints":{"codehealthFindingId/v1":"84faaab5a3bc2c50429ee2aa00e22dc972189f1e176a81daa645655a9517b588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): ios/CashuWallet/Views/Settings/NWCSettingsSection.swift:70-81 | ios/CashuWallet/Views/Settings/P2PKSettingsSection.swift:518-530 \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 \u0060ios/CashuWallet/Views/Settings/NWCSettingsSection.swift:70\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":"ios/CashuWallet/Views/Settings/NWCSettingsSection.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c710e731ad619d902273dddb266c1235eab3aa8685556e3462db0f521dacb8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:171-180 | ios/CashuWallet/Views/Components/AsciiField.swift:274-285 \u2014 before extracting anything, compare \u0060.agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift\u0060 and \u0060ios/CashuWallet/Views/Components/AsciiField.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060.agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:171\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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03249a94c1c41999c66126990c2fef8c176c726f979f64199c464b6daaee6e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ios/CashuWallet/Views/History/TransactionDetailView.swift:479-490 | ios/CashuWallet/Views/Send/SendView.swift:1047-1058 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ios/CashuWallet/Views/Send/SendView.swift:1040\u0060 calls \u0060checkGeneratedTokenClaim\u0060, \u0060checkSentTokenClaim\u0060 and \u0060ios/CashuWallet/Views/History/TransactionDetailView.swift:476\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":"ios/CashuWallet/Views/History/TransactionDetailView.swift"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"c463ced39fe2d12cec3acd23235bc9daa26f0312dd73d8a7aa3e1d4ebcd0b7a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ios/CashuWallet/Views/Settings/NWCSettingsSection.swift:312-323 | ios/CashuWallet/Views/Settings/SettingsView.swift:1166-1177 \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 \u0060ios/CashuWallet/Views/Settings/NWCSettingsSection.swift:312\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":"ios/CashuWallet/Views/Settings/NWCSettingsSection.swift"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0207045c9b3f831439300da1aa1009715b0428e95074105cc89cc205ce673c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ios/CashuWallet/Views/Settings/P2PKSettingsSection.swift:97-108 | ios/CashuWallet/Views/Settings/P2PKSettingsSection.swift:421-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/CashuWallet/Views/Settings/P2PKSettingsSection.swift:97\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":"ios/CashuWallet/Views/Settings/P2PKSettingsSection.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d92281cdcc8065f8d4a09ec91eb331a01b78282c3c043dde0b5252c3699e233"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): ios/CashuWallet/Views/Settings/NWCSettingsSection.swift:194-204 | ios/CashuWallet/Views/Settings/NWCSettingsSection.swift:226-236 | ios/CashuWallet/Views/Settings/P2PKSettingsSection.swift:100-109 | ios/CashuWallet/Views/Settings/P2PKSettingsSection.swift:424-433 \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 \u0060ios/CashuWallet/Views/Settings/NWCSettingsSection.swift:194\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ios/CashuWallet/Views/Settings/NWCSettingsSection.swift:205\u0060 calls \u0060disabled\u0060 and \u0060ios/CashuWallet/Views/Settings/NWCSettingsSection.swift:237\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":"ios/CashuWallet/Views/Settings/NWCSettingsSection.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfa9157f01ebd73c3c078621274abd1892c10c4a178ba848c16ed61ac187584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): ios/CashuWallet/Views/Settings/P2PKSettingsSection.swift:101-111 | ios/CashuWallet/Views/Settings/P2PKSettingsSection.swift:425-435 | ios/CashuWallet/Views/Settings/SettingsView.swift:187-197 \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 \u0060ios/CashuWallet/Views/Settings/P2PKSettingsSection.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ios/CashuWallet/Views/Settings/P2PKSettingsSection.swift:100\u0060 calls \u0060Spacer\u0060 and \u0060ios/CashuWallet/Views/Settings/SettingsView.swift:185\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":"ios/CashuWallet/Views/Settings/P2PKSettingsSection.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bac95b3def8f0fb52feeb48db3083b2de035dbd31ef0540f8dde091edb377dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ios/CashuWallet/Core/Services/LightningService.swift:588-600 | ios/CashuWallet/Core/Services/LightningService.swift:628-640 \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 \u0060ios/CashuWallet/Core/Services/LightningService.swift:588\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":"ios/CashuWallet/Core/Services/LightningService.swift"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7f48bc75b53615665d33759edf30cdff7f56008de815ffc0ccfd1b51ce7ef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201311 lines \u00D7 2): ios/CashuWallet/Views/Components/MintPickerRow.swift:18-23 | ios/CashuWallet/Views/Mints/MintsListView.swift:123-133 \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 \u0060ios/CashuWallet/Views/Components/MintPickerRow.swift:18\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":"ios/CashuWallet/Views/Components/MintPickerRow.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fa8231efb272bf3aabeaf46d9ad1439a21ff3c59f43c3cc27fa3316eb7fb0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ios/CashuWallet/Views/Main/OnboardingView.swift:1620-1630 | ios/CashuWallet/Views/Settings/SettingsView.swift:645-655 \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 \u0060ios/CashuWallet/Views/Main/OnboardingView.swift:1620\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 \u006020\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ios/CashuWallet/Views/Main/OnboardingView.swift:1631\u0060 calls \u0060padding\u0060 and \u0060ios/CashuWallet/Views/Settings/SettingsView.swift:657\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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0c7f94c03448fe250e20c4fa5e6b8f803331f856620d5b2456337b93dcec14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ios/CashuWallet/Views/Settings/NostrSettingsSection.swift:495-505 | ios/CashuWallet/Views/Settings/P2PKSettingsSection.swift:389-399 \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":"ios/CashuWallet/Views/Settings/NostrSettingsSection.swift"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"faccdc36ee74813c9d92e9993c3f69b1d7df55508182682151fa897fd2b93d6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): ios/CashuWallet/Views/Main/OnboardingView.swift:2130-2139 | ios/CashuWallet/Views/Main/OnboardingView.swift:2144-2153 | ios/CashuWallet/Views/Settings/SettingsView.swift:1024-1033 | ios/CashuWallet/Views/Settings/SettingsView.swift:1038-1047 \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 \u0060ios/CashuWallet/Views/Main/OnboardingView.swift:2130\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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":2130}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1f8a736e27bc49e519dd0500f36a1e7b8d806a2bbf9e1f6b5d7ebfa1264540"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:152-159 | ios/CashuWallet/Views/Components/AsciiField.swift:249-258 \u2014 before extracting anything, compare \u0060.agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift\u0060 and \u0060ios/CashuWallet/Views/Components/AsciiField.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"748c0ce8b2c9f942c7004b66e59d50d19c8e86923327fa4b5c9a16498c41bf28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ios/CashuWallet/Views/Receive/ReceiveView.swift:75-84 | ios/CashuWallet/Views/Send/SendView.swift:1547-1556 \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 \u0060ios/CashuWallet/Views/Receive/ReceiveView.swift:75\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":"ios/CashuWallet/Views/Receive/ReceiveView.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f09e967f2d18be37e91e7d3c5bc92c00dc475561497ae7b034bb01165310571"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): ios/CashuWallet/Views/Settings/NWCSettingsSection.swift:24-32 | ios/CashuWallet/Views/Settings/P2PKSettingsSection.swift:54-62 | ios/CashuWallet/Views/Settings/SettingsView.swift:341-349 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/CashuWallet/Views/Settings/NWCSettingsSection.swift:24\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Settings/NWCSettingsSection.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"03db92a92a0c786ba39925086f98bdc5cea04d332581213f5c4f1a7093a9fd6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ios/CashuWallet/Core/LightningRequestParser.swift:11-19 | ios/CashuWallet/Models/Payments/PaymentRequestParser.swift:20-28 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"ios/CashuWallet/Core/LightningRequestParser.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"685f9c8e07fbfd47e609e7e4ca8e4b52375f5a115e3a2cb7a3235fa2c34c29bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ios/CashuWallet/Core/SettingsManager.swift:337-345 | ios/CashuWallet/Core/SettingsManager.swift:350-358 \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 \u0060ios/CashuWallet/Core/SettingsManager.swift:337\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":"ios/CashuWallet/Core/SettingsManager.swift"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a36b95f4340e3b6de971d22d729d51b96a4f8ca2231fb9d7c305836215d728"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ios/CashuWallet/Views/Components/ScannerWrapperView.swift:1242-1250 | ios/CashuWallet/Views/Send/SendView.swift:2885-2893 \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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a633ec6cef0253327ce9a810306e56de7dfd148202f8a24aec1edcf06b06c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ios/CashuWallet/Views/History/HistoryView.swift:290-298 | ios/CashuWallet/Views/Main/MainWalletView.swift:664-672 \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":"ios/CashuWallet/Views/History/HistoryView.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fa8cb4d03c05e62a753e94eb916e795d396f23e90111b80c59c2ef8b2f2805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ios/CashuWallet/Views/Main/OnboardingView.swift:1871-1879 | ios/CashuWallet/Views/Settings/SettingsView.swift:820-828 \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 \u0060ios/CashuWallet/Views/Main/OnboardingView.swift:1871\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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":1871}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f217af5b52936c426b4adc962bd3b76fb31909d0846c34172cf57700b44774"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ios/CashuWallet/Views/Settings/LightningAddressSettingsSection.swift:204-212 | ios/CashuWallet/Views/Settings/NWCSettingsSection.swift:228-236 \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 \u0060ios/CashuWallet/Views/Settings/LightningAddressSettingsSection.swift:204\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Settings/LightningAddressSettingsSection.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"55046fd5bd0dac693990662a274388e761cc83bdec41bd5d076cc7c3623c88b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): .agents/skills/cashu-promo-video/tool/Sources/Promo/FieldPainter.swift:137-144 | ios/CashuWallet/Views/Components/AsciiField.swift:919-926 \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 \u0060.agents/skills/cashu-promo-video/tool/Sources/Promo/FieldPainter.swift:137\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":".agents/skills/cashu-promo-video/tool/Sources/Promo/FieldPainter.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ecd90efd74d3dd4fbb2ce40650933a65f984cb6e8a2ddfd7a5780e940468dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ios/CashuWallet/Views/Components/ScannerWrapperView.swift:1074-1083 | ios/CashuWallet/Views/Send/SendView.swift:2787-2794 \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 \u0060ios/CashuWallet/Views/Components/ScannerWrapperView.swift:1074\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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a52544f450a463513adf3076e1e4cea8e48205b9be32a2f39e7dff436f791b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:200-206 | ios/CashuWallet/Views/Components/AsciiField.swift:337-343 \u2014 before extracting anything, compare \u0060.agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift\u0060 and \u0060ios/CashuWallet/Views/Components/AsciiField.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f19b02c200609bf4ca4468d4bf9c7ca477f42820c82ef62c2a58cf7389972d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): .agents/skills/cashu-promo-video/tool/Sources/Promo/Films.swift:18-26 | .agents/skills/cashu-promo-video/tool/Sources/Promo/Films.swift:47-55 \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 \u0060.agents/skills/cashu-promo-video/tool/Sources/Promo/Films.swift:18\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060.agents/skills/cashu-promo-video/tool/Sources/Promo/Films.swift:56\u0060 calls \u0060L\u0060 and \u0060.agents/skills/cashu-promo-video/tool/Sources/Promo/Films.swift:27\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":".agents/skills/cashu-promo-video/tool/Sources/Promo/Films.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4246cb540b19a6ad12b472179d3bd2a32604ad27da8a497e5a38b8ee0abbc5de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): .agents/skills/cashu-promo-video/tool/capture/PromoTakes.swift:234-240 | .agents/skills/cashu-promo-video/tool/capture/PromoTakes.swift:284-290 \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":".agents/skills/cashu-promo-video/tool/capture/PromoTakes.swift"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e01ed14db6c7b6572685e73898b2032639961111cd84e55f3c125170e486d22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ios/CashuWallet/Views/Main/OnboardingView.swift:683-689 | ios/CashuWallet/Views/Main/OnboardingView.swift:916-922 \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 \u0060ios/CashuWallet/Views/Main/OnboardingView.swift:683\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, \u0060ios/CashuWallet/Views/Main/OnboardingView.swift:690\u0060 calls \u0060animation\u0060 and \u0060ios/CashuWallet/Views/Main/OnboardingView.swift:923\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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7794d0c9fa29ec95b20feb738dfaa2824e981d1f3ea30de9d61c7f07fa6d40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): ios/CashuWallet/Views/Main/OnboardingView.swift:1913-1920 | ios/CashuWallet/Views/Mints/ConnectMintView.swift:223-228 | ios/CashuWallet/Views/Settings/SettingsView.swift:1085-1094 \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. 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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":1913}}}],"partialFingerprints":{"codehealthFindingId/v1":"4428d28a978088066c473d87615f75022a5acb1661e89059d0db59d4cc40e136"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ios/CashuWallet/Core/CashuRequestListener.swift:704-709 | ios/CashuWallet/Core/CashuRequestListener.swift:758-763 \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 \u0060ios/CashuWallet/Core/CashuRequestListener.swift:704\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":"ios/CashuWallet/Core/CashuRequestListener.swift"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fe92f511ebf56e5661b06014b6b52bc33bb9f3351de7b703c2f7bc3a8a3862"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ios/CashuWallet/Views/Components/RestoreFlowState.swift:51-57 | ios/CashuWallet/Views/Mints/AddMintSheet.swift:177-182 \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":"ios/CashuWallet/Views/Components/RestoreFlowState.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e7320bbc937d2e913e589c9be0b459170459703944342f69c9554b175ca5ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ios/CashuWallet/Views/Main/OnboardingView.swift:1859-1864 | ios/CashuWallet/Views/Settings/SettingsView.swift:805-810 \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 \u0060ios/CashuWallet/Views/Main/OnboardingView.swift:1859\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, \u0060ios/CashuWallet/Views/Main/OnboardingView.swift:1865\u0060 calls \u0060frame\u0060, \u0060padding\u0060 and \u0060ios/CashuWallet/Views/Settings/SettingsView.swift:811\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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d956f5079ca64f26346254a55ad72eeac0ae664237dcd638ebf54e6a65770b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): ios/CashuWallet/Core/Services/LightningService.swift:563-568 | ios/CashuWallet/Core/Services/LightningService.swift:597-601 | ios/CashuWallet/Core/Services/LightningService.swift:637-641 \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 \u0060ios/CashuWallet/Core/Services/LightningService.swift:563\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":"ios/CashuWallet/Core/Services/LightningService.swift"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"e858a5e4de8ef0a29d32ac848a2de28e0da359c2dd5a0e7f08af2f34cf2f5f31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:50-56 | ios/CashuWallet/Views/Components/AsciiField.swift:70-76 \u2014 before extracting anything, compare \u0060.agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift\u0060 and \u0060ios/CashuWallet/Views/Components/AsciiField.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060.agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.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. 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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ababb38de3c48f557d942afb7fe048ca9862b943865c1a5a50e3c2939a63f79b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:82-88 | ios/CashuWallet/Views/Components/AsciiField.swift:129-135 \u2014 before extracting anything, compare \u0060.agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift\u0060 and \u0060ios/CashuWallet/Views/Components/AsciiField.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f742490d52b6775d70e7ff7d7cc81ecbcbe51a6f583fe5af01b9f1eb69b89a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): .agents/skills/cashu-promo-video/tool/Sources/Promo/Analyze.swift:148-154 | .agents/skills/cashu-promo-video/tool/Sources/Promo/Analyze.swift:182-188 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/cashu-promo-video/tool/Sources/Promo/Analyze.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b872e582cf5c6efe3b33db917cea0e7a157292357f2a523981280cfd2d3544cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): .agents/skills/cashu-promo-video/tool/Sources/Promo/Films.swift:14-20 | .agents/skills/cashu-promo-video/tool/Sources/Promo/Films.swift:36-40 \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 \u0060.agents/skills/cashu-promo-video/tool/Sources/Promo/Films.swift:14\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":".agents/skills/cashu-promo-video/tool/Sources/Promo/Films.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3de38ef34f6703bec5b7beb12dd19fc8bf9cac72520b458134d2795b62eb6b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ios/CashuWallet/Views/Main/OnboardingView.swift:1637-1641 | ios/CashuWallet/Views/Settings/SettingsView.swift:661-665 \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 \u0060ios/CashuWallet/Views/Main/OnboardingView.swift:1637\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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":1637}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ef401674b816f0a21d4f0dde849010454c2a0567fca757c36dc8c4efb25e20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:208-212 | ios/CashuWallet/Views/Components/AsciiField.swift:349-353 \u2014 before extracting anything, compare \u0060.agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift\u0060 and \u0060ios/CashuWallet/Views/Components/AsciiField.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab3ba38e9bfbeff5d21ee8705ce150b680825a8eedd69297dca22e64bc02f60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ios/CashuWallet/Views/Components/ScannerWrapperView.swift:1051-1058 | ios/CashuWallet/Views/Send/SendView.swift:2776-2781 \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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"755761ea0aad5c8bd610dc4e937961b06477cac10f30df947a2153ad0f2e0738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ios/CashuWallet/Views/Main/OnboardingView.swift:1539-1543 | ios/CashuWallet/Views/Settings/SettingsView.swift:863-867 \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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"4262f87283e3c45a52870cfb147c51df48d42ae47f283cc629190f2c0d383d07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ios/CashuWallet/Views/Main/OnboardingView.swift:1806-1811 | ios/CashuWallet/Views/Settings/SettingsView.swift:757-762 \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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":1806}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ec0f532490ac44c45052f13a3d25078dee8e2a3bd50282afc3d444f82d06d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ios/CashuWallet/Views/Main/OnboardingView.swift:1813-1820 | ios/CashuWallet/Views/Settings/SettingsView.swift:764-771 \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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"682a064602f820d1a8b42bef080173896268573be0aea290075a53c8b7aef964"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ios/CashuWallet/Views/Main/OnboardingView.swift:1823-1828 | ios/CashuWallet/Views/Settings/SettingsView.swift:774-779 \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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":1823}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda77fa47bf488287f1758741614b45226b479f20ed46e133bab412d21eaecdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ios/CashuWallet/Views/Main/OnboardingView.swift:1973-1979 | ios/CashuWallet/Views/Settings/SettingsView.swift:907-913 \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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59fc767e3fd8864c484b1f958f90148f458d207e7878f8a476e193a2aae35f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ios/CashuWallet/Views/Receive/ReceiveTokenDetailView.swift:381-388 | ios/CashuWallet/Views/Send/SendView.swift:798-805 \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":"ios/CashuWallet/Views/Receive/ReceiveTokenDetailView.swift"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"55339bb6ec2df409751b22e89b72cc0c0a87b03a9e254736be9d770386d28533"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ios/CashuWallet/Views/Receive/CashuRequestDetailView.swift:357-361 | ios/CashuWallet/Views/Settings/NostrSettingsSection.swift:387-391 \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":"ios/CashuWallet/Views/Receive/CashuRequestDetailView.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"9183fd1002497a8d999a40f93a4ff459b9928fb313f22eb6f4dd7a93ca93bf26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ios/CashuWallet/Views/Settings/LightningAddressSettingsSection.swift:289-293 | ios/CashuWallet/Views/Settings/ThemeSettingsSection.swift:228-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Settings/LightningAddressSettingsSection.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfb7935df0cc2e06c91bd1d8b49fe86647d91d24e4ae6ac53fad0dde3c8b727"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift:31-36 | ios/CashuWallet/Views/Components/AsciiField.swift:48-53 \u2014 before extracting anything, compare \u0060.agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift\u0060 and \u0060ios/CashuWallet/Views/Components/AsciiField.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"54332b345098e0f47e95500bbdcd382779b993a6ac9eebe5010839729a227a9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ios/CashuWallet/Views/Main/OnboardingView.swift:2103-2110 | ios/CashuWallet/Views/Settings/SettingsView.swift:1001-1008 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ios/CashuWallet/Views/Main/OnboardingView.swift:2112\u0060 calls \u0060normalizedMintURL\u0060 and \u0060ios/CashuWallet/Views/Settings/SettingsView.swift:1012\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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":2103}}}],"partialFingerprints":{"codehealthFindingId/v1":"504ccb95a5c01cd50a2ecb301e057328e4c044adeb34ac3f79a3a160ac6bbdbf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt: android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 106 in UnifiedSendScreenKt.UnifiedSendScreen at line 203. 4 of those changes were fix/bug commits, and the other 17 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.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":"android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f012dd0d5affbefb55d94e1fe031c7749dbaa74d0084a4c18be646a77beed33"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/java/com/cashu/me/ui/receive/ReceiveLightningScreen.kt: android/app/src/main/java/com/cashu/me/ui/receive/ReceiveLightningScreen.kt changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 143 in ReceiveLightningScreenKt.ReceiveLightningScreen at line 208. 2 of those changes were fix/bug commits, 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/java/com/cashu/me/ui/receive/ReceiveLightningScreen.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":"android/app/src/main/java/com/cashu/me/ui/receive/ReceiveLightningScreen.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb3f4d517dcda67a20c1794abc4dd59f40f3c36e37c9939da10d57b502ba402"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/CashuWallet/Core/Wallet/WalletErrors.swift: ios/CashuWallet/Core/Wallet/WalletErrors.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 114 in WalletErrorMessage.classified at line 236. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- ios/CashuWallet/Core/Wallet/WalletErrors.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":"ios/CashuWallet/Core/Wallet/WalletErrors.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c5af0124797e67992f151682a10999407f49e4eb8dc8083fb489382edfdf6b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/java/com/cashu/me/ui/shell/CashuApp.kt: android/app/src/main/java/com/cashu/me/ui/shell/CashuApp.kt changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in CashuAppKt.AuthenticatedShell at line 320. 1 of those changes was a fix/bug commit, and the other 13 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/java/com/cashu/me/ui/shell/CashuApp.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":"android/app/src/main/java/com/cashu/me/ui/shell/CashuApp.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e95f7c1b91992088706a627b4de7599bb4e73db6cf99d3f809715f657daff9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/CashuWallet/Views/Send/SendView.swift: ios/CashuWallet/Views/Send/SendView.swift changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in UnifiedSendView.body at line 1363. 4 of those changes were fix/bug commits, and the other 15 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- ios/CashuWallet/Views/Send/SendView.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":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a589b37ace5b5017e4f16b706b5476fa6410e0b6a488efae237329f1a093ff0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/java/com/cashu/me/Core/Wallet/WalletMessages.kt: android/app/src/main/java/com/cashu/me/Core/Wallet/WalletMessages.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in WalletErrorMessages.classifyRawMessage at line 132. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/java/com/cashu/me/Core/Wallet/WalletMessages.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":"android/app/src/main/java/com/cashu/me/Core/Wallet/WalletMessages.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"778f910d0dadfa6140309765b66c75c8fc3194e776dbfcd0eb747f93e8347f44"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/java/com/cashu/me/ui/receive/CashuRequestDetailScreen.kt: android/app/src/main/java/com/cashu/me/ui/receive/CashuRequestDetailScreen.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in CashuRequestDetailScreenKt.CashuRequestDetailScreen at line 107. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/java/com/cashu/me/ui/receive/CashuRequestDetailScreen.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":"android/app/src/main/java/com/cashu/me/ui/receive/CashuRequestDetailScreen.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"605ae684949b7f5c11061c92059f1ef121b11b7ffab41eb4de0ae3b373cca45b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/java/com/cashu/me/ui/history/TransactionDetailScreen.kt: android/app/src/main/java/com/cashu/me/ui/history/TransactionDetailScreen.kt changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in TransactionDetailScreenKt.TransactionReceiptSheet at line 107. 4 of those changes were fix/bug commits, 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/java/com/cashu/me/ui/history/TransactionDetailScreen.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":"android/app/src/main/java/com/cashu/me/ui/history/TransactionDetailScreen.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7862bb0e1c9f945ae386ed8ebb1175055fe31322f502e5f8fc48ddd1d4c34a40"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/java/com/cashu/me/ui/send/SendEcashScreen.kt: android/app/src/main/java/com/cashu/me/ui/send/SendEcashScreen.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in SendEcashScreenKt.SendEcashScreen at line 204. 2 of those changes were fix/bug commits, and the other 9 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/java/com/cashu/me/ui/send/SendEcashScreen.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":"android/app/src/main/java/com/cashu/me/ui/send/SendEcashScreen.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2ad2e61213b78dea09f47370b4066a1f2b717b42a8b8f6f913770c6c0841a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/java/com/cashu/me/ui/components/PaymentStatusScreen.kt: android/app/src/main/java/com/cashu/me/ui/components/PaymentStatusScreen.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in PaymentStatusScreenKt.PaymentStatusScreen at line 96. 1 of those changes was a fix/bug commit, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/java/com/cashu/me/ui/components/PaymentStatusScreen.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":"android/app/src/main/java/com/cashu/me/ui/components/PaymentStatusScreen.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7738b71d64c2e40b5b8e2049c3b5fffc0f95b8343b595b9e429d6f0775b0126"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/CashuWallet/Core/Services/LightningService.swift: ios/CashuWallet/Core/Services/LightningService.swift changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in LightningService.meltTokens at line 916. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- ios/CashuWallet/Core/Services/LightningService.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":"ios/CashuWallet/Core/Services/LightningService.swift"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d39128496d11b51c5d7bfbf7b78763885613e85f8ee57ec5c7cff035294411"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/CashuWallet/Core/Services/TransactionService.swift: ios/CashuWallet/Core/Services/TransactionService.swift changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in TransactionService.pendingTransactions at line 374. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- ios/CashuWallet/Core/Services/TransactionService.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":"ios/CashuWallet/Core/Services/TransactionService.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78281bc1f9d6c88d541e8f3fc09be014b44239ef044a3dcca7ef9a1442df9be"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/CashuWallet/Views/Receive/ReceiveLightningView.swift: ios/CashuWallet/Views/Receive/ReceiveLightningView.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in ReceiveLightningView.body at line 110. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- ios/CashuWallet/Views/Receive/ReceiveLightningView.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":"ios/CashuWallet/Views/Receive/ReceiveLightningView.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa441b4a79f205c4d5b800a88a6b466a7b363429d51e25503b9b1dea7772008"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/java/com/cashu/me/ui/onboarding/OnboardingScreen.kt: android/app/src/main/java/com/cashu/me/ui/onboarding/OnboardingScreen.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in OnboardingScreenKt.OnboardingScreen at line 240. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/java/com/cashu/me/ui/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":"android/app/src/main/java/com/cashu/me/ui/onboarding/OnboardingScreen.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9e93ae28e0b727f8e2a48da00207511032451ff3ce66baaf7860ec1b06d112"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/java/com/cashu/me/ui/history/HistoryScreen.kt: android/app/src/main/java/com/cashu/me/ui/history/HistoryScreen.kt changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in HistoryScreenKt.HistoryScreen at line 94. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/java/com/cashu/me/ui/history/HistoryScreen.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":"android/app/src/main/java/com/cashu/me/ui/history/HistoryScreen.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a0a47fe46b2c00c753c668ab99dd2e834229a0e9558b79096e4ac5c90a7b91"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/CashuWallet/Views/History/TransactionDetailView.swift: ios/CashuWallet/Views/History/TransactionDetailView.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in TransactionDetailView.receiptDetails at line 180. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- ios/CashuWallet/Views/History/TransactionDetailView.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":"ios/CashuWallet/Views/History/TransactionDetailView.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afdb98380c68ae4ad3c68cb599d46b1a39fa6dda83de21a2b7601dcf340f531"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/java/com/cashu/me/ui/mints/MintDetailScreen.kt: android/app/src/main/java/com/cashu/me/ui/mints/MintDetailScreen.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in MintDetailScreenKt.MintDetailScreen at line 106. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/java/com/cashu/me/ui/mints/MintDetailScreen.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":"android/app/src/main/java/com/cashu/me/ui/mints/MintDetailScreen.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa8e98e5fc9903ba3187e7d87e23108b79bee3da887f9cc34ed002476e04dcd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/java/com/cashu/me/Core/Wallet/WalletTransactionLoader.kt: android/app/src/main/java/com/cashu/me/Core/Wallet/WalletTransactionLoader.kt changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in WalletTransactionLoader.load at line 58. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/java/com/cashu/me/Core/Wallet/WalletTransactionLoader.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":"android/app/src/main/java/com/cashu/me/Core/Wallet/WalletTransactionLoader.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7eab8d54e3a3a8614569c53572101593c057abb3fe24c1380c334b7b88d42a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/CashuWallet/Views/Components/LiquidGlassModifiers.swift: ios/CashuWallet/Views/Components/LiquidGlassModifiers.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in FullWidthCapsuleButtonStyle.makeBody at line 903. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- ios/CashuWallet/Views/Components/LiquidGlassModifiers.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":"ios/CashuWallet/Views/Components/LiquidGlassModifiers.swift"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d066f5508ca00bd2ba4a532dbf2e3cc4d1060a52f01933e7d3e8aa7eaaf794"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/CashuWallet/Views/Send/Components/AuthorizingOverlay.swift: ios/CashuWallet/Views/Send/Components/AuthorizingOverlay.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in PaymentStatusView.iconSlot at line 313. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- ios/CashuWallet/Views/Send/Components/AuthorizingOverlay.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":"ios/CashuWallet/Views/Send/Components/AuthorizingOverlay.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6e209e06532418fc543dbda7de84631463214fa8c0d44b4bdfe25ed1d981b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/CashuWallet/Views/Components/ScannerWrapperView.swift: ios/CashuWallet/Views/Components/ScannerWrapperView.swift changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in CashuPaymentRequestPayView.body at line 477. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- ios/CashuWallet/Views/Components/ScannerWrapperView.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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c9bf59dd4e59f85e4529f1d75a658fa4f6229abd550605e412ebf2b4a95f62"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/CashuWallet/Views/Main/OnboardingView.swift: ios/CashuWallet/Views/Main/OnboardingView.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in OnboardingView.chassisModel at line 431. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- ios/CashuWallet/Views/Main/OnboardingView.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":"ios/CashuWallet/Views/Main/OnboardingView.swift"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbddeb0918d4b5bba4acd1330388c9028f5aa032e79c34ad01bf2005e494eed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/java/com/cashu/me/ui/mints/MintTransferScreen.kt: android/app/src/main/java/com/cashu/me/ui/mints/MintTransferScreen.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in MintTransferScreenKt.MintTransferScreen at line 171. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/java/com/cashu/me/ui/mints/MintTransferScreen.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":"android/app/src/main/java/com/cashu/me/ui/mints/MintTransferScreen.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1438a88f7e71c12a774c5dc4c4993a01ea17a884e9e11f92fb957945a945d9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/CashuWallet/Core/NPCService.swift: ios/CashuWallet/Core/NPCService.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in NPCService.checkAndClaimPayments at line 321. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- ios/CashuWallet/Core/NPCService.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":"ios/CashuWallet/Core/NPCService.swift"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"d960f8676bd301fee23d62e99113acd9582ab818147f81d7e0b8863749e02005"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/CashuWallet/Views/Receive/ReceiveTokenDetailView.swift: ios/CashuWallet/Views/Receive/ReceiveTokenDetailView.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ReceiveTokenDetailView.confirmContent at line 184. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- ios/CashuWallet/Views/Receive/ReceiveTokenDetailView.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":"ios/CashuWallet/Views/Receive/ReceiveTokenDetailView.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c75281751cd3d21278c2ef922fe5123673e147ab149d5fbe15ebdff12ea7d9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/CashuWallet/Views/Settings/LightningAddressSettingsSection.swift: ios/CashuWallet/Views/Settings/LightningAddressSettingsSection.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in LightningAddressSettingsSection.body at line 16. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- ios/CashuWallet/Views/Settings/LightningAddressSettingsSection.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":"ios/CashuWallet/Views/Settings/LightningAddressSettingsSection.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df035658cc26ac693bc37c05d91be9ba022b24bd50b8f1d67f50f9111ab1da4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/CashuWallet/Core/Wallet/WalletManager\u002BMintQuoteSync.swift: ios/CashuWallet/Core/Wallet/WalletManager\u002BMintQuoteSync.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in WalletManager.mintUnissuedQuotesAcrossWallets at line 144. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- ios/CashuWallet/Core/Wallet/WalletManager\u002BMintQuoteSync.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":"ios/CashuWallet/Core/Wallet/WalletManager\u002BMintQuoteSync.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b388f47c01874abc3e29f720a74af3f29870ca30f46508d1392006dd24754e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/java/com/cashu/me/ui/settings/NostrScreen.kt: android/app/src/main/java/com/cashu/me/ui/settings/NostrScreen.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in NostrScreenKt.NostrScreen at line 111. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/java/com/cashu/me/ui/settings/NostrScreen.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":"android/app/src/main/java/com/cashu/me/ui/settings/NostrScreen.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde5b5b0f0c6150fd9aa79fcf0ff23cc11b6c1980d38f35a9466b4ad0b695e73"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/java/com/cashu/me/ui/settings/P2PKComponents.kt: android/app/src/main/java/com/cashu/me/ui/settings/P2PKComponents.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in P2PKComponentsKt.KeyCard at line 162. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/java/com/cashu/me/ui/settings/P2PKComponents.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":"android/app/src/main/java/com/cashu/me/ui/settings/P2PKComponents.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"515f4bd79b3f04cae5a958183ecf7a1c714a9dc54f0338bfe4e7115977b789fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/java/com/cashu/me/Views/Send/ContactlessPayView.kt: android/app/src/main/java/com/cashu/me/Views/Send/ContactlessPayView.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ContactlessPayViewKt.ContactlessPayView at line 83. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/java/com/cashu/me/Views/Send/ContactlessPayView.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":"android/app/src/main/java/com/cashu/me/Views/Send/ContactlessPayView.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a8ddfdec57951e09c6c3e28116eaa2784e2c28a3135cc4491a77675916f3af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ios/CashuWallet/Core/NWCManager.swift: ios/CashuWallet/Core/NWCManager.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in NWCManager.startService at line 136. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- ios/CashuWallet/Core/NWCManager.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":"ios/CashuWallet/Core/NWCManager.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f0d713cd6327c2d5c625fff4eda8962909ffe8447213a05cdcdf88c59cea7b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/java/com/cashu/me/Core/PendingMintQuoteTransactions.kt: android/app/src/main/java/com/cashu/me/Core/PendingMintQuoteTransactions.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in PendingMintQuoteTransactionsKt.pendingMintQuoteTransactions at line 13. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/java/com/cashu/me/Core/PendingMintQuoteTransactions.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":"android/app/src/main/java/com/cashu/me/Core/PendingMintQuoteTransactions.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"22628ea561ef4e859a0e45790170db9f89c5f33373dd47dbba1e18d55df381f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/java/com/cashu/me/ui/components/EmptyState.kt: android/app/src/main/java/com/cashu/me/ui/components/EmptyState.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in EmptyStateKt.EmptyState at line 76. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 08:09:20 \u002B01:00\u0027 --until=\u00272026-11-17 08:09:20 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/java/com/cashu/me/ui/components/EmptyState.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":"android/app/src/main/java/com/cashu/me/ui/components/EmptyState.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"beec3b64d726c508bf288afae4bb31782c0eef417b679e00e77df80f573287a4"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 21 significant file(s) lose their only recent owner: android/app/src/main/java/com/cashu/me/Core/NPCService.kt, ios/CashuWallet/Core/Wallet/WalletOperationCoordinator.swift, android/app/src/main/java/com/cashu/me/Core/Platform/WalletDatabasePathManager.kt, ios/CashuWallet/Core/Wallet/WalletManager\u002BCashuPaymentRequests.swift, ios/CashuWallet/Core/Services/TokenService.swift, ios/CashuWallet/Core/NostrService.swift, android/app/src/main/java/com/cashu/me/ui/send/SendPaymentDetails.kt, ios/CashuWallet/Views/Settings/RecoverDepositView.swift (\u002B13 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d94b594d547b4cc56f1cb6dc47f3b0399db702633f8ccb5c5befe51e7fdfba36"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 11 significant file(s) lose their only recent owner: android/app/src/main/java/com/cashu/me/ui/mints/ConnectMintSheetContent.kt, ios/CashuWallet/Views/Mints/ConnectMintView.swift, ios/CashuWallet/DesignSystem/AmountLockup.swift, ios/CashuWallet/DesignSystem/CashuTypography.swift, android/app/src/main/java/com/cashu/me/ui/theme/CashuFonts.kt, android/app/src/main/java/com/cashu/me/ui/components/AmountHero.kt, android/app/src/main/java/com/cashu/me/ui/theme/Color.kt, android/app/src/main/java/com/cashu/me/ui/components/CashuModalBottomSheet.kt (\u002B3 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0d7baf09210023c9103e789197721d12ad177cc5806386a23773c54852acef01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(runtime-parity): Keep this storage-only until Swift wires matching startup processors. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/SettingsManager.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d8ddcb2d056dc94f4b09e21d9c2eaeb3925c197aa2ad84167e8f046213411f"}},{"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 \u0060ios/CashuWallet.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"946363f414c44ee0cfed655a3be4bc9cc010935ce1a05360f970d1c2eac2c272"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060quoteID\u0060 spells \u0060ID\u0060 where 135 names in the project spell it \u0060Id\u0060: 135 of 138 names in project app spell the token \u0060Id\u0060 (135 of 138; unit: names in project app containing \u0060Id\u0060). Peers: CdkWalletGateway.checkMintQuote(quoteId) (android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGateway.kt:52); CdkWalletGateway.storedMintQuote(quoteId) (android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGateway.kt:59); CdkWalletGateway.subscribeToMintQuote(quoteId) (android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGateway.kt:63); CdkWalletGateway.mintTokens(quoteId) (android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGateway.kt:65); CdkWalletGateway.meltTokens(quoteId) (android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGateway.kt:69). Rename to \u0060quoteId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/Wallet/WalletManager.kt"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47b9fb496f909a0ddbae1b1c053136a98b2f05b8956b0154b6547ee6387d7c4"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060quoteID\u0060 spells \u0060ID\u0060 where 135 names in the project spell it \u0060Id\u0060: 135 of 138 names in project app spell the token \u0060Id\u0060 (135 of 138; unit: names in project app containing \u0060Id\u0060). Peers: CdkWalletGateway.checkMintQuote(quoteId) (android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGateway.kt:52); CdkWalletGateway.storedMintQuote(quoteId) (android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGateway.kt:59); CdkWalletGateway.subscribeToMintQuote(quoteId) (android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGateway.kt:63); CdkWalletGateway.mintTokens(quoteId) (android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGateway.kt:65); CdkWalletGateway.meltTokens(quoteId) (android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGateway.kt:69). Rename to \u0060quoteId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/Wallet/WalletManager.kt"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3a083887b0e01caefe4843b526da8ebfbd1ca286fecfa54642ca62278b775a"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060requestID\u0060 spells \u0060ID\u0060 where 135 names in the project spell it \u0060Id\u0060: 135 of 138 names in project app spell the token \u0060Id\u0060 (135 of 138; unit: names in project app containing \u0060Id\u0060). Peers: CdkWalletGateway.checkMintQuote(quoteId) (android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGateway.kt:52); CdkWalletGateway.storedMintQuote(quoteId) (android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGateway.kt:59); CdkWalletGateway.subscribeToMintQuote(quoteId) (android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGateway.kt:63); CdkWalletGateway.mintTokens(quoteId) (android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGateway.kt:65); CdkWalletGateway.meltTokens(quoteId) (android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGateway.kt:69). Rename to \u0060requestId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/mints/MintDetailInfoLoader.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"50315a8c4aec12290848c373c99d1905d5ef4a7112ff04dc9e60d7663008cc0c"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060android/app\u0060 (53812 LoC, 1034 module-visible types across 35 directories) overshoots its size bounds. 2 of 4 build unit(s) (Gradle, SwiftPM, checkout) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ded88f0fae228fc99fab396cecc45e2ee23bf5fad755a3976ca1fd14e903a1"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060ios\u0060 (48907 LoC, 532 module-visible types across 24 directories) overshoots its size bounds. 2 of 4 build unit(s) (Gradle, SwiftPM, checkout) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Package.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e5959033fafb3fda5909d0d6f41b9ac97039e4f8e5104285ce69bdcfdf9025"}},{"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":"391c238745827541c5fdf7fc23c5a9faafe5339ca5e31269158b67ca8a759126"},"properties":{"commitSha":"6c4983e8b37e70dcb5eb2e587347536c41643ac9"}},{"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":"4a6683de247d554f46a86d5f58f4b36c3093d1079a6ee1348fea7f26926021c9"},"properties":{"commitSha":"7af651f94015d5a3c0b6ccff17fcbfceeeca2096"}},{"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":"05c8e4b75c3e45bac89dac1677f0a78741ea70c8591e115cfe32075c726dd4f5"},"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":"58f3cede3eed9262554340e0400a477fdf949da6d5731a156fb601e1dd874cb0"},"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":"201932c701974be9a90359e7242d6fb68a7e96c82107542f9328378122dd7090"},"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":"3669632de0749d95d348770bbb0a3c72ed11486577ac0b2f5c5954f1c681f4d1"},"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":"3eb22b75f87f5851b5cdeafc50a01c2586347b66732e7ac667ad34cb6b314798"},"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":"b7ff50a6feadf6a7d60f023a91ac27581e68f33d02b39c7055d983f0358ab193"},"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":"4c2406c64c0382b16084d512c573b0876892f7c5a1216fef1febe4c94e9ee775"},"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":"e0326bc05e1edb82882a04ac55b0315e4a1f53a88e258ebbded9fdd5a3349b7b"},"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":"2fae39de1cf0cea0cdb3a1e88de24c55d3aa7fce894f1085736724331ce20446"},"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":"703f0e92bf5280971a8613b7828035191d59036d03be10d4d97004abc7ce9fbd"},"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":"3a9b4895d35ca9e06ecaea7e11b331ef8bb62b63d4c5ec9f6df2f1b7d0140785"},"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":"e9077873ff398566cd65991c396a314007662551accd6083d104b2be05055be4"},"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":"18c1c42e0e739b890959f4aadec70a5500b333b966e51301f035cdfa3dd57ced"},"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":"1e94d083284acb0f3d82eae26ac4db95444ef69f069baee5780e83cbdaebbecd"},"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":"dc3abf628862a66904d3d248c548c0d050fb9609edf187e7d532c0d291562ea5"},"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":"07a4e86c9db2ff549f396ab15c897aae3a324f771d2c6a1ebbfc22f7770d4807"},"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":"5076ad1650629ff8107969b1a77144b8c7b947717484561cf0e497241fe401c5"},"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":"0d92b66aff5d1166652a241ab5971a1e19c75128dfba952c6e52838af8cda1a1"},"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":"1810b58e11da861c9d9b453ba78485f0f40c66f8ca3930e876fd36ca540484a0"},"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":"e0282d30fb9b72630a88c8ab6941c2e119c813732ebd8fe068f63ce2b856ba29"},"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":"eba42cb1996f16308c9a04b76e84233db8a24ffe05d2ce9d6f238ccf4f33f302"},"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":"ef33b5af8ad7e7f3fac6d461397c96b5ccd088b7f844e989f3e0988b89f66c51"},"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":"25fd3618e1d43dcb86cbcb95f9cfd33b018dae15c3aa5f797c2c875a3fef7c68"},"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":"a208882e86534f755870601bf57b0998a6f7560764c5854ce1bd8a36bdeeab8b"},"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":"d4c5fe93f527a892a6d4f7c80f9327d2739d63594949b162fd3c403289198d52"},"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":"13b3b208273ee29bd586e2c178fc5c00c965d52d747a97e47c5ab5a441836960"},"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":"a3b1bf423cac28f2e9adfab48f26ac7bd32a3809369cbaacc55b181207e91fbf"},"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":"c94a27e044d1eddaa22e74dcf87b18e9f9e9d50bc5e641da5917c324df668fbd"},"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":"47a331cbf7f3b9eb25fb27d78005d9c13962d716d660542d2c070ac3d981c78d"},"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":"dcb818c4a267233c75eecc820f816fbd7858964728b38793b6a23bbb70952485"},"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":"e5892d48d4dd24c0496450f7f842157d4e3da49ee6598f15cd1a7a01f387d595"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"31e15292ee7781495cff3025f3779e23aded0d07be93120b45c65e1d6518c389"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0a25692745ad0ed3ca68036746171ef1bfebcc093c4887320630d8afff98acf8"},"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":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: TransactionDisplay.kt \u2194 TransactionDetailView.swift: \u0060android/app/src/main/java/com/cashu/me/Core/TransactionDisplay.kt\u0060 (context android) and \u0060ios/CashuWallet/Views/History/TransactionDetailView.swift\u0060 (context ios) sit in DIFFERENT parts of the tree yet change together 64% of the time (7 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 7 shared commits counted here, the most recent 3 are \u0060975e28f6\u0060 Unify Receive and History request views on iOS and Android (#440); \u0060081da0a1\u0060 Add a Details sheet to transaction receipts on iOS and Android (#392); \u006026787755\u0060 Unify activity payment detail sheets across iOS and Android (#338) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/TransactionDisplay.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2870bda28c1d9864a7605352006c07929a9a1c9dda643f8e8007b177466b97"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CashuNavHost.kt \u2194 Routes.kt: \u0060android/app/src/main/java/com/cashu/me/ui/navigation/CashuNavHost.kt\u0060 and \u0060android/app/src/main/java/com/cashu/me/ui/navigation/Routes.kt\u0060 change together 100% of the time (11 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). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither 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 \u0060e626c125\u0060 fix: harden contactless payments on iOS and Android (#468); \u0060d01ac228\u0060 Recover lost deposits by quote ID on iOS and Android (#399); \u0060355db84d\u0060 Android Settings: move App Lock to Backup \u0026 Security, match iOS Priva\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/navigation/CashuNavHost.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6f7b709a930f6246df4dc37e548c6d3473a35f67863ac4288425df6f911673"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: StorageProtocol.kt \u2194 SettingsStore.kt: \u0060android/app/src/main/java/com/cashu/me/Core/Protocols/StorageProtocol.kt\u0060 and \u0060android/app/src/main/java/com/cashu/me/Core/SettingsStore.kt\u0060 change together 75% of the time (9 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 9 shared commits counted here, the most recent 3 are \u00601c0d5935\u0060 Remove automatic ecash paste on iOS and Android (#448); \u00607af651f9\u0060 fix(mobile): make P2PK key storage transactional (#319); \u00606419d070\u0060 fix: restart incomplete onboarding, keep original seed; stop seed-gri\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/Protocols/StorageProtocol.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc921290dafdd13c4c6eb0e1ed2a14c0832cef817a1a5d68e5b69f92703920d1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: TransactionDisplay.kt \u2194 TransactionDetailScreen.kt: \u0060android/app/src/main/java/com/cashu/me/Core/TransactionDisplay.kt\u0060 and \u0060android/app/src/main/java/com/cashu/me/ui/history/TransactionDetailScreen.kt\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060081da0a1\u0060 Add a Details sheet to transaction receipts on iOS and Android (#392); \u006026787755\u0060 Unify activity payment detail sheets across iOS and Android (#338); \u0060da9936da\u0060 Fix transaction history currency conversion (#332) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/TransactionDisplay.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18248fb826e20c1eec3d36bb0350d53964b79446239ec274f0603e487581d7eb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MainWalletView.swift \u2194 MintDetailView.swift: \u0060ios/CashuWallet/Views/Main/MainWalletView.swift\u0060 and \u0060ios/CashuWallet/Views/Mints/MintDetailView.swift\u0060 change together 58% of the time (7 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 7 shared commits counted here, the most recent 3 are \u0060c2d0e06a\u0060 Preserve stored currency balances and history across mint metadata ch\u2026; \u006080a8494b\u0060 Hide sub-cent fiat amounts; align the Pending Ecash fiat row (#170); \u00606c2914bc\u0060 Fix/UI rev 7 (#69) (at that commit the files were still \u0060CashuWallet/Views/Main/MainWalletView.swift\u0060 and \u0060CashuWallet/Views/Mints/MintDetailView.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Main/MainWalletView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfd94baa8b6ea46c0204a33b7bccc7d87ec019526678f332beffafb097ebcd5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: SendView.swift \u2192 MintDetailView.swift, MintsListView.swift, ReceiveView.swift: \u0060ios/CashuWallet/Views/Send/SendView.swift\u0060 changes together with 3 other files \u2014 \u0060ios/CashuWallet/Views/Mints/MintDetailView.swift\u0060, \u0060ios/CashuWallet/Views/Mints/MintsListView.swift\u0060, \u0060ios/CashuWallet/Views/Receive/ReceiveView.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0c71919414338910fa70c639a646c907ac70da6ed697e664aab0398a10797e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ActivityOrbView.swift \u2194 SettingsView.swift: \u0060ios/CashuWallet/Views/Components/ActivityOrbView.swift\u0060 and \u0060ios/CashuWallet/Views/Settings/SettingsView.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 \u0060155a4218\u0060 get_info only through cdk (at that commit the files were still \u0060CashuWallet/Views/Components/ActivityOrbView.swift\u0060 and \u0060CashuWallet/Views/Settings/SettingsView.swift\u0060); \u0060c320d3af\u0060 Fix/UI rev 7 (#43) (at that commit the files were still \u0060CashuWallet/Views/Components/ActivityOrbView.swift\u0060 and \u0060CashuWallet/Views/Settings/SettingsView.swift\u0060); \u006099129f8d\u0060 design: surface wallet\u0027s own mints in restore suggestions (#39) (at that commit the files were still \u0060CashuWallet/Views/Components/ActivityOrbView.swift\u0060 and \u0060CashuWallet/Views/Settings/SettingsView.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Components/ActivityOrbView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5916c781576be09487e726b1c1616314a3a20d450a79f21829219d488a3ca32"}},{"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":"52a0eacefd82a578d14960de861c5d3beb3d1830396993715c6c6331d8f070de"},"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":"8da165c5c7871c208a6bda54593a2162bdb0ff7396264b7d602df609adc8068f"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"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":"AX6","level":"note","message":{"text":"Fat interface: CdkWalletGateway (49 abstract methods): \u0060CdkWalletGateway\u0060 declares 49 abstract methods: \u0060initializeLogging\u0060, \u0060generateMnemonic\u0060, \u0060mnemonicEntropy\u0060, \u0060validateMnemonic\u0060, \u0060openWalletRepository\u0060, \u0060closeWalletRepository\u0060, \u0060hasWallets\u0060, \u0060backupMints\u0060, \u0060fetchMintBackup\u0060, \u0060ensureWallet\u0060, \u0060removeWallets\u0060, \u0060fetchMintInfo\u0060, \u0060restoreMint\u0060, \u0060storedAccounts\u0060, \u0060storedAccountBalance\u0060, \u0060totalBalance\u0060, \u0060unitBalance\u0060, \u0060createMintQuote\u0060, \u0060checkMintQuote\u0060, \u0060subscribeToMintQuote\u0060, \u0060listUnissuedMintQuotes\u0060, \u0060mintTokens\u0060, \u0060mintNPCQuote\u0060, \u0060createMeltQuote\u0060, \u0060listMeltQuotes\u0060, \u0060meltTokens\u0060, \u0060checkMeltQuoteStatus\u0060, \u0060recoverIncompleteSagas\u0060, \u0060receiveRecoveryCandidates\u0060, \u0060recoverReceiveAccount\u0060, \u0060sendEcashToken\u0060, \u0060receiveEcashToken\u0060, \u0060receiveNfcEcashToken\u0060, \u0060settleForeignNfcToken\u0060, \u0060previewReceiveToken\u0060, \u0060activeMintInputFeePpk\u0060, \u0060estimateCashuPaymentRequestFee\u0060, \u0060checkTokenSpendable\u0060, \u0060listTransactions\u0060, \u0060payCashuPaymentRequest\u0060, and 9 more. 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":"android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGateway.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84b3b07ba2aa807aad3a2aff299d6103aa36367f08af01028238d000bad0b0c"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: ios/README.md links to \u0060../docs/screenshots/01-launch.png\u0060, but \u0060docs/screenshots/01-launch.png\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/README.md"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"532514baed5567a8c4ed37e6c67456c8ec54bf2c2e96ac65a8421924196302df"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: ios/README.md links to \u0060../docs/screenshots/02-welcome.png\u0060, but \u0060docs/screenshots/02-welcome.png\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/README.md"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08ee22a721d70d7b9f506415404a1a89f304478e863921db51a5176672f5b05"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: ios/README.md links to \u0060../docs/screenshots/03-main-wallet.png\u0060, but \u0060docs/screenshots/03-main-wallet.png\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/README.md"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdc86abdc1a050af82981b7961eb8970cbb37a3a41e47a742737f0262936cb7"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: ios/README.md links to \u0060../docs/screenshots/04-send-options.png\u0060, but \u0060docs/screenshots/04-send-options.png\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/README.md"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"189ec394b37f34684f7a5667f0a50f9f76fd3d2401cb02d73f126cbba6355155"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: ios/README.md links to \u0060../docs/screenshots/05-settings.png\u0060, but \u0060docs/screenshots/05-settings.png\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/README.md"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd2199242829ebe0649b759e3421d289b08d78b9e8ee4d14a37bf5a1a47e2d2"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: ios/README.md links to \u0060../docs/screenshots/06-receive-onchain.png\u0060, but \u0060docs/screenshots/06-receive-onchain.png\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/README.md"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75c2cd235d79d1cc5c27003f796616e791dc5ed9cdf21b09817466cb5288e51"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: ios/README.md links to \u0060../docs/screenshots/07-send-onchain.png\u0060, but \u0060docs/screenshots/07-send-onchain.png\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/README.md"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a1453393cbc6e6acff9117a6f303ca09959eb7eb0661157e3a9eb19c883d61"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/2 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \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 spotbugs with find-sec-bugs (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 4 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-tests.yml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060android/app/build.gradle.kts\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/build.gradle.kts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc97f07cd7964b9bf62027a14dacef9476a9fd3261d3eb8f9817a5ace18ba64"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060amountPaid \u003E 0 \u0026\u0026 amountIssued \u003E= amountPaid\u0060 appears character-identically in 3 files \u2014 android/app/src/main/java/com/cashu/me/Core/MintQuoteDomain.kt, android/app/src/main/java/com/cashu/me/Core/OnchainDepositStatus.kt, android/app/src/main/java/com/cashu/me/Models/Quotes/QuoteModels.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":"android/app/src/main/java/com/cashu/me/Core/MintQuoteDomain.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcb5a935d4aec7e5f2a849e07547451867a5f5af6f33330f8f1650b8d6898d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060confirmations != null \u0026\u0026 confirmations \u003E 0\u0060 appears character-identically in 2 files \u2014 android/app/src/main/java/com/cashu/me/Core/OnchainDepositStatus.kt, android/app/src/main/java/com/cashu/me/Models/Payments/OnchainPaymentObservation.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":"android/app/src/main/java/com/cashu/me/Core/OnchainDepositStatus.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f0e7a17786234a24bea0c71e451977b160c4ae6ca1190ba468e75f8e32d838"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file.exists() \u0026\u0026 !file.deleteRecursively()\u0060 appears character-identically in 2 files \u2014 android/app/src/main/java/com/cashu/me/Core/Platform/WalletDatabasePathManager.kt, android/app/src/main/java/com/cashu/me/Core/Wallet/DurableWalletReplacement.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":"android/app/src/main/java/com/cashu/me/Core/Platform/WalletDatabasePathManager.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d690b5a78ba8c2a207a5e15abcb3f2f2e6301823056683ef81486f07a9892739"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060request.amount != null \u0026\u0026 request.amount \u003E 0L\u0060 appears character-identically in 2 files \u2014 android/app/src/main/java/com/cashu/me/ui/components/CashuRequestRow.kt, android/app/src/main/java/com/cashu/me/ui/receive/CashuRequestDetailScreen.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":"android/app/src/main/java/com/cashu/me/ui/components/CashuRequestRow.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da145de6ff3f468056f5f8baa26f047e3021df12a819cdbfad0308f20e79e73"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060seedState.isComplete \u0026\u0026 !seedState.isReviewing \u0026\u0026 !restoring\u0060 appears character-identically in 2 files \u2014 android/app/src/main/java/com/cashu/me/ui/onboarding/OnboardingScreen.kt, android/app/src/main/java/com/cashu/me/ui/restore/RestoreWalletFlow.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":"android/app/src/main/java/com/cashu/me/ui/onboarding/OnboardingScreen.kt"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b33ab85b00ef62081442c1964543e52f540a927617dc313af7d4c136791b13"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060xml_utils.str_text(resolved) or resolved.get(\u0022fmt\u0022)\u0060 appears character-identically in 2 files \u2014 .agents/skills/swiftui-expert-skill/scripts/instruments_parser/events.py, .agents/skills/swiftui-expert-skill/scripts/instruments_parser/swiftui.py. 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":".agents/skills/swiftui-expert-skill/scripts/instruments_parser/events.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"034bd40e485600d6d3a47cfd42e49fd54b9c628ccf25b94a5d347726cbeff863"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!reduceMotion \u0026\u0026 configuration.isPressed\u0060 appears character-identically in 2 files \u2014 ios/CashuWallet/Views/Components/LiquidGlassModifiers.swift, ios/CashuWallet/Views/Components/PressableButtonStyle.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":"ios/CashuWallet/Views/Components/LiquidGlassModifiers.swift"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"660db965cb944f9454ba5f22a3aa7f683f949cdb6cc236d5aaa8221ee97db312"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060d \u003E spokeMinDistance \u0026\u0026 d \u003C spokeMaxDistance\u0060 appears character-identically in 2 files \u2014 .agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift, ios/CashuWallet/Views/Components/AsciiField.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":".agents/skills/cashu-promo-video/tool/Sources/Field/FieldMath.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa797755fc25eaf8a891feaed1bf340fba2412f2ba129661ae04cac1e2dc7c93"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error is CancellationError || Task.isCancelled\u0060 appears character-identically in 2 files \u2014 ios/CashuWallet/Core/Wallet/PendingTokenClaim.swift, ios/CashuWallet/Models/WalletSupport/MintRestoreBatch.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":"ios/CashuWallet/Core/Wallet/PendingTokenClaim.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9ad204107ce4713d14822108b848af7420e9b5d5945ea0972ebccd9ad6f40e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isBottomSheetPresented \u0026\u0026 !isSheetDismissing\u0060 appears character-identically in 2 files \u2014 ios/CashuWallet/Views/History/HistoryView.swift, ios/CashuWallet/Views/Main/MainWalletView.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":"ios/CashuWallet/Views/History/HistoryView.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"293d4d66583a1d74b335e62366a1850ef267b4cf33076dedf6cf1acbbd06a824"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.hasPrefix(\u0022wss://\u0022) || lower.hasPrefix(\u0022ws://\u0022)\u0060 appears character-identically in 2 files \u2014 ios/CashuWallet/Core/MintDiscoveryManager.swift, ios/CashuWallet/Core/NostrMintBackupService.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":"ios/CashuWallet/Core/MintDiscoveryManager.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd41e28e1f9a998f1cebd11b86f48151d0570f87af07eaec01e71a510a7d4354"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settings.amountDisplayPrimary == .fiat \u0026\u0026 priceService.btcPriceUSD \u003E 0\u0060 appears character-identically in 5 files \u2014 ios/CashuWallet/Views/Components/ScannerWrapperView.swift, ios/CashuWallet/Views/Mints/MintTransferView.swift, ios/CashuWallet/Views/Receive/CashuRequestAmountPickerSheet.swift, ios/CashuWallet/Views/Receive/ReceiveLightningView.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":"ios/CashuWallet/Views/Components/ScannerWrapperView.swift"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"406af64b00da1ad4e8f44340dfc6f35b71fc2d5120af89404536b8521968cd8c"}},{"ruleId":"X2","level":"note","message":{"text":"Not all suspend functions that make a request accept the coroutine\u0027s cancellation: Only 0/1 suspend functions that make a cancellable request (Ktor, OkHttp newCall, URL streams) accept the coroutine\u0027s cancellation or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a screen navigated away from, a disposed widget, a superseded search. In a suspend function, make the request with a call that suspends \u2014 Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 that cancels the \u0060Call\u0060 \u2014 not a blocking \u0060execute()\u0060: \u0060withContext(Dispatchers.IO)\u0060 moves the call off the caller\u0027s thread but does not make it cancellable; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"97a0137a13dc63b0e07ec4e232770b687c26a8a2030f49787e45a4506416c527"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: httpGet: \u0060httpGet\u0060 suspends, but makes its request with \u0060URL(\u2026).openConnection()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/OnchainExplorer.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"6835240a9bea61d020df73bace26e49540c196d9e7b6274d93eacd3464a48048"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Settings/LightningAddressSettingsSection.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b2c36202bcdcabe9ae897924850f2d46a645e1e122b3a3b3266f31ef64f671"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Settings/RecoverDepositView.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"9390be44466afa12948d68d8af1ec49d55d1e94a28e042ed3c191b293da7e3af"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Send/PendingSendRecoveryView.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3265b3ad09e1f54acf61e625ba20fcc1a9fd67a5a53084c541b333c32a0d8790"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef355162b5e28b69a021cbd47e4c1d21ce762c7d433a76a0ee74b512510c5db"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"0795bb5726b62f030bca85562a305e5bd9000f64149173e6061be923ebdece31"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Send/SendView.swift"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"9963bef702d443ab48675bde38e0616fa89ea93e5c3d9cfd55f22a019f44729e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/Main/ReceivedBalanceFeedback.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4305236a83d9ac1e0d6cede6d4ee3cbd4868ed4a1356d3b50d1512000c20f0a7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Views/History/TransactionDetailView.swift"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"84aaed67cd91f7e3d9a7a933841beb41a83ab1e87fedba34d398bd2daef817dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Models/Payments/OnchainExplorer.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"7336aedfc8cbe982f802a5b0d9545b25606897d9bf3403185cb19c84a39a0e91"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Models/Payments/OnchainExplorer.swift"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0b6e642f25c77655c29c9668249461a9e58af8d01b9e956b10cbdbc6a9e29b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/KeychainService.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"655eb427bff19fa3102055a0a9cc1b6255362454bface61586d37242abb86ad2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/KeychainService.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d634d965e54f060b5e6a6639085d9735d74fb65fcf56763d3fa367af46c86882"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/KeychainService.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"13732abfa9a2e04a9dfb531fd9ae7bcc1b71888799d975d18d128e3371055407"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/MintDiscoveryManager.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"440b4a974020535123d218abb06dbd3f2ab38bdce85b34a26eaa42273d4832c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/NPCService.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5130fa7344cf3c0f35fd0b41da9f3dbba119f7951f62f4bfc271183c63fc517"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/Wallet/WalletManager\u002BCashuPaymentRequests.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f186c047738252dd12f2d4ab2d158bbe23e95689b7d632b47846458071efa4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/Wallet/WalletManager\u002BCashuPaymentRequests.swift"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"074602254a805985d9135af4137c55dca6fa708825c1ad480cbcb37e6d4bff5f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/Wallet/WalletManager\u002BCashuPaymentRequests.swift"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e92e2535db28a22fc0311d261393699ad9273fe37c6e9587d66ca9ed9b3575b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/Wallet/WalletManager\u002BLifecycle.swift"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b67418dc742a52784a520b0c4580ad71a6f86c9b6cbbbf9f4a0d1374c73f59"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/Wallet/WalletManager\u002BLifecycle.swift"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5d52c0de535913403d64d038925ea440795937514ac03ac77b536ac72cd209"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/Wallet/WalletManager\u002BMintQuoteSync.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04b88c3e513a83a20ac687bd0d4c5ab9bcde95e759a4fe2268ea07610ddbf79"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/Wallet/WalletManager\u002BTokens.swift"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"555e536ca6a3b2844fd6070eb7bb4c23740c4a5d2c07b9986d1f3de61c1a2d81"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/Wallet/WalletOperationCoordinator.swift"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c8ea4f6d1ff1deb79df2417033b9c2991e91f9e893a127c8f569783546c733"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/Services/FocusedMintQuoteMonitor.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79fe205510acd51a68e04e5acc0f2d82901d2696b8c4f7428662adaaf53f48f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/Services/LightningService.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"615f7abb2f47676bc3159b57f011b30ffc69a76f8b0e9eb5883510f3ff9b7611"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/Services/LightningService.swift"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1f0f1cebc6235a1b3f9efe8081a2aa45f8e4b39a1abada7aee1e24f6a862ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/Services/LightningService.swift"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"64da8a45332e79516dd38f74b4e20f72c332d51be1b6ed6f588916c7e67fb318"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/Services/MintQuoteReconciler.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c46e9336baee0a608c0c724ace0c90b4322ed91474f9199b41850146186d6b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/CashuWallet/Core/Services/MintTransferEngine.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ead227502acc559086c120451e96cd34c6d6baf0315351e10d86964568bb74f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/settings/LightningScreen.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ab32664dc32b8998398918e854ead0b590537ff50fed5f156d8d5e59c179d4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/settings/RecoverDepositScreen.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"1830d877b1bd1df58815f10620286e2c21f54eabfeeb5e892d267e73c41a3a7a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/send/PendingSendRecoveryContent.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64606ef26efe2bdbfe6c0a3cebce63813fa6bb516eb35ea6649e3c7c8e7a864"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/send/PendingSendRecoveryContent.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3481a980cffe223b254d79ce6f75a7f75cd4a83a0ac0e7af86ce5f70dd213c52"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"2623964f1266529e09d13e24adc029e04e31af8545c2d0e88f67cc66fad70581"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/ui/send/UnifiedSendScreen.kt"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ba37188217f2cbef1709259d85ef876ff33c0481786397567d8613fe8bfa99"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/NPCService.kt"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"782a8cf7bcdf0c25d9ef0c3b3f3db7897b4f3fded97c9f9f436c2dc2e25c68a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/NPCService.kt"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"544e55914895f9ba92a537abeda80f3c72fc6c06162f41b3f66c020f1c368a2c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/Wallet/WalletManager.kt"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64575ae56fbafed9e3c02bb2c26bd57f536c91a3fe2c98d0299533986270f69"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/Wallet/WalletManager.kt"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"50999468280d2e70447d9ba95bcf454c217590eaad74267f76f92b244c9c55a2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/Wallet/WalletMintQuoteSyncService.kt"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98ea8e804e78648442a9ceeae905b3091857a21652a604d4735fbbf344fa90f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/Wallet/WalletMintQuoteSyncService.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5247e3cecb51177360c09731855d610751be57f75d3d7357d94c9831c6fb13"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGatewayImpl.kt"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"883c6b31f0f8f8aa440ef0e7aac2e17423506c85ea873ecaf580e774321a1034"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGatewayImpl.kt"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec632d1425a07dadd8ea34fb8bdb16d74432af0ba927b7ae1f8920de1743404"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGatewayImpl.kt"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"8279fc93ab24f99df49162a1f46775c5a516a7167aaa36ed7c1ed25aafcebb65"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/CDK/MeltPaymentRecovery.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e956089ba5f03a4c3a969134d5ef2414c499d5fc77de596d4c38457a220f72e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/CDK/MeltPaymentRecovery.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde6c279102c4b3e66c2494fe217ede51cb2090d6f71983ebe5bd59983945342"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listPendingSendOperationIds\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/CDK/CdkWalletGatewayImpl.kt"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e49a25017ec35016a90e0980f046f62d334135146f92a20c8d021cfcee47b82"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadList\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/SettingsStore.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82b9428e9907e1ac216ae23da2d29ddc2d7c08eef50807fd276b6b13aa1414f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060p2pkKeys\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/SettingsStore.kt"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5648eae13f147b134c5e2bd0ff9a04c27a7bc27d3e39702e66ac93de85e0823"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060p2pkPubkeys\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/TokenParser.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9907363d4d4a250eb0f0c87409b5a3be4d9733075f7f6755e1b7f325571606d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadList\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/WalletStore.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff88873e73326068562ec41a52f891aed4ac1b169a39982ff94787236313212f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadMap\u0060 swallows every exception into \u0060emptyMap()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/java/com/cashu/me/Core/WalletStore.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e69eeaec626b019670131f5918009e13414acfac158d675b896bda6c4225f1a"}}],"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-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"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-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":43,"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."]}]}