{"$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":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"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":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"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":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"main.run (cyclomatic 87): main.run has cyclomatic complexity 87 (threshold 15). Of this number, 53 points are the body\u0027s own statements and 34 belong to 16 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/cmd/drivechaind/main.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0a268ac237a97ce52c8fdbf2066fef91291a6ff9cc11d005b7312a8247ea04"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.runWalletBurnECX (cyclomatic 60): commands.runWalletBurnECX has cyclomatic complexity 60 (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":"sidechain-orchestrator/commands/wallet_burn_ecx.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57ac5d4e0e288f843f7bc6e73048905fc785549d04e50c84d9df27602de108b"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.SetNodeMode (cyclomatic 48): Orchestrator.SetNodeMode has cyclomatic complexity 48 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/node_mode.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c02fdd1103d60f6663185396cc0102abafbe2712d5638477d086a6dbdbc6c5"}},{"ruleId":"D1","level":"warning","message":{"text":"ElectrumBackend.buildSendPSBT (cyclomatic 47): ElectrumBackend.buildSendPSBT has cyclomatic complexity 47 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6891370009a96900bfb5b3f2acc12d0519eb11276fd98c5f3a1d01fc1f9b37f"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.runWalletSignPSBT (cyclomatic 44): commands.runWalletSignPSBT has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/commands/wallet_sign_psbt.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"419a14b60e96a9433f4e30f4f2cfa9ea6a33f644dd515a895be823857caf660f"}},{"ruleId":"D1","level":"warning","message":{"text":"_DeniabilityTableState.sortEntries (cyclomatic 43): _DeniabilityTableState.sortEntries has cyclomatic complexity 43 (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":"bitwindow/lib/pages/wallet/denability_page.dart"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"7079823faa36c9d4247e85a84e79ec15160dcb5d197bae837e317516162cc620"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessManager.StartWithOptions (cyclomatic 43): ProcessManager.StartWithOptions has cyclomatic complexity 43 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 19 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/process.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"55282c24e22e79c258a488c83b293a3200b3c0feec346f5b0bff79be8ed9889e"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.runECashMigrate (cyclomatic 38): commands.runECashMigrate 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":"sidechain-orchestrator/commands/ecash.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f62295f69ca8a93508ea9724ebc846a75fa588ab0a46226af51f5917910f434"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.startTargetOnly (cyclomatic 36): Orchestrator.startTargetOnly has cyclomatic complexity 36 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":2045}}}],"partialFingerprints":{"codehealthFindingId/v1":"049cdc8ab10db5e9956c8cdf608fbbf70fef3bd85c136158558abbcd213fb55f"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.rewindMigration (cyclomatic 35): Orchestrator.rewindMigration 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":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"624364ba91da9f6edd8a5cd66bc79ff05e4c0cde60fa483d82abcfa37b416c24"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.runStart (cyclomatic 33): commands.runStart has cyclomatic complexity 33 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/commands/commands.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbd77f9542846e73c7d3dfa246f63acc3eb49cfbac5d4e2d8a0bd482a75ddfd"}},{"ruleId":"D1","level":"warning","message":{"text":"ECashUpgradeWatcher._check (cyclomatic 32): ECashUpgradeWatcher._check 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":"bitwindow/lib/widgets/ecash_upgrade_banner.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d817ae4af287c36bc06c2e636b55881e1e2e2e8a4b35762c62b80581413392"}},{"ruleId":"D1","level":"warning","message":{"text":"page.Home (cyclomatic 32): page.Home has cyclomatic complexity 32 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 11 belong to 7 function items inside it that branch. 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":"dc-hub/app/page.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f3bb64b719f3cbf0920629260cd865ccacfb5e18b349ea58b897bdbf0d994c"}},{"ruleId":"D1","level":"warning","message":{"text":"SailCard._build (cyclomatic 31): SailCard._build 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":"sail_ui/lib/widgets/containers/sail_card.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb57eb415a554b444e1c7ccb77115bf43a826eb4038264e1c83b6ed431830f6"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.ApplyECashSwitch (cyclomatic 31): Orchestrator.ApplyECashSwitch 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":"sidechain-orchestrator/ecash_switch.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f38b1f7cb9c05463a0cacf673d54577c034090ef5f7f4e55b8be88039803da"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.startEnforcerWhenReady (cyclomatic 31): Orchestrator.startEnforcerWhenReady 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":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"23480ffa953cfe923641d04d04c7670e860e5c0d55318d5866161613420eeb80"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatProvider._processPaymailEntry (cyclomatic 30): ChatProvider._processPaymailEntry has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/chat_provider.dart"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"088c1337d9d362b1d03a45c81362392566cb699cda5ab38308493a654a888a88"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.handleBlockTick (cyclomatic 30): Parser.handleBlockTick has cyclomatic complexity 30 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/bitcoind_engine.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfcb6f643efad2d18b6c525824816a1d3e2754e4d53b45d21d531ba430e93b4"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.applyPendingM4 (cyclomatic 30): Parser.applyPendingM4 has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/bitcoind_engine.go"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad48733c4e998ec861035ff2b412b2a2ce7ee2fd066c5a01de8f75399eb339f2"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.GetSyncStatus (cyclomatic 30): Orchestrator.GetSyncStatus has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 13 of the 30 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 3868, 3804, 3828, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":3763}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd08c8e7ef8b60196aed13da461c180ebaf011f3a5c81e1836049880c9c3679b"}},{"ruleId":"D1","level":"warning","message":{"text":"wallet.buildPSBT (cyclomatic 30): wallet.buildPSBT has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/psbt.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f783e51c9a1436d99ffc194a830002270aadf9b31775b4cc83b8464627a809"}},{"ruleId":"D1","level":"warning","message":{"text":"_ECashMigrationDialogState.build (cyclomatic 29): _ECashMigrationDialogState.build has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/ecash_migration_dialog.dart"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8e3438a70552230b1f1b07630be1d77e57c6b2c4d89cb3ccd04376e6038c91"}},{"ruleId":"D1","level":"warning","message":{"text":"MultisigLoungeHandler.ensureWatchWallet (cyclomatic 29): MultisigLoungeHandler.ensureWatchWallet 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":"sidechain-orchestrator/api/multisiglounge_handler.go"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4c5c0ee507ba00295f0629fd73d43f9f0b67933becd70d4c414cdb21136f7d"}},{"ruleId":"D1","level":"warning","message":{"text":"StratumHandler.SetMiningSettings (cyclomatic 29): StratumHandler.SetMiningSettings has cyclomatic complexity 29 (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":"sidechain-orchestrator/api/stratum_handler.go"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb2b0bfc27e5195781871fe94f913bef61f41a8321fb5829815e1d5cf175da5"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.StartWithL1 (cyclomatic 29): Orchestrator.StartWithL1 has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 6 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 984). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4d3db8ae3406c07a4e056e7236555144a24bbd8ef96bfff89a516e88622b54"}},{"ruleId":"D1","level":"warning","message":{"text":"nodeHistory.History (cyclomatic 29): nodeHistory.History has cyclomatic complexity 29 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/thunder/history.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d560004df87e7c68c7eacd35cd659e5f904faed89ef9af51800ada5689249b"}},{"ruleId":"D1","level":"warning","message":{"text":"_RootPageState.build (cyclomatic 28): _RootPageState.build has cyclomatic complexity 28 (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":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a05092d1000e2859bb6f5871ab2cec50ab82b3afb8254f9b2c9647939d3562"}},{"ruleId":"D1","level":"warning","message":{"text":"_UTXOSnapshotPageState.build (cyclomatic 28): _UTXOSnapshotPageState.build has cyclomatic complexity 28 (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":"sail_ui/lib/pages/utxo_snapshot_page.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"54252e43c7dbef4ef4e303d72a8ccdeb575a47d115ee19af5ad797f22aa27586"}},{"ruleId":"D1","level":"warning","message":{"text":"SyncProvider._fetch (cyclomatic 28): SyncProvider._fetch has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/sync_provider.dart"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6efda893024edf215b20368b11eb1cf50eaae47377601abd300218a69cdf936"}},{"ruleId":"D1","level":"warning","message":{"text":"_ImportPSBTModalState._importPSBT (cyclomatic 28): _ImportPSBTModalState._importPSBT has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/import_psbt_modal.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae594a61d5c978ab6ec51a161344482e242d997f59b72effb085b8e2e001682"}},{"ruleId":"D1","level":"warning","message":{"text":"BottomNav.displayConnectionStatusDialog (cyclomatic 28): BottomNav.displayConnectionStatusDialog has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/nav/bottom_nav.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bc1b29d24f0791db0fb5628b171b3f27870a884d0f769b942f4363fb978e58"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationEngine.processWalletTransactions (cyclomatic 28): NotificationEngine.processWalletTransactions has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/notification_engine.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fb89e251211c19d7f200060e69cca61707a97284c034d355d75fbc07d422bb"}},{"ruleId":"D1","level":"warning","message":{"text":"burnWalletState.check (cyclomatic 28): burnWalletState.check has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/commands/wallet_burn_ecx.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccb2220624b43628b4b206af68ffc334b0683cf14d5433f6e396c6833020c85"}},{"ruleId":"D1","level":"warning","message":{"text":"corewalletfile.discover (cyclomatic 28): corewalletfile.discover has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 8 of the 28 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 276, 261). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/corewalletfile/convert.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d898e141cc7a3aa52bb2e1ae5b0edb505090fc9bf51a850da1359464620035f4"}},{"ruleId":"D1","level":"warning","message":{"text":"_BumpFeeDialogState.build (cyclomatic 27): _BumpFeeDialogState.build has cyclomatic complexity 27 (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":"bitwindow/lib/pages/wallet/bump_fee_dialog.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95bb5a34b8c5a5941c60779b7f388b3b66808182f7b8d378f9d139daa446be5"}},{"ruleId":"D1","level":"warning","message":{"text":"_SailDropdownButtonState.build (cyclomatic 27): _SailDropdownButtonState.build has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/inputs/dropdown_menu.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fbd36ea33e6b3f84598415efbdfaf1b06352c4482e4b3c70424ec407758cc1"}},{"ruleId":"D1","level":"warning","message":{"text":"DeniabilityEngine.CleanupDenials (cyclomatic 27): DeniabilityEngine.CleanupDenials has cyclomatic complexity 27 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/deniability_engine.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d9a7db79c7d9de64ed22a906c7032b75fe04a0f76e2427f33041aa5e82a4a2"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadManager.DownloadWithOptions (cyclomatic 27): DownloadManager.DownloadWithOptions has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 11 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 199). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/download.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abbee72649fc4ec642a5f60f037701c39f3e3cbd0a9e70c4d51ca47c4e5774a"}},{"ruleId":"D1","level":"warning","message":{"text":"CoreBackend.PreviewSend (cyclomatic 27): CoreBackend.PreviewSend has cyclomatic complexity 27 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/send_preview.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b545e701c955d0cc99ef09cdaf53ca70a26d542de8449f5bc766dc79c68d0e"}},{"ruleId":"D1","level":"warning","message":{"text":"_SidechainsTable.build (cyclomatic 26): _SidechainsTable.build 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":"bitwindow/lib/pages/sidechains_page.dart"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbbaf54f9f2f8c84183b1916ae44878ea8b2a1e9d06758694809fc3f14a634d"}},{"ruleId":"D1","level":"warning","message":{"text":"FundGroupModalViewModel._generateMultisigAddress (cyclomatic 26): FundGroupModalViewModel._generateMultisigAddress 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":"bitwindow/lib/widgets/fund_group_modal.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d2e8a727265bea3a60fe71ec257ca8b3166d06340c6407774515138692abf1"}},{"ruleId":"D1","level":"warning","message":{"text":"BackupEngine.RestoreBackup (cyclomatic 26): BackupEngine.RestoreBackup 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":"bitwindow/server/engines/backup_engine.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"9309eaaa921d22eaf916a1ecba194553dac788d95026d9e60d0b3acd865df43d"}},{"ruleId":"D1","level":"warning","message":{"text":"multisig.importGroupsJSON (cyclomatic 26): multisig.importGroupsJSON 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":"bitwindow/server/models/multisig/multisig.go"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"5693742106adfc2e3e6a26c9c1a6e763b42113b5d1862c587c311fd0c4160c6e"}},{"ruleId":"D1","level":"warning","message":{"text":"blockfile.scanFile (cyclomatic 26): blockfile.scanFile 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":"sidechain-orchestrator/blockfile/convert.go"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3e146342ce434b57666994ce9bf785d2f5526ea6875d0d1dc97c1318ec9d3f"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.SwapNetwork (cyclomatic 26): Orchestrator.SwapNetwork 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":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":2776}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c570a2371b06e2d98e3dd1a21fc447142df304cc6a7e95ceb60116549ecc31"}},{"ruleId":"D1","level":"warning","message":{"text":"wallet.combinePSBT (cyclomatic 26): wallet.combinePSBT 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":"sidechain-orchestrator/wallet/psbt.go"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f7da7c92b3073953e59ba45ca826c1acca734364650d791bcc0f4c6a4ec24a"}},{"ruleId":"D1","level":"warning","message":{"text":"_ButtonContent.build (cyclomatic 25): _ButtonContent.build has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/buttons/button.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e72f89c7634c6cb5e40a2c665ab0489a3e49a2e4e5a43345f3e0b74164f600"}},{"ruleId":"D1","level":"warning","message":{"text":"api.nodeOverview (cyclomatic 25): api.nodeOverview has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/explorer_handler.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd763cb21348686b7a22ec548e801f7612e90039175ecd4f2a17f810d38e8e5"}},{"ruleId":"D1","level":"warning","message":{"text":"_NetworkSwapPageState.build (cyclomatic 24): _NetworkSwapPageState.build has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/settings/network_swap_page.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5796d75d7a91d770c42e1c76dfff1a75c2325910755e332f4e4e7f01d0317f3"}},{"ruleId":"D1","level":"warning","message":{"text":"SidechainsViewModel.sidechainWidget (cyclomatic 24): SidechainsViewModel.sidechainWidget 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":"bitwindow/lib/pages/sidechains_page.dart"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78f5b20575c0b52145fb88f0f66516da843cc086346bda86d4d6d232c5f5033"}},{"ruleId":"D1","level":"warning","message":{"text":"ProgressBar.build (cyclomatic 24): ProgressBar.build has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/loaders/progress.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1996a787955bdb6e719471e4dc79b06ee85d311a06d4ddf28544623c7641d9f8"}},{"ruleId":"D1","level":"warning","message":{"text":"BottomNavViewModel._connectionStatusRaw (cyclomatic 24): BottomNavViewModel._connectionStatusRaw 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":"sail_ui/lib/widgets/nav/bottom_nav.dart"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6295d90685ed07a83438dacc4381a31a68065bdc9bcb4429b2f44d4593ac804"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.handleTimestamp (cyclomatic 24): Parser.handleTimestamp 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":"bitwindow/server/engines/bitcoind_engine.go"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f4ee4785d362ba2f12d36778ce9d0e5bfe5baf14558042a21f2b3408cc2cce"}},{"ruleId":"D1","level":"warning","message":{"text":"multisig.importTransactionsJSON (cyclomatic 24): multisig.importTransactionsJSON 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":"bitwindow/server/models/multisig/multisig.go"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"7312c8df54ac2e91ff295b033dbc3d2a460a5d899e56296ba6d7e5aad6a81105"}},{"ruleId":"D1","level":"warning","message":{"text":"CoreBackend.Send (cyclomatic 24): CoreBackend.Send has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2d74b8d37ab742552d803ebd3cc8fd317cf2b9bee1e292a7f239847a85f5fb"}},{"ruleId":"D1","level":"warning","message":{"text":"page.InfoPage (cyclomatic 24): page.InfoPage has cyclomatic complexity 24 (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":"dc-hub/app/info/page.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80a735bcbdf7cd46e510ab487e87e3674e3dd00654746b2b9b6db7efe2da780"}},{"ruleId":"D1","level":"warning","message":{"text":"_TransactionFlowDiagramState._handleHover (cyclomatic 23): _TransactionFlowDiagramState._handleHover 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":"bitwindow/lib/pages/explorer/widgets/transaction_flow_diagram.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab958ef6e17513d9645cbff67fad49d4defa17daaeb6d1ea4b97d78a8fe32a3"}},{"ruleId":"D1","level":"warning","message":{"text":"SidechainsViewModel.rpcForSlot (cyclomatic 23): SidechainsViewModel.rpcForSlot 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":"bitwindow/lib/pages/sidechains_page.dart"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db2091199857f64f95d0834ebbdb24758cd45b563417b518a180e8fd839c444"}},{"ruleId":"D1","level":"warning","message":{"text":"_L1RestartPageState.build (cyclomatic 23): _L1RestartPageState.build has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/l1_restart_page.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3c6c88923c1be60cf7aca2228056968e6db7cbc30a8f9c42e7fba052da1e7b"}},{"ruleId":"D1","level":"warning","message":{"text":"DaemonConnectionCard._buildCard (cyclomatic 23): DaemonConnectionCard._buildCard 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":"sail_ui/lib/widgets/components/daemon_connection_card.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb27e457fba71d1fa6447ed12c2d0b1ccef2e82c5481ed27f68082f52dae561"}},{"ruleId":"D1","level":"warning","message":{"text":"BackupEngine.CreateBackup (cyclomatic 23): BackupEngine.CreateBackup 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":"bitwindow/server/engines/backup_engine.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"09374bcc4af74412c729078b71e85be1e48be40056d019e5947d612f69c935fc"}},{"ruleId":"D1","level":"warning","message":{"text":"engines.DetectFileType (cyclomatic 23): engines.DetectFileType has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/bitdrive_engine.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca82498990c49b8c662c73b32b98b2908452a0199479d23728a5e1d35c05fec1"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.checkBurnPreview (cyclomatic 23): commands.checkBurnPreview has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/commands/wallet_burn_ecx.go"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"433dcf3a4bbdb69f47e6d209d7e0f2dea50acf9c2ead07569335ad921fb31258"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadManager.extractZipPreservingTree (cyclomatic 23): DownloadManager.extractZipPreservingTree 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":"sidechain-orchestrator/download.go"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"e807340ed7ea326a85459ceb8a5a9e07539924753c4f630c2e81b57a9944ef20"}},{"ruleId":"D1","level":"warning","message":{"text":"BmmEngine.tick (cyclomatic 23): BmmEngine.tick 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":"sidechain-orchestrator/engines/bmm_engine.go"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bb7c2958d15c6e6822a739b9167ca4e46ecddad6fb5e5b1b51aba9cd48f3f0"}},{"ruleId":"D1","level":"warning","message":{"text":"ElectrumBackend.scan (cyclomatic 23): ElectrumBackend.scan 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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":2511}}}],"partialFingerprints":{"codehealthFindingId/v1":"080f02d916242c841a78167ee6c1efcdf8100c26d86ca93dfc67230dde34bebb"}},{"ruleId":"D1","level":"warning","message":{"text":"_TransactionTableState.build (cyclomatic 22): _TransactionTableState.build 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":"bitwindow/lib/pages/wallet/wallet_overview.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c99ca22b7f92ed3cb3c4a77c69069b6a256692d126e0fd78a07d4ec58493b3"}},{"ruleId":"D1","level":"warning","message":{"text":"TransactionProvider.fetch (cyclomatic 22): TransactionProvider.fetch 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":"bitwindow/lib/providers/transactions_provider.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbf73f016e25b74d36ec0f6c4a65b49aad2b37bae2208b64572d81c6fc0c9dc"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateMultisigModal.build (cyclomatic 22): CreateMultisigModal.build 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":"bitwindow/lib/widgets/create_multisig_modal.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86947c19345fcd523c3d3a43e2c9312a5393931a471345c3fe2492acf131d7d"}},{"ruleId":"D1","level":"warning","message":{"text":"_SailTableState.build (cyclomatic 22): _SailTableState.build 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":"sail_ui/lib/widgets/components/table.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0e33c791730f3616c39c1c5125f3b3bf926a8aaaf8a5a62297d74fb7554e4c"}},{"ruleId":"D1","level":"warning","message":{"text":"_SailSliderState.build (cyclomatic 22): _SailSliderState.build 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":"sail_ui/lib/widgets/inputs/sail_slider.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d59e13029b18cdbf6722a3a1c0f8b0c8ac157d25c872c8d1a1165132c78a6e3"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.listTransactions (cyclomatic 22): Server.listTransactions 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":"bitwindow/server/api/wallet/wallet.go"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bf20ed4a72c44ee8b70e33a29d08f668f38cf203e7cb6db4843e5f1f769347"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.handleOpReturns (cyclomatic 22): Parser.handleOpReturns 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":"bitwindow/server/engines/bitcoind_engine.go"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e95adf020920cb5c78dee3a794535e692f67f0c80126f849f93b31da0a118e"}},{"ruleId":"D1","level":"warning","message":{"text":"EnforcerConfManager.GetCliArgs (cyclomatic 22): EnforcerConfManager.GetCliArgs 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":"sidechain-orchestrator/config/enforcer_conf.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ebb5dff106a0cede58e99e30cea4d937a344dee29fca23ec0627a03adaa364"}},{"ruleId":"D1","level":"warning","message":{"text":"corewalletfile.convertWallet (cyclomatic 22): corewalletfile.convertWallet has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/corewalletfile/convert.go"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e3f193dc31fcc4e9ba6fb5b32f8df01e66730933998100a5bba8b8b1c97a16"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.applyDiskECashSwitch (cyclomatic 22): Orchestrator.applyDiskECashSwitch 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":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"79057bdb7717b7fef9033e730ddf88ee6beb98df4145875d8505075dcf9f66f0"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.checkShareLocked (cyclomatic 22): Server.checkShareLocked 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":"sidechain-orchestrator/stratum/server.go"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25f8bf3695e727e809f1855198deb7f266f10e0321a2346a9327ba8dcb32005"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatPage.build (cyclomatic 21): ChatPage.build has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/chat_page.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cfe26cb2b0caa3968e7271033618643845567823bfc95fdc23f56767bee4bb"}},{"ruleId":"D1","level":"warning","message":{"text":"_ReceiveAddressesTableState.sortedEntries (cyclomatic 21): _ReceiveAddressesTableState.sortedEntries 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":"bitwindow/lib/pages/wallet/wallet_receive.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"81551a0a622a40461b84e32d73dd964c8137b2934e239bf091670e00496a05d0"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatProvider.sendMessage (cyclomatic 21): ChatProvider.sendMessage 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":"bitwindow/lib/providers/chat_provider.dart"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa88753c705f0ca543d467579949d5fa7f0df571cfc761c2fdb531d97d5854f"}},{"ruleId":"D1","level":"warning","message":{"text":"BitnamesSecureStore._loadSecure (cyclomatic 21): BitnamesSecureStore._loadSecure 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":"bitwindow/lib/services/bitnames_secure_store.dart"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9a830a2d225b07ee2899dc347f39e2e167c5df789f2dd870e2814f5008a3bb"}},{"ruleId":"D1","level":"warning","message":{"text":"__SailScaleButtonState.build (cyclomatic 21): __SailScaleButtonState.build has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/buttons/button.dart"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"81742c725dccdd405c9a84e361e255fa3ca096c0ed83ac597fa491a9addbf934"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.ListWithdrawals (cyclomatic 21): Server.ListWithdrawals has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/api/drivechain/drivechain.go"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af6f747ec0585dc3053e66b1c92c7fdf4575e4305808e4c6182345685baa49d"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.GetTransactionDetails (cyclomatic 21): Server.GetTransactionDetails 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":"bitwindow/server/api/wallet/wallet.go"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"851b0419a66ad2e7345b21063612b283482209c76273ed4719a484202910b5a9"}},{"ruleId":"D1","level":"warning","message":{"text":"main.realMain (cyclomatic 21): main.realMain has cyclomatic complexity 21 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 9 belong to 8 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/main.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"310ce957a838c6a8f277ab18809ae63c177b5873306e8c23f760498db5f1c366"}},{"ruleId":"D1","level":"warning","message":{"text":"MultisigLoungeHandler.RestoreHistory (cyclomatic 21): MultisigLoungeHandler.RestoreHistory 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":"sidechain-orchestrator/api/multisiglounge_handler.go"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee8a85eddaea68a905da578220b599fcf3adb6ba50afa2c4a1c8fb7f22b162d"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.GatherFilesToDelete (cyclomatic 21): Orchestrator.GatherFilesToDelete has cyclomatic complexity 21 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/reset.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"7905b658d95465544887853cdff79c0b815c12aa5d895db1f6f73fea11e90797"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.DeleteFiles (cyclomatic 21): Orchestrator.DeleteFiles has cyclomatic complexity 21 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/reset.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd587c2e3e466b6fe63493525552f65cd9a16fe5a044ba53eb2474a4f3ab9eb"}},{"ruleId":"D1","level":"warning","message":{"text":"wallet.ParseDescriptorAs (cyclomatic 21): wallet.ParseDescriptorAs 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":"sidechain-orchestrator/wallet/descriptor.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a02585a95f198c5f7862b336d74323ddb26c86386514934a403d3fc26a79dbc"}},{"ruleId":"D1","level":"warning","message":{"text":"CoreBackend.CreatePSBT (cyclomatic 21): CoreBackend.CreatePSBT 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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce98173d3a76e76335270d2d2f1765098976746b3314f8b902dcd635adb1a51b"}},{"ruleId":"D1","level":"warning","message":{"text":"_DepositModalState._getSidechainRPC (cyclomatic 20): _DepositModalState._getSidechainRPC 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":"bitwindow/lib/pages/sidechains_page.dart"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c1a686041f7f8d81f684a2939f3d2a820baa81ab6d97cd64a7e8a5bf049de9"}},{"ruleId":"D1","level":"warning","message":{"text":"_PriceCardState.build (cyclomatic 20): _PriceCardState.build has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"truthcoin/lib/pages/market_detail_page.dart"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cd81c94959a7b423e383e17254b6e4781bcec9f0b9fe3665b09e73f4734c24"}},{"ruleId":"D1","level":"warning","message":{"text":"BackendStateProvider._rpcForBinaryName (cyclomatic 20): BackendStateProvider._rpcForBinaryName 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":"sidechain_core/lib/providers/backend_state_provider.dart"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"073aae9139110b628637bd2e8f924f6f4a4f3a70b196948d9396d724a1e51cbc"}},{"ruleId":"D1","level":"warning","message":{"text":"_HardwareDevicePickerState._deviceTile (cyclomatic 20): _HardwareDevicePickerState._deviceTile 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":"bitwindow/lib/widgets/hardware_device_picker.dart"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da0b80d339fc1110a86c57d9a3bad3744ed431ce2b6487fe767c2a505f28f01"}},{"ruleId":"D1","level":"warning","message":{"text":"ChequeEngine.recoverChequesOnUnlock (cyclomatic 20): ChequeEngine.recoverChequesOnUnlock 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":"bitwindow/server/engines/cheque_engine.go"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce862a91d89da232c68c570632e2bdaefa9a6a294daa965e0d3f7e6d56c8bd46"}},{"ruleId":"D1","level":"warning","message":{"text":"M4Engine.ApplyPendingM4 (cyclomatic 20): M4Engine.ApplyPendingM4 has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/m4_engine.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b967c7840aaf98b10582750658ebfb04f3b29969f62c0233377e4d751e5eb4"}},{"ruleId":"D1","level":"warning","message":{"text":"BitcoinConfHandler.SetBitcoinConfigNetwork (cyclomatic 20): BitcoinConfHandler.SetBitcoinConfigNetwork 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":"sidechain-orchestrator/api/bitcoin_conf_handler.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9162510944bc12133f9b96fa7dc45a90e6c938d581d970dcc7c96e8a4d224f8a"}},{"ruleId":"D1","level":"warning","message":{"text":"blockfile.run (cyclomatic 20): blockfile.run 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":"sidechain-orchestrator/blockfile/convert.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92fe55e5187cc803bb726bcc7842f4ae6ad72241fc2355177e01d62c28461bd"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionMonitor.testConnection (cyclomatic 20): ConnectionMonitor.testConnection 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":"sidechain-orchestrator/connection_monitor.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95d39dd505f94a175b3bde71f4e07f717e059019d152c62e46091cf84b11314"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.newMigration (cyclomatic 20): Orchestrator.newMigration 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":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"327bcfc911e7eedf98a95096c0775c980ee74562adb938d35657b2da2e5e9a82"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.StartECashMigration (cyclomatic 20): Orchestrator.StartECashMigration 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":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e19d0c9958d6de19edb21971f9d4ad845cbdc80fdd51baa816610aef65f0406"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.RestartDaemon (cyclomatic 20): Orchestrator.RestartDaemon has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 1762). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":1743}}}],"partialFingerprints":{"codehealthFindingId/v1":"485b5e0301fff8f1be65ad0c4b127b4b7036f23113b28939b457fdfea12219a2"}},{"ruleId":"D1","level":"warning","message":{"text":"wallet.verifyInputScript (cyclomatic 20): wallet.verifyInputScript 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":"sidechain-orchestrator/wallet/multisiglounge.go"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3ec4375c9969dd54b45997f4a3e8e9120dfc32135b89e6f21fce8f7408d984"}},{"ruleId":"D1","level":"warning","message":{"text":"CoreBackend.BumpFee (cyclomatic 20): CoreBackend.BumpFee 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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff04d58e2e3868202073f47cce465f2e5df24d424d6113b12a2ad24caa9a3d80"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.SyncBalance (cyclomatic 20): Service.SyncBalance 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":"sidechain-orchestrator/wallet/metadata.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"168a18daf4bd8bb7408ee67addf88bb17482f57381bd441841c8ceca132c4886"}},{"ruleId":"D1","level":"warning","message":{"text":"explorer-client.BlockCard (cyclomatic 20): explorer-client.BlockCard 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":"dc-hub/app/sidechains/explorer-client.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79f2f871ffb0cd7d1c31796afb362bf6b689fe21a410467498182bfa87ea4d5"}},{"ruleId":"D1","level":"warning","message":{"text":"_SettingsNetworkState.build (cyclomatic 19): _SettingsNetworkState.build 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":"bitwindow/lib/pages/settings/settings_network.dart"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0cc3d4ec035427d9f4d86b109dbdb57a913a6554b293620f37fad88ce5bf36b"}},{"ruleId":"D1","level":"warning","message":{"text":"_DeniabilityTableState.build (cyclomatic 19): _DeniabilityTableState.build 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":"bitwindow/lib/pages/wallet/denability_page.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ac123d62f35cc1cb57d8dccdf4b36a602144053f745c29dd58a3f4ebe05ce0"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsolidationProvider.start (cyclomatic 19): ConsolidationProvider.start 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":"bitwindow/lib/providers/consolidation_provider.dart"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56e9083ee612a254e696181dd93a3ef7b8dd9a0bbde6d19b46543adab957697"}},{"ruleId":"D1","level":"warning","message":{"text":"_HashCalculatorState._buildHashResults (cyclomatic 19): _HashCalculatorState._buildHashResults 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":"bitwindow/lib/widgets/hash_calculator_modal.dart"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d7b575d8f21a8346b29d2865cdbeba94d536fa8bae027a5278b3a9571b4167"}},{"ruleId":"D1","level":"warning","message":{"text":"_ImportPSBTModalState.build (cyclomatic 19): _ImportPSBTModalState.build 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":"bitwindow/lib/widgets/import_psbt_modal.dart"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae107b5df127a2386cc95eff6ede745821b2f4a6b25481a2708d83599ec0efbe"}},{"ruleId":"D1","level":"warning","message":{"text":"SailTextField.build (cyclomatic 19): SailTextField.build has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/inputs/text_field.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc65a0ab737514eef6eea20ff33149abd0308e8f5e71953023443f09abc59253"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.ImportLabels (cyclomatic 19): Server.ImportLabels 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":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"d976fb5c9f2c052dc00b2f010a1863044559683ec01813730bfd2cfc5195d1c5"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.ListBlocks (cyclomatic 19): Server.ListBlocks has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f6decd56735d94ca89581432785d05fff798d1557492b0139cbaf5d0e1a7df"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.ListRecentTransactions (cyclomatic 19): Server.ListRecentTransactions 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":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f66ca5e3b7e16f5a0b35935eaa6e03ad4bbdc3c2420741218d9c3b46fc50686"}},{"ruleId":"D1","level":"warning","message":{"text":"BackupEngine.validateZIP (cyclomatic 19): BackupEngine.validateZIP 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":"bitwindow/server/engines/backup_engine.go"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"e172695315bf2f2ced7b112d9ef0105d038e986a27228e75fede2f4bb0b0a647"}},{"ruleId":"D1","level":"warning","message":{"text":"DeniabilityEngine.hopOutputsInHistory (cyclomatic 19): DeniabilityEngine.hopOutputsInHistory has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/deniability_engine.go"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cd9756051f50fb864a2dff875fb9fecbc85007019623d49817339d82bca3b1"}},{"ruleId":"D1","level":"warning","message":{"text":"Builder.build (cyclomatic 19): Builder.build 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":"difficulty/state.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c36acf9830121bf026bcc47d488166f1e050502949d7ccd30fa22c8c337429"}},{"ruleId":"D1","level":"warning","message":{"text":"api.nodeTransaction (cyclomatic 19): api.nodeTransaction 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":"sidechain-orchestrator/api/explorer_core.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea424c2caceac2ec24a5bfadf146d8a6f7e73d3c783fc8bd377f4849eb807ce9"}},{"ruleId":"D1","level":"warning","message":{"text":"BMMHandler.CreateBid (cyclomatic 19): BMMHandler.CreateBid 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":"sidechain-orchestrator/api/bmm_handler.go"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"c436fa77d9f15adacf56a574a1f71d12fc1547c6931b3f024ef14f736d243a71"}},{"ruleId":"D1","level":"warning","message":{"text":"WalletHandler.bip47NotificationCoin (cyclomatic 19): WalletHandler.bip47NotificationCoin 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":"sidechain-orchestrator/api/bip47_send.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfda61c6b94d0b20c4577f210ae92fe6a83345ae7a5c92e9a6cbb3a107d3240b"}},{"ruleId":"D1","level":"warning","message":{"text":"WalletHandler.SendTransaction (cyclomatic 19): WalletHandler.SendTransaction 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":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"61624a99ca4ba03b1b3a27816fb5cccf04dce7d37015419f7b69e719caac5084"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.ReadDatadirNetwork (cyclomatic 19): Orchestrator.ReadDatadirNetwork has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/datadir_network.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff88225077f1fc5c2cfe06852fdba6d1f9248f46489dfb8d7bffbdb07ddc527"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.ReleaseStrandedTxs (cyclomatic 19): Orchestrator.ReleaseStrandedTxs 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":"sidechain-orchestrator/stranded_release.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bb4c56f7cff1ec11ad11b16754ce06cf20ca98e43309173417bd97ba15fdf0"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.handle (cyclomatic 19): Server.handle 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":"sidechain-orchestrator/stratum/server.go"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"8961d8cf20265eb59956add6f62e61fceab293a1b7c8538d12922aaa7627be12"}},{"ruleId":"D1","level":"warning","message":{"text":"wallet.StrandedTxIDs (cyclomatic 19): wallet.StrandedTxIDs has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/core_stranded.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8e7006fa6661d7b85ad990c458c76155a4bda123e9d7397feb7c5b4d7d45fd"}},{"ruleId":"D1","level":"warning","message":{"text":"wallet.DeriveKeystore (cyclomatic 19): wallet.DeriveKeystore 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":"sidechain-orchestrator/wallet/derive_keystore.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b0240dcc130070ce61cc018443394cd4e55cb44769ed56f3b2c5067dfaae5a"}},{"ruleId":"D1","level":"warning","message":{"text":"wallet.verifyTaprootSigs (cyclomatic 19): wallet.verifyTaprootSigs 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":"sidechain-orchestrator/wallet/psbt.go"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4677fda7138a23c95ea7c0e418cd5f3fae83626ad02b9307270a5e949a94d2"}},{"ruleId":"D1","level":"warning","message":{"text":"CoreBackend.previewBumpFee (cyclomatic 19): CoreBackend.previewBumpFee 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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"977e3b168942d2e8cd6baa637de089fe624dc332bbf6201ad79861e98d67d7d3"}},{"ruleId":"D1","level":"warning","message":{"text":"ElectrumBackend.DetectScriptKind (cyclomatic 19): ElectrumBackend.DetectScriptKind 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":"sidechain-orchestrator/wallet/detect_script_kind.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ff2dc82aeb140c8576c3b53674cadfcb8393eb0e47e50689a18e2c1fa4023d"}},{"ruleId":"D1","level":"warning","message":{"text":"ElectrumBackend.BumpFee (cyclomatic 19): ElectrumBackend.BumpFee 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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":1778}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ad11e9a4d99158971f9bc0996ad1f36a1a9b8c50e45249c03fd7a9737da029"}},{"ruleId":"D1","level":"warning","message":{"text":"EsploraClient.doWith (cyclomatic 19): EsploraClient.doWith 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":"sidechain-orchestrator/wallet/esplora.go"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde92908d80bf2a6d9da37a7b560674d5bd07f329ecf93db03fddb208c77fb5e"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.loadWalletFile (cyclomatic 19): Service.loadWalletFile 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":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"b785098bf6504ac193bfa18d667bf1ad9dfc29ba2aed070609c7ea7d1992f228"}},{"ruleId":"D1","level":"warning","message":{"text":"Binary._getPossibleBinaryPaths (cyclomatic 18): Binary._getPossibleBinaryPaths 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":"sidechain_core/lib/config/binaries.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"326704c9d4835765bf2f7a22d31703da4b2583c07198ffdaa184cf43ed6d880e"}},{"ruleId":"D1","level":"warning","message":{"text":"Market.fromJson (cyclomatic 18): Market.fromJson 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":"truthcoin/lib/models/market.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fff6467ea8e9d39977ec02994ea5db1b044a15a4316abc918fe8435dd4779d2"}},{"ruleId":"D1","level":"warning","message":{"text":"BitnamesViewModel._registerBitname (cyclomatic 18): BitnamesViewModel._registerBitname 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":"bitnames/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2747009df96e100cf9adaf0c5d24f16d5d105b6dc0b7dcf0bc4a987c553b971"}},{"ruleId":"D1","level":"warning","message":{"text":"CheckDetailPage.build (cyclomatic 18): CheckDetailPage.build has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/check_detail_page.dart"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"37dd3090c62820a0d9358ad5245a5b41dc8b8f57e39e6cade4fe76ab44f7204c"}},{"ruleId":"D1","level":"warning","message":{"text":"_MultisigConfigStepState._onPathChanged (cyclomatic 18): _MultisigConfigStepState._onPathChanged 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":"bitwindow/lib/pages/welcome/multisig_config_step.dart"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70ded0c51de138f8a243079c4f334daaaf86bf368c3614594a8060e76ef8549"}},{"ruleId":"D1","level":"warning","message":{"text":"_UTXOsTableState.build (cyclomatic 18): _UTXOsTableState.build has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zside/lib/pages/tabs/zside/zside_melt_cast_page.dart"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"136ead7dae70a5fe4a1d1508b67b5570bc31031614cd71668be992a7d610fb84"}},{"ruleId":"D1","level":"warning","message":{"text":"BitnamesSecureStore._decryptSlot (cyclomatic 18): BitnamesSecureStore._decryptSlot 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":"bitwindow/lib/services/bitnames_secure_store.dart"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"efee853ee9a35cd00661e6721f2eaef5025c39462e59ce097ded4c760026c24f"}},{"ruleId":"D1","level":"warning","message":{"text":"_SailTableState._autoSizeColumns (cyclomatic 18): _SailTableState._autoSizeColumns 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":"sail_ui/lib/widgets/components/table.dart"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"810ceb82ca803af7ccd1db8af93b8ab3aa6d226bc30c15df30307c2e8c3f6857"}},{"ruleId":"D1","level":"warning","message":{"text":"BottomNavViewModel.connectionColor (cyclomatic 18): BottomNavViewModel.connectionColor 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":"sail_ui/lib/widgets/nav/bottom_nav.dart"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64f8eda4524c9b6e3b06578e1bb27ea7d4821df095b2f8fa5843d1fed75ba0e"}},{"ruleId":"D1","level":"warning","message":{"text":"ChainLoaders.build (cyclomatic 18): ChainLoaders.build has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/nav/bottom_nav.dart"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83899aa7080d6cb1c3b6bb77ea63b7838a162276770e556d88cd6f65fe3b597"}},{"ruleId":"D1","level":"warning","message":{"text":"BackupEngine.exportMultisigJSON (cyclomatic 18): BackupEngine.exportMultisigJSON 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":"bitwindow/server/engines/backup_engine.go"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc747d506ff4d43a94a150d1fd6a673875a884ef5b20e77cb4c70d3a145abf07"}},{"ruleId":"D1","level":"warning","message":{"text":"engines.selectBranchAndBound (cyclomatic 18): engines.selectBranchAndBound has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/coin_selection.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8f81513b1394a211eae2111a4e436c3536b5d4cfbca18e3e1470ea1bc79ba7"}},{"ruleId":"D1","level":"warning","message":{"text":"engines.ParseBitcoinURI (cyclomatic 18): engines.ParseBitcoinURI 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":"bitwindow/server/engines/utils_engine.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9faa44409f3c3704005d9e81fb75b6c35c7cd12ed9020afc14cc36176008dc96"}},{"ruleId":"D1","level":"warning","message":{"text":"DeniabilityEngine.ProcessUTXO (cyclomatic 18): DeniabilityEngine.ProcessUTXO 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":"bitwindow/server/engines/deniability_engine.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5721113c8082bad0feacc6315faabcd6b8bc1041249c59653eb17230e5d3cd"}},{"ruleId":"D1","level":"warning","message":{"text":"MempoolWatcher.handle (cyclomatic 18): MempoolWatcher.handle has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/mempool_watch_engine.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5598fd75a1592b4ebe84ce844b39b2b79c93f4e55eae1bff9e88f395c3bbcc"}},{"ruleId":"D1","level":"warning","message":{"text":"BMMHandler.readWalletCoins (cyclomatic 18): BMMHandler.readWalletCoins 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":"sidechain-orchestrator/api/bmm_handler.go"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c2496bccd7a1178bada8baf5cfb666ad92b48b55b81d7dfa61abaeb67d1bb8"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.checkMigration (cyclomatic 18): Orchestrator.checkMigration 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":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dac1ea3e8bf79e54c298327daa3c814c38c168b14457fe6b4ec779baf0a00ec"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.PlanNetworkChange (cyclomatic 18): Orchestrator.PlanNetworkChange 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":"sidechain-orchestrator/network_change_plan.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8b032958c3d20e45e0343cacbc1dbf12be7e9509cd9c59365efc255e500f6d"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.StatusWithOptions (cyclomatic 18): Orchestrator.StatusWithOptions 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":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d06a3a8a116ab4d8c936347c2dfe9b6d6b8f9ce60dbc7c98610df4956c5882e"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.AdoptOrphans (cyclomatic 18): Orchestrator.AdoptOrphans 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":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":2604}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4d5eeb89ca4fdaf8a36aaf16d02d0060b6b557c8f366e73099d3f6a81cc2ae"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.ReloadSidechainWallets (cyclomatic 18): Orchestrator.ReloadSidechainWallets has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain_wallet_state.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b2edd43f960b2644509fb25b204494bccfe5a2b2b71896ca872e6919d63985"}},{"ruleId":"D1","level":"warning","message":{"text":"testharness.findBitcoind (cyclomatic 18): testharness.findBitcoind 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":"sidechain-orchestrator/testharness/bitcoind.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2751a8cdd8380ed194d53fef5ae1f397d0046be53dddf488b76aa5c9d0b28d00"}},{"ruleId":"D1","level":"warning","message":{"text":"ElectrumBackend.CreateCpfp (cyclomatic 18): ElectrumBackend.CreateCpfp 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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":1978}}}],"partialFingerprints":{"codehealthFindingId/v1":"815c24b41fe36faa51f38d843fa04301f76702e550a9633fceddee2ae339e399"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.DeleteAllWallets (cyclomatic 18): Service.DeleteAllWallets 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":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":1610}}}],"partialFingerprints":{"codehealthFindingId/v1":"929eb91f00c7b4fd2b2335ab8317fb36b6171e5896d6223a7f5cdc08d0eace94"}},{"ruleId":"D1","level":"warning","message":{"text":"SidechainsViewModel._sidechainRPC (cyclomatic 17): SidechainsViewModel._sidechainRPC 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":"bitwindow/lib/pages/sidechains_page.dart"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95d777229bd22e25ab16ef5fa1114d46fcbfde5d56c0b6a12abb161c6be3719"}},{"ruleId":"D1","level":"warning","message":{"text":"MultisigLoungeViewModel._validateAndFixWalletFlags (cyclomatic 17): MultisigLoungeViewModel._validateAndFixWalletFlags 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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"8291904d9dc8bf79f32ef22a490c3b7c2d08eba917f8b9b186a096b1ba1f14c0"}},{"ruleId":"D1","level":"warning","message":{"text":"_FileLogsTabState._parseAnsiCodes (cyclomatic 17): _FileLogsTabState._parseAnsiCodes has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/log_page.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd02b639aed336be2e411d1c1e80586b9fa16c155448af027f29621498035a68"}},{"ruleId":"D1","level":"warning","message":{"text":"ChangeTrackingMixin._deepEquals (cyclomatic 17): ChangeTrackingMixin._deepEquals 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":"sidechain_core/lib/utils/change_tracker.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8537d240c61ff8e9fd6b982302611a124b274e8f941eee910c36ad7fe5a105b3"}},{"ruleId":"D1","level":"warning","message":{"text":"_SailPopoverState._targetAnchor (cyclomatic 17): _SailPopoverState._targetAnchor has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (_SailPopoverState._followerAnchor) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/containers/sail_popover.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4d374b1ef4a1462b8a5d04aa13e52a590ae12f8e0efc6743e50b25a9799f54"}},{"ruleId":"D1","level":"warning","message":{"text":"_SailPopoverState._followerAnchor (cyclomatic 17): _SailPopoverState._followerAnchor has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (_SailPopoverState._targetAnchor) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/containers/sail_popover.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5eb039a38a1fe3fd4acd984bf95b99cf38f747936a4cd250099a529caaafad"}},{"ruleId":"D1","level":"warning","message":{"text":"_SailTooltipState._buildOverlay (cyclomatic 17): _SailTooltipState._buildOverlay has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/feedback/sail_tooltip.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b27924cf00a1230d60d7a076ca3eb3813574c624ce1f4ece6515d096070fc1"}},{"ruleId":"D1","level":"warning","message":{"text":"_SailCheckboxState.build (cyclomatic 17): _SailCheckboxState.build has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/inputs/checkbox.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4835228cef2705c9e39f81327d8c44b3a866e8e6bdbcf2cdb49edc11523104ea"}},{"ruleId":"D1","level":"warning","message":{"text":"_ResetConfirmationPageState._startDeletion (cyclomatic 17): _ResetConfirmationPageState._startDeletion 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":"sail_ui/lib/widgets/reset/reset_confirmation_page.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d2b33578c62dbf1a2d7d5f419837740a589de1fc5c74a4bae7014912b75b7e"}},{"ruleId":"D1","level":"warning","message":{"text":"_ResetConfirmationPageState._buildContent (cyclomatic 17): _ResetConfirmationPageState._buildContent 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":"sail_ui/lib/widgets/reset/reset_confirmation_page.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7519c435cde9fe7712f675ce94a3df0194643df40bada2c7dd98abd1bd5c7fb"}},{"ruleId":"D1","level":"warning","message":{"text":"MempoolWatcher.watch (cyclomatic 17): MempoolWatcher.watch 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":"bitwindow/server/engines/mempool_watch_engine.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"6375794d1438644f1cbbd656a1a7a27ba895292fe4856f79ffb4b156334af159"}},{"ruleId":"D1","level":"warning","message":{"text":"TimestampEngine.checkConfirmations (cyclomatic 17): TimestampEngine.checkConfirmations 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":"bitwindow/server/engines/timestamp_engine.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bbbbf0f58864cd531b583284afdddff15dc271b133d9c192fef404db47dd18"}},{"ruleId":"D1","level":"warning","message":{"text":"cheques.ImportBackupTx (cyclomatic 17): cheques.ImportBackupTx 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":"bitwindow/server/models/cheques/backup.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a75753596c33077139ccd56fc46ec362438fb41ee897891c5604ec0a394121"}},{"ruleId":"D1","level":"warning","message":{"text":"cheques.CreateOrUpdateFromRecoveryVersioned (cyclomatic 17): cheques.CreateOrUpdateFromRecoveryVersioned 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":"bitwindow/server/models/cheques/cheques.go"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac7e88f2a5ec4b1f8de039ed504c06e3e8ad9b0ebe69b813096f86dd1a0814f"}},{"ruleId":"D1","level":"warning","message":{"text":"MultisigLoungeHandler.SignTransaction (cyclomatic 17): MultisigLoungeHandler.SignTransaction has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/multisiglounge_handler.go"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51d486cb7e074177475be807eaed04b6de83441be84aec6172c67edbc1e1cf2"}},{"ruleId":"D1","level":"warning","message":{"text":"WalletHandler.GetTransactionDetails (cyclomatic 17): WalletHandler.GetTransactionDetails 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":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a973f8f9dfa92a7424c5fba240f47b933f0ec6dc22cd57d78e75ac3a3721b8"}},{"ruleId":"D1","level":"warning","message":{"text":"orchestrator.alignECashState (cyclomatic 17): orchestrator.alignECashState 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":"sidechain-orchestrator/ecash_sidechain_state.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"039f88737d312cb9f7434fbf04109907efdfb394f61811ff052296e02ccee8b6"}},{"ruleId":"D1","level":"warning","message":{"text":"config.ParseBitcoinConfig (cyclomatic 17): config.ParseBitcoinConfig 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":"sidechain-orchestrator/config/bitcoin_config.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4546eb4381c2271e1cc9d618d4083800c13540156a4977869526cddda2f41542"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.stopMigrationNodes (cyclomatic 17): Orchestrator.stopMigrationNodes 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":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65ce4b61e3b791ccdc43d8ff1bfdfb7a82cfbc5d3792af57c570b24ceb8764b"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.prepareRemoteSidechainArgs (cyclomatic 17): Orchestrator.prepareRemoteSidechainArgs 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":"sidechain-orchestrator/remote_enforcer.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ca0f092115275d565af85ecb42ac52d45b13b3e101f89bdf17ab41cd14c713"}},{"ruleId":"D1","level":"warning","message":{"text":"wallet.createAndImport (cyclomatic 17): wallet.createAndImport 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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":2024}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c9d0e112b6714e0e8225980aa11ab7ae29f9ea2389bdb443fdeb972ad4dbeb"}},{"ruleId":"D1","level":"warning","message":{"text":"wallet.KeystorePathScriptType (cyclomatic 17): wallet.KeystorePathScriptType 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":"sidechain-orchestrator/wallet/derivation.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7bd3058816c04d9b7d55ae6b3ff2dbd3c856ba7e134100a2a6714c85b602ea"}},{"ruleId":"D1","level":"warning","message":{"text":"wallet.parseColdcardConfig (cyclomatic 17): wallet.parseColdcardConfig 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":"sidechain-orchestrator/wallet/multisig_config_import.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd81aa330c62cbb8e562d350b4a5fc2e49ead9ddc039c0a17e11ce29486e7064"}},{"ruleId":"D1","level":"warning","message":{"text":"wallet.ValidateMultisigPsbt (cyclomatic 17): wallet.ValidateMultisigPsbt 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":"sidechain-orchestrator/wallet/multisiglounge.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"abeeddb1b60312c8e743ccf515933cd2efe3a5d24eba5637442ccda0945301a4"}},{"ruleId":"D1","level":"warning","message":{"text":"CoreBackend.CreateCpfp (cyclomatic 17): CoreBackend.CreateCpfp has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"a147f7f12bc00a96b840d5312e6eaaae0178ecfc7ca1a6095816e69189844faf"}},{"ruleId":"D1","level":"warning","message":{"text":"ElectrumBackend.ListReceivedByAddress (cyclomatic 17): ElectrumBackend.ListReceivedByAddress 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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"412e2e0ec2781d7f6d534316b04e584e6bfd215ba9b09270ddaa1367eeaf89ea"}},{"ruleId":"D1","level":"warning","message":{"text":"ElectrumBackend.SignPSBTWithCosigner (cyclomatic 17): ElectrumBackend.SignPSBTWithCosigner 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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba67ef40c5355797a1c3eee9748c9ae3dbce232edb698535e40c43258905415a"}},{"ruleId":"D1","level":"warning","message":{"text":"ElectrumBackend.previewBumpFee (cyclomatic 17): ElectrumBackend.previewBumpFee 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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aee0bd0ec44dd154a3fbdbcc7aa8aabc95a0fc9a5a5c3a09f23e2e730d14346"}},{"ruleId":"D1","level":"warning","message":{"text":"ElectrumBackend.hydrate (cyclomatic 17): ElectrumBackend.hydrate 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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":3072}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a88fe804c4f7d72c5952676c5904fdecf72080232cc176316dd224980ead41"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkChainSource.current (cyclomatic 17): NetworkChainSource.current 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":"sidechain-orchestrator/wallet/network_chain_source.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b11917d83e449d5b81233482768be4df5ed4f40535ed5965f2db596866f07f"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.restoreWalletBackup (cyclomatic 17): Service.restoreWalletBackup has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 246, 222, 197, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/metadata.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebcde958de7f8f08da5a7247d0f1d2d6386727cc1f5eb2cb01c9afad96a8947"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.startWatcher (cyclomatic 17): Service.startWatcher has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 2198). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":2184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60d28837455f1aa11e4f641a73d9be7c535301d6bb5649da117dc1d2866c9cc"}},{"ruleId":"D1","level":"warning","message":{"text":"walletfile.Write (cyclomatic 17): walletfile.Write 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":"sidechain-orchestrator/walletfile/walletfile.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"61172cb638a947374cb81e6133df7d791c0e77437b8109e9766c4ad070ab96e1"}},{"ruleId":"D1","level":"warning","message":{"text":"_NetworkStatisticsPageState.build (cyclomatic 16): _NetworkStatisticsPageState.build has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/dialogs/network_statistics_dialog.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b256dc049caa08a0aea6b0cb0903b22dc21f7b0d2cfbf6380ad600adf22a4816"}},{"ruleId":"D1","level":"warning","message":{"text":"NewDecisionDraft.error (cyclomatic 16): NewDecisionDraft.error 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":"truthcoin/lib/models/market_creation.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa765fc22127b7ba2993bf471f9713c5e4dd87a12a57c60fe7d5626b7d6155c8"}},{"ruleId":"D1","level":"warning","message":{"text":"_SettingsResetState._executeReset (cyclomatic 16): _SettingsResetState._executeReset 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":"bitwindow/lib/pages/settings/settings_reset.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7ea6d11ea896d646a18d2031f669b8fc829ba5f9b40f8a2deca76de295757e"}},{"ruleId":"D1","level":"warning","message":{"text":"_MultisigTransactionsTableState._updateSortedTransactions (cyclomatic 16): _MultisigTransactionsTableState._updateSortedTransactions has cyclomatic complexity 16 (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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef3cce90c731c2f7bdaa1c821118e32df8fe4a2d77955e1997d205f9bf2f8dc"}},{"ruleId":"D1","level":"warning","message":{"text":"MultisigLoungeViewModel.signTransaction (cyclomatic 16): MultisigLoungeViewModel.signTransaction 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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6c0499651495b13ad3e5b0f159993b7f7a5eb25aa90cc4877d1ba9d175d1de"}},{"ruleId":"D1","level":"warning","message":{"text":"_UTXODistributionChartState.build (cyclomatic 16): _UTXODistributionChartState.build 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":"bitwindow/lib/pages/wallet/widgets/utxo_distribution_chart.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39be96746d21af85d639cb1ffe01fd4582780d21f951a09422837f632965ed2"}},{"ruleId":"D1","level":"warning","message":{"text":"_SailCreateWalletPageState._handleRestore (cyclomatic 16): _SailCreateWalletPageState._handleRestore 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":"sail_ui/lib/pages/create_wallet_page.dart"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"697eced36b8779dd4544d2cc1c36f8a6a9c1aeb50d370a01030bbe197bf01b62"}},{"ruleId":"D1","level":"warning","message":{"text":"BlockchainProvider.fetch (cyclomatic 16): BlockchainProvider.fetch 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":"bitwindow/lib/providers/blockchain_provider.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c40df2e61e1a51a96dd4dba7e08fdf0e3fa81d7491cce235fd1ca6fb22541ae"}},{"ruleId":"D1","level":"warning","message":{"text":"MempoolProvider.fetch (cyclomatic 16): MempoolProvider.fetch 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":"bitwindow/lib/providers/mempool_provider.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4861830646460d4876960d1a049aa51fb16298e553e85a3fa07dfa59d1c1d2"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessManager.start (cyclomatic 16): ProcessManager.start 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":"sidechain_core/lib/providers/binaries/managers/process_manager.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0131904e32aa070671a4beb932216e64821ec6c3051c8ceab3045267258f2c"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowProvider.open (cyclomatic 16): WindowProvider.open 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":"sidechain_core/lib/providers/window_provider.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8d7bc3bcef5130461fd1cd570d7367bd3df403fedd1ca148dc3c65f3005462"}},{"ruleId":"D1","level":"warning","message":{"text":"_SailTableState.didUpdateWidget (cyclomatic 16): _SailTableState.didUpdateWidget 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":"sail_ui/lib/widgets/components/table.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed75198f1b393a27b7665e77bed532aefead1f8c3a8b010f39ff449ae296fb33"}},{"ruleId":"D1","level":"warning","message":{"text":"_SidechainRPCMethodsTabState._parseJsonArray (cyclomatic 16): _SidechainRPCMethodsTabState._parseJsonArray 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":"sail_ui/lib/widgets/debug/sidechain_debug_window.dart"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df7fbce21d4e46fad3117ed33564ab4c830c4565b6592e30caae08c7eb80c99"}},{"ruleId":"D1","level":"warning","message":{"text":"HomepageBuilder.build (cyclomatic 16): HomepageBuilder.build 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":"sail_ui/lib/widgets/homepage/homepage_builder.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"086431bccfc7746e723f3408f163ffb9e679197ef6946f41dcc5abda01ee1577"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.CreateDenial (cyclomatic 16): Server.CreateDenial 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":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5e82fe3f50e9066eb5d0b2c539a075d7ca862846921ce03c70c5ad5b1fbf75"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.CreateSidechainDeposit (cyclomatic 16): Server.CreateSidechainDeposit 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":"bitwindow/server/api/wallet/wallet.go"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ad80102faccf0807257563cd1f4c141000ef3da8ef6e9c5f212692a6860d4e"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.depositPendingSats (cyclomatic 16): Handler.depositPendingSats 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":"sidechain-orchestrator/api/deposit_balance.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"35448842c5f384bf9f0e9e7e34dfdc9f216cbf9ccb3be2b69e6984f26c971ba9"}},{"ruleId":"D1","level":"warning","message":{"text":"orchestrator.New (cyclomatic 16): orchestrator.New has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 406, 440, 392, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"796d225a7afc7c61fb72ecfb1d76ae3d62c42592d0a1ad6bc4885daa9363a99c"}},{"ruleId":"D1","level":"warning","message":{"text":"orchestrator.alignWalletState (cyclomatic 16): orchestrator.alignWalletState 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":"sidechain-orchestrator/sidechain_wallet_state.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88daaeb52bca97901f330f99b198b5171717d22f91a68526701fe25dabf6152"}},{"ruleId":"D1","level":"warning","message":{"text":"blockfile.preflight (cyclomatic 16): blockfile.preflight 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":"sidechain-orchestrator/blockfile/convert.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"012160580ad44acf35f3b48764add2b6f9211b6960e2c5fecc3b97df6ad4a132"}},{"ruleId":"D1","level":"warning","message":{"text":"blockfile.convertFile (cyclomatic 16): blockfile.convertFile 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":"sidechain-orchestrator/blockfile/convert.go"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7217a13ce8809bc3573ca8c39625e44a01809f469b1a079c6cef08228bc4c2e"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.printStratumStatus (cyclomatic 16): commands.printStratumStatus 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":"sidechain-orchestrator/commands/mining.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b959ccc095fc1e145cb302811a60477745f036a2a863293c921fb7bd99e2cf"}},{"ruleId":"D1","level":"warning","message":{"text":"corewalletfile.makeJournal (cyclomatic 16): corewalletfile.makeJournal 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":"sidechain-orchestrator/corewalletfile/convert.go"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"af09ed89426c891cd256168d03dc4877aa12ef98721a3eba8e58e397d520eada"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadManager.downloadFile (cyclomatic 16): DownloadManager.downloadFile 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":"sidechain-orchestrator/download.go"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cfd4f8179412517ffd7be14a91da804c20d904bc7f8d39ef0a0bad61c16ae5"}},{"ruleId":"D1","level":"warning","message":{"text":"BIP47Engine.scanWallet (cyclomatic 16): BIP47Engine.scanWallet 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":"sidechain-orchestrator/engines/bip47_engine.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab48e94ddff77a7b9621cfc63f590d33a51efce1ded5bdc7d022873b768375f4"}},{"ruleId":"D1","level":"warning","message":{"text":"SplitEngine.tick (cyclomatic 16): SplitEngine.tick 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":"sidechain-orchestrator/engines/split_engine.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"7237e5a2500ab700ed6bb88a5a3f15932ddab7ddbbc33587a35fa221210892f0"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.checkECashMigrationStart (cyclomatic 16): Orchestrator.checkECashMigrationStart 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":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1381181dd0b614395f4b236b29a9ac2f004208037331bbeb844b76089ed9500"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.startMigrationCore (cyclomatic 16): Orchestrator.startMigrationCore 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":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"01716bfa9c07eccb0179e809e813f577a0c15bcf72ef2cf1fc544e57b80d77ed"}},{"ruleId":"D1","level":"warning","message":{"text":"Orchestrator.ConfirmPendingECashNetwork (cyclomatic 16): Orchestrator.ConfirmPendingECashNetwork 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":"sidechain-orchestrator/network_catalog.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"38523a1a458aeaeb97638a5eca6c226be82ff083a7a6349c4fe4d5d81e64bb1c"}},{"ruleId":"D1","level":"warning","message":{"text":"testharness.newNode (cyclomatic 16): testharness.newNode has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/testharness/node.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8452aa7ed91c957a339946b01a0fa6d6e36b582e2fb0f753f7d0ea54c95e8c55"}},{"ruleId":"D1","level":"warning","message":{"text":"wallet.decodePSBT (cyclomatic 16): wallet.decodePSBT 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":"sidechain-orchestrator/wallet/decode.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fde5e1d8db2b416d74397f9b5fd14831b7a0da2d3ec4c3e64f49328ead98cf"}},{"ruleId":"D1","level":"warning","message":{"text":"wallet.MultisigPsbtSigningStatus (cyclomatic 16): wallet.MultisigPsbtSigningStatus 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":"sidechain-orchestrator/wallet/multisiglounge.go"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1d35a63541970a5e6e62f070bfc42100885cf243c5f7cef9e421a8d7e3e972"}},{"ruleId":"D1","level":"warning","message":{"text":"wallet.partialSigHash (cyclomatic 16): wallet.partialSigHash 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":"sidechain-orchestrator/wallet/psbt.go"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2defd731fd0b413f8d9e77ff747ed4a090dfac6cd02f6ab5f5251f4afabcfee"}},{"ruleId":"D1","level":"warning","message":{"text":"ElectrumBackend.applySpend (cyclomatic 16): ElectrumBackend.applySpend 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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e238149b394b89fa3f0e5363862b3f55eab0881de2de35dedc08b1052260571"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run (cognitive 110): main.run has cognitive complexity 110 (threshold 15). Drivers by points: if/else 61 (89 pts), boolean chains 11, loops 5 (7 pts), match/switch 2 (3 pts) (nesting depth added 31). Of this number, 57 points are the body\u0027s own statements and 53 belong to 16 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/cmd/drivechaind/main.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d10b15c5f262ef0cb5b59e098475ec60577bd64a695e44d587a94a55bc48e49"}},{"ruleId":"D2","level":"warning","message":{"text":"_DeniabilityTableState.sortEntries (cognitive 78): _DeniabilityTableState.sortEntries has cognitive complexity 78 (threshold 15). Drivers by points: ternaries 20 (48 pts), if/else 13 (25 pts), boolean chains 4, match/switch 1 (nesting depth added 40). 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":"bitwindow/lib/pages/wallet/denability_page.dart"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7622062fb21863cfc58d723797350e6a87dc842d6ee1bb97f62ffb945f50350"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.runWalletBurnECX (cognitive 78): commands.runWalletBurnECX has cognitive complexity 78 (threshold 15). Drivers by points: if/else 52 (69 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 18). 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":"sidechain-orchestrator/commands/wallet_burn_ecx.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fa59f5345e7fb7e6c5e32d46b28e9572acbbbb53b095cfdd263f8574af1305"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.SetNodeMode (cognitive 77): Orchestrator.SetNodeMode has cognitive complexity 77 (threshold 15). Drivers by points: if/else 27 (53 pts), loops 8 (13 pts), boolean chains 11 (nesting depth added 31). Of this number, 72 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/node_mode.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b031e5df502520b59a21d04b2ef4d9877744a9d40bfd6ad51124457db71a9840"}},{"ruleId":"D2","level":"warning","message":{"text":"multisig.importGroupsJSON (cognitive 72): multisig.importGroupsJSON has cognitive complexity 72 (threshold 15). Drivers by points: if/else 19 (56 pts), loops 6 (16 pts) (nesting depth added 47). To reduce it, split the body into named stages: move each independent 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":"bitwindow/server/models/multisig/multisig.go"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"83547d96c419743ed45295fd9cd9ec00e1748ad4b5af6e89f7c3f9b15a92fb09"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.combinePSBT (cognitive 71): wallet.combinePSBT has cognitive complexity 71 (threshold 15). Drivers by points: if/else 17 (53 pts), loops 6 (16 pts), boolean chains 2 (nesting depth added 46). To reduce it, split the body into named stages: move each independent 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":"sidechain-orchestrator/wallet/psbt.go"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f69d8af56ceea74ee6850d31682214c0a47c0cbc2ab507a3687ec235fa717f"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.buildPSBT (cognitive 68): wallet.buildPSBT has cognitive complexity 68 (threshold 15). Drivers by points: if/else 27 (64 pts), loops 4 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/psbt.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03d4e5502dea7d18870944789d992c71c47200d558f166df57e0fbcbe32a5a3"}},{"ruleId":"D2","level":"warning","message":{"text":"_ImportPSBTModalState._importPSBT (cognitive 63): _ImportPSBTModalState._importPSBT has cognitive complexity 63 (threshold 15). Drivers by points: if/else 20 (45 pts), loops 2 (6 pts), ternaries 2 (6 pts), boolean chains 5, error handling 1 (nesting depth added 33). 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":"bitwindow/lib/widgets/import_psbt_modal.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b708d5c4bb2c63d416c3f8adb864fecd4848c3eb944350ee91aada9fef5861"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectrumBackend.buildSendPSBT (cognitive 62): ElectrumBackend.buildSendPSBT has cognitive complexity 62 (threshold 15). Drivers by points: if/else 32 (47 pts), boolean chains 8, loops 7 (nesting depth added 15). Of this number, 53 points are the body\u0027s own statements and 9 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a58641cc70450a9b71050156870ab6880ebb3828b5e404a9ebc5c35b4bd5f03"}},{"ruleId":"D2","level":"warning","message":{"text":"multisig.importTransactionsJSON (cognitive 61): multisig.importTransactionsJSON has cognitive complexity 61 (threshold 15). Drivers by points: if/else 20 (54 pts), loops 3 (7 pts) (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/models/multisig/multisig.go"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"254b5c3fe3699935285cba4b605eab3705eafe2b8bfab4280f4ebf9cdbb9dcb7"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.applyPendingM4 (cognitive 60): Parser.applyPendingM4 has cognitive complexity 60 (threshold 15). Drivers by points: if/else 23 (48 pts), loops 4 (10 pts), boolean chains 2 (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":"bitwindow/server/engines/bitcoind_engine.go"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e2d50dff328f44dafb993b451e33ea0ba80b4057a487cb50a69d73da4dc6bb"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessManager.StartWithOptions (cognitive 60): ProcessManager.StartWithOptions has cognitive complexity 60 (threshold 15). Drivers by points: if/else 32 (49 pts), loops 4 (7 pts), boolean chains 3, match/switch 1 (nesting depth added 20). Of this number, 28 points are the body\u0027s own statements and 32 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/process.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"5674ed3037a2f66be567b589f5f7634c14843a7457e41d9a54344993eed15a15"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.runECashMigrate (cognitive 57): commands.runECashMigrate has cognitive complexity 57 (threshold 15). Drivers by points: if/else 26 (48 pts), boolean chains 6, match/switch 1 (2 pts), loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/commands/ecash.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"392d409225e251b64aa6c566aa92a0edf149a5a7b9442bc6b8135a2621f3c720"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.runWalletSignPSBT (cognitive 57): commands.runWalletSignPSBT has cognitive complexity 57 (threshold 15). Drivers by points: if/else 29 (42 pts), boolean chains 9, loops 3 (6 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/commands/wallet_sign_psbt.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09d4984f27b95bfc98444cd62ee46e5ec7f2478014ef3555cd2747f85c3f1b7"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.runStart (cognitive 56): commands.runStart has cognitive complexity 56 (threshold 15). Drivers by points: if/else 29 (48 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 20). Of this number, 49 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/commands/commands.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c478330dd733c193b8651bcb819ad9d9e4f7255954f913e60c8e5b55c5d66d84"}},{"ruleId":"D2","level":"warning","message":{"text":"MultisigLoungeViewModel._validateAndFixWalletFlags (cognitive 55): MultisigLoungeViewModel._validateAndFixWalletFlags has cognitive complexity 55 (threshold 15). Drivers by points: if/else 13 (41 pts), loops 3 (8 pts), error handling 2 (6 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"923692a8f632d33dcca652c0fe3c725a8efbc74937503a48dc3f1cfb0070e20a"}},{"ruleId":"D2","level":"warning","message":{"text":"_ECashMigrationDialogState.build (cognitive 55): _ECashMigrationDialogState.build has cognitive complexity 55 (threshold 15). Drivers by points: if/else 24 (37 pts), ternaries 8 (14 pts), boolean chains 4 (nesting depth added 19). To reduce it, split the body into named stages: move each independent 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":"bitwindow/lib/widgets/ecash_migration_dialog.dart"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"83420ee261561635e70575f1d2c12580340fc0f08fd38aa1888a35bf0c9a23b9"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.startTargetOnly (cognitive 54): Orchestrator.startTargetOnly has cognitive complexity 54 (threshold 15). Drivers by points: if/else 25 (45 pts), boolean chains 5, loops 2, match/switch 1 (2 pts) (nesting depth added 21). Of this number, 52 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":2045}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f83303d640d0d1cfa64f1513d7fa2666fae76007256e0972e66a90b778a85f8"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.startEnforcerWhenReady (cognitive 53): Orchestrator.startEnforcerWhenReady has cognitive complexity 53 (threshold 15). Drivers by points: if/else 25 (43 pts), loops 3 (5 pts), match/switch 1 (3 pts), boolean chains 2 (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":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"8535acc5b66f3e04cf6434297371b93585bbe8defbc2adeb478567c54a3df217"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.rewindMigration (cognitive 51): Orchestrator.rewindMigration has cognitive complexity 51 (threshold 15). Drivers by points: if/else 29 (46 pts), loops 3, boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"4690b17a79b4f9cd6814e6fd84a7c0c7181917cb5d10cfaaf2995a94a5361639"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateMultisigModal.build (cognitive 49): CreateMultisigModal.build has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 10 (25 pts), if/else 15 (23 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/create_multisig_modal.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bfa44a3a35055c5c0be05a1eac4193d697c1b51d8348375d6d83f219ee1530"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationEngine.processWalletTransactions (cognitive 49): NotificationEngine.processWalletTransactions has cognitive complexity 49 (threshold 15). Drivers by points: if/else 15 (40 pts), boolean chains 6, match/switch 1 (2 pts), loops 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent 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":"bitwindow/server/engines/notification_engine.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bda888d1777586977f081ccdd96297481e1054a3f0571ae05e6573837777b3d"}},{"ruleId":"D2","level":"warning","message":{"text":"blockfile.scanFile (cognitive 49): blockfile.scanFile has cognitive complexity 49 (threshold 15). Drivers by points: if/else 19 (38 pts), match/switch 2 (6 pts), boolean chains 4, loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/blockfile/convert.go"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8691daf16a061baf9adf40d7a247bb6e623dceb3ea0b593962520e9703cb724"}},{"ruleId":"D2","level":"warning","message":{"text":"_ButtonContent.build (cognitive 48): _ButtonContent.build has cognitive complexity 48 (threshold 15). Drivers by points: if/else 11 (22 pts), ternaries 8 (20 pts), boolean chains 6 (nesting depth added 23). 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":"sail_ui/lib/widgets/buttons/button.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"164d7b92a08e9befed254b886b8acd760bd98809952435811ed558a04ad04487"}},{"ruleId":"D2","level":"warning","message":{"text":"_SailDropdownButtonState.build (cognitive 47): _SailDropdownButtonState.build has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 14 (27 pts), if/else 15 (18 pts), boolean chains 2 (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":"sail_ui/lib/widgets/inputs/dropdown_menu.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fce71132b64595e489e28e256484e1d24db30619cfa932f421010b0956825c"}},{"ruleId":"D2","level":"warning","message":{"text":"SyncProvider._fetch (cognitive 46): SyncProvider._fetch has cognitive complexity 46 (threshold 15). Drivers by points: if/else 17 (29 pts), boolean chains 7, loops 2 (5 pts), ternaries 2 (4 pts), error handling 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/sync_provider.dart"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"741f67ad1947116f767d9c830a554077e27eae21d5df4878ef06d97d6070d7d2"}},{"ruleId":"D2","level":"warning","message":{"text":"DeniabilityEngine.CleanupDenials (cognitive 46): DeniabilityEngine.CleanupDenials has cognitive complexity 46 (threshold 15). Drivers by points: if/else 18 (40 pts), boolean chains 4, loops 2 (nesting depth added 22). Of this number, 43 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/deniability_engine.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"810d48e5cd71059936b69d7646a7e46c62034f9338b982979aa3d43fb93b0769"}},{"ruleId":"D2","level":"warning","message":{"text":"FundGroupModalViewModel._generateMultisigAddress (cognitive 45): FundGroupModalViewModel._generateMultisigAddress has cognitive complexity 45 (threshold 15). Drivers by points: if/else 10 (26 pts), boolean chains 11, ternaries 2 (4 pts), loops 1 (3 pts), error handling 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/fund_group_modal.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f792a88c815ea7545e0132410f7662b40f408cd7fadd444e0f14f63dd8e3ad43"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.handleBlockTick (cognitive 45): Parser.handleBlockTick has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (32 pts), loops 3 (6 pts), match/switch 3 (4 pts), boolean chains 3 (nesting depth added 20). Of this number, 32 points are the body\u0027s own statements and 13 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/bitcoind_engine.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc66d34c521963fccdab299859ac7471273bcbea2b08612033e07540d1e6b24"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadManager.extractZipPreservingTree (cognitive 45): DownloadManager.extractZipPreservingTree has cognitive complexity 45 (threshold 15). Drivers by points: if/else 19 (42 pts), boolean chains 2, loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/download.go"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a156226bfe47ee7a1c7b65bd1ac62e73d1f7089ca3bdcff9ab2f3f4722d9ef0"}},{"ruleId":"D2","level":"warning","message":{"text":"nodeHistory.History (cognitive 44): nodeHistory.History has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (28 pts), loops 9 (12 pts), boolean chains 4 (nesting depth added 16). Of this number, 41 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/thunder/history.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"081909b8c3f093b85b95676da158a3bbce36ee49e4772e21086ec0f9fd4108fd"}},{"ruleId":"D2","level":"warning","message":{"text":"ECashUpgradeWatcher._check (cognitive 43): ECashUpgradeWatcher._check has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 7 (14 pts), boolean chains 10, if/else 8 (10 pts), loops 4 (7 pts), error handling 2 (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":"bitwindow/lib/widgets/ecash_upgrade_banner.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef406d2cedeac183a78b1f1320dd0e5fab586c5060f2e3b79ce9bf5c62ba647"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.StartWithL1 (cognitive 43): Orchestrator.StartWithL1 has cognitive complexity 43 (threshold 15). Drivers by points: if/else 24 (39 pts), boolean chains 4 (nesting depth added 15). Most of this is not in the body itself: 5 of the 43 points are its own statements and the rest belongs to one function literal inside it that branches (line 984). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afdd308fc868a2940e1565f6bb1ca5bf6acb69b5f2ab483e239237c88ac84b2"}},{"ruleId":"D2","level":"warning","message":{"text":"_ImportPSBTModalState.build (cognitive 41): _ImportPSBTModalState.build has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 10 (22 pts), if/else 9 (18 pts), boolean chains 1 (nesting depth added 21). 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":"bitwindow/lib/widgets/import_psbt_modal.dart"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20c8195a7c239c5b22a12dc8bbfa5a5a2b8ffaaa0fe9a5dfc10096d8f5a2d95"}},{"ruleId":"D2","level":"warning","message":{"text":"SailCard._build (cognitive 41): SailCard._build has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 10, ternaries 8 (9 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":"sail_ui/lib/widgets/containers/sail_card.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77f315d79c364643db6f20a570171f834c6a6af94396f954a3319624d7c3fbc"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionMonitor.testConnection (cognitive 41): ConnectionMonitor.testConnection has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (31 pts), loops 1 (5 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/connection_monitor.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"8107d253727944810cecb70e49cfc53091e45a54ceb0bbc79cea65f0aba83c44"}},{"ruleId":"D2","level":"warning","message":{"text":"corewalletfile.discover (cognitive 41): corewalletfile.discover has cognitive complexity 41 (threshold 15). Drivers by points: if/else 22 (37 pts), boolean chains 2, loops 2 (nesting depth added 15). Most of this is not in the body itself: 11 of the 41 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 276, 261). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/corewalletfile/convert.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0343cbcfb125be64ba2eacadb9faa59b3cd06a3d73a9f21458e2318f5c2fda"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadManager.DownloadWithOptions (cognitive 41): DownloadManager.DownloadWithOptions has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (28 pts), loops 4 (6 pts), match/switch 2 (4 pts), boolean chains 3 (nesting depth added 17). Of this number, 16 points are the body\u0027s own statements and 25 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/download.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d42425187a78e9bdca458eb9870823bb62330c6c30552bbccd218963e8c224"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.ApplyECashSwitch (cognitive 41): Orchestrator.ApplyECashSwitch has cognitive complexity 41 (threshold 15). Drivers by points: if/else 21 (33 pts), boolean chains 3, match/switch 2 (3 pts), loops 2 (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":"sidechain-orchestrator/ecash_switch.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"07792728ff4c3065b46e06418628425bc3238ff42fc6fda381fe28e727b67094"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionProvider.fetch (cognitive 40): TransactionProvider.fetch has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (21 pts), ternaries 8 (16 pts), boolean chains 2, error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent 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":"bitwindow/lib/providers/transactions_provider.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"81aaf58621d3a4cd1507eb535a884707fc3e2ea9f139b192b26d314889b2e6d8"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.listTransactions (cognitive 40): Server.listTransactions has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (35 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent 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":"bitwindow/server/api/wallet/wallet.go"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"f330e96fb24860d127e74a543b520844cc73278f786955925214d79cbc3bf143"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.checkMigration (cognitive 40): Orchestrator.checkMigration has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (35 pts), loops 2 (5 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f15cb10a203c843c25cec35b6d10fda7078a859e9528f1930084c5cd540a4b6"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.GetSyncStatus (cognitive 40): Orchestrator.GetSyncStatus has cognitive complexity 40 (threshold 15). Drivers by points: if/else 20 (30 pts), boolean chains 6, loops 4 (nesting depth added 10). Of this number, 17 points are the body\u0027s own statements and 23 belong to 6 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":3763}}}],"partialFingerprints":{"codehealthFindingId/v1":"d393bda1da77d2b034651235db7a4acc5f35eefbb122f65611e6cb59af0e3f6a"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatProvider._processPaymailEntry (cognitive 39): ChatProvider._processPaymailEntry has cognitive complexity 39 (threshold 15). Drivers by points: if/else 20 (27 pts), boolean chains 8, ternaries 2 (3 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":"bitwindow/lib/providers/chat_provider.dart"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"da39c8068b9be989245eb04d9f5eab596fc8caf01c979c0de30a3b01f0418448"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatProvider.sendMessage (cognitive 39): ChatProvider.sendMessage has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (34 pts), ternaries 1 (3 pts), boolean chains 1, error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent 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":"bitwindow/lib/providers/chat_provider.dart"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9927f9f5831791b1e10368316531119bf57fcd5f62159200c9920818b6defd5"}},{"ruleId":"D2","level":"warning","message":{"text":"ChequeEngine.recoverChequesOnUnlock (cognitive 39): ChequeEngine.recoverChequesOnUnlock has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 4 (7 pts), match/switch 2 (4 pts), boolean chains 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":"bitwindow/server/engines/cheque_engine.go"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbff6d787f16b0531777ac0e5d7c4c32a1c58c8201d8a6dcfcca59d2a3f411e6"}},{"ruleId":"D2","level":"warning","message":{"text":"MultisigLoungeHandler.ensureWatchWallet (cognitive 38): MultisigLoungeHandler.ensureWatchWallet has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (29 pts), boolean chains 5, loops 4 (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":"sidechain-orchestrator/api/multisiglounge_handler.go"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d1a001caa576e1602f724ff0794938512ea5023e5fad2557806d6515361136"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.DeleteFiles (cognitive 38): Orchestrator.DeleteFiles has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (32 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 16). Of this number, 17 points are the body\u0027s own statements and 21 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/reset.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef0d73469f50d6fb122434a5f7086cf14bacb855349fc88850ccbaeebd24cc4"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectrumBackend.DetectScriptKind (cognitive 38): ElectrumBackend.DetectScriptKind has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 5 (8 pts), boolean chains 3 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/detect_script_kind.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b2ef77a084ffc8cfd2915f555edfef099c84d1882b0ffa5ecacb319c23931a"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.ImportLabels (cognitive 37): Server.ImportLabels has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (29 pts), loops 2 (5 pts), match/switch 1 (2 pts), boolean chains 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":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"e306b723ed20ba6b6dce813e7238b8357e482c322658b9b53d1d85b9fb850fef"}},{"ruleId":"D2","level":"warning","message":{"text":"SidechainsViewModel.sidechainWidget (cognitive 36): SidechainsViewModel.sidechainWidget has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 9 (18 pts), if/else 11 (15 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":"bitwindow/lib/pages/sidechains_page.dart"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"0449e92edbcef6a157ecd60697d59754c09bcba392b0a1ddc7279fa6a3219978"}},{"ruleId":"D2","level":"warning","message":{"text":"MempoolProvider.fetch (cognitive 36): MempoolProvider.fetch has cognitive complexity 36 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 4 (9 pts), ternaries 3 (9 pts), error handling 2 (4 pts), boolean chains 2 (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":"bitwindow/lib/providers/mempool_provider.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b7b06dc26cae97b285b60eb3778b8df205e03cff92be7e8794567e022b19be"}},{"ruleId":"D2","level":"warning","message":{"text":"HomepageBuilder.build (cognitive 36): HomepageBuilder.build has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (27 pts), ternaries 3 (7 pts), boolean chains 1, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/homepage/homepage_builder.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"13624493ecf1ed4b94a288fbe3caa29f010d0a2118d45d30401f86952170ef51"}},{"ruleId":"D2","level":"warning","message":{"text":"_ResetConfirmationPageState._startDeletion (cognitive 36): _ResetConfirmationPageState._startDeletion has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 4 (8 pts), ternaries 1 (4 pts), boolean chains 2, error handling 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/reset/reset_confirmation_page.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"389dd2b59b70c49d57f8373e38db0f36b0baafee10b3a2e54f5c2a7f006f70fd"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupEngine.exportMultisigJSON (cognitive 36): BackupEngine.exportMultisigJSON has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (27 pts), loops 5 (9 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent 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":"bitwindow/server/engines/backup_engine.go"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a49b5dfce5265dcad0798a7d587d56212d3446485f0df7194a46d7a14b3721"}},{"ruleId":"D2","level":"warning","message":{"text":"engines.ParseBitcoinURI (cognitive 36): engines.ParseBitcoinURI has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 2 (6 pts), boolean chains 3, match/switch 1 (3 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":"bitwindow/server/engines/utils_engine.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a338f6e4140842a661a1fdf714bee8c47e6298c82b277c6e8f2cf9428fc61ae4"}},{"ruleId":"D2","level":"warning","message":{"text":"M4Engine.ApplyPendingM4 (cognitive 36): M4Engine.ApplyPendingM4 has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (33 pts), loops 2, boolean chains 1 (nesting depth added 17). Of this number, 32 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/m4_engine.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c227c82ebbf652b5d43a2608c385da2641f00b34b3c94a9be65504647efacb"}},{"ruleId":"D2","level":"warning","message":{"text":"api.nodeOverview (cognitive 36): api.nodeOverview has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (25 pts), loops 4 (7 pts), boolean chains 4 (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":"sidechain-orchestrator/api/explorer_handler.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd9cb1f5dac44553e080956fe23d4833681c6bdfbfb467146dccee025d3972f"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.GatherFilesToDelete (cognitive 36): Orchestrator.GatherFilesToDelete has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (26 pts), loops 3 (4 pts), boolean chains 3, match/switch 1 (3 pts) (nesting depth added 20). Of this number, 27 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/reset.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"232981e789f5b951b05ef5ae160aaf6194cfd692ae651a9eba1ea17386fa58a1"}},{"ruleId":"D2","level":"warning","message":{"text":"MempoolWatcher.watch (cognitive 35): MempoolWatcher.watch has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (30 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/mempool_watch_engine.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd4bfc01345f6651322be38a474fd30cba015e988ee8a5b8da84a9efcb23102"}},{"ruleId":"D2","level":"warning","message":{"text":"TimestampEngine.checkConfirmations (cognitive 35): TimestampEngine.checkConfirmations has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (33 pts), boolean chains 1, loops 1 (nesting depth added 19). 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":"bitwindow/server/engines/timestamp_engine.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db9e1d25fdc2b7242dce6833ab2f142da93007c50ddc579e7e592df976ce698"}},{"ruleId":"D2","level":"warning","message":{"text":"config.ParseBitcoinConfig (cognitive 35): config.ParseBitcoinConfig has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (30 pts), boolean chains 4, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent 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":"sidechain-orchestrator/config/bitcoin_config.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71575d25e2efd6ecb06389e20ad32985c9987240c922efc69aa156b3f7fa13d"}},{"ruleId":"D2","level":"warning","message":{"text":"EnforcerConfManager.GetCliArgs (cognitive 35): EnforcerConfManager.GetCliArgs has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 4, loops 2 (3 pts), match/switch 1 (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":"sidechain-orchestrator/config/enforcer_conf.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ba345bc284a583589835157d2da4ef1f2b38be9b81faa6bfeff957d5047a10"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadManager.downloadFile (cognitive 35): DownloadManager.downloadFile has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (34 pts), loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent 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":"sidechain-orchestrator/download.go"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb865e01914fbead6e37d8d083786b69669c6317b3e318630a1a5f71de4f46b"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreBackend.PreviewSend (cognitive 35): CoreBackend.PreviewSend has cognitive complexity 35 (threshold 15). Drivers by points: if/else 21 (30 pts), loops 3, boolean chains 2 (nesting depth added 9). Of this number, 32 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/send_preview.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"362657bc14b270f551e6ef4e60b1a06d80299ffbd51f17e216b4394310646585"}},{"ruleId":"D2","level":"warning","message":{"text":"_TransactionFlowDiagramState._handleHover (cognitive 34): _TransactionFlowDiagramState._handleHover has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 13, loops 2 (5 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":"bitwindow/lib/pages/explorer/widgets/transaction_flow_diagram.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec25398f58d469953e2688a5210eb44dd422c0d3d6425f8b4700eb5478c22bc"}},{"ruleId":"D2","level":"warning","message":{"text":"MultisigLoungeHandler.RestoreHistory (cognitive 34): MultisigLoungeHandler.RestoreHistory has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 4 (7 pts), boolean chains 4 (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":"sidechain-orchestrator/api/multisiglounge_handler.go"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f44b6eb5fdfd26412311d62f3ce4c225c2e0ac29df5eeecaf405e2386c42e3"}},{"ruleId":"D2","level":"warning","message":{"text":"burnWalletState.check (cognitive 34): burnWalletState.check has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 6, loops 2, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/commands/wallet_burn_ecx.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8464b729bc015da64d1708e304a16533d1d04c60626fad736061c930ce8582d0"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectrumBackend.scan (cognitive 34): ElectrumBackend.scan has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (29 pts), loops 3 (4 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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":2511}}}],"partialFingerprints":{"codehealthFindingId/v1":"28eb8ba692a1c3190943316c7b3b5941fbe21428591613ed4a5f0343b30bbfeb"}},{"ruleId":"D2","level":"warning","message":{"text":"EsploraClient.doWith (cognitive 34): EsploraClient.doWith has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (31 pts), boolean chains 2, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/esplora.go"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4bb4b1ae03288d9759b14505b82b5c58f10474f9afcb695cca36e167bfa1bc"}},{"ruleId":"D2","level":"warning","message":{"text":"_SidechainRPCMethodsTabState._parseJsonArray (cognitive 33): _SidechainRPCMethodsTabState._parseJsonArray has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (30 pts), boolean chains 2, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/debug/sidechain_debug_window.dart"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7dc52d21fc43b158fb14547e9872111a480b49b674e858db24d2e8bd56e0b1c"}},{"ruleId":"D2","level":"warning","message":{"text":"BottomNav.displayConnectionStatusDialog (cognitive 33): BottomNav.displayConnectionStatusDialog has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 15, ternaries 5 (10 pts), if/else 7 (8 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/nav/bottom_nav.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e728a62cc59ff98b9526f0a9995a180c81da8ac23596961ad9c3060bd4a8f7a9"}},{"ruleId":"D2","level":"warning","message":{"text":"StratumHandler.SetMiningSettings (cognitive 33): StratumHandler.SetMiningSettings has cognitive complexity 33 (threshold 15). Drivers by points: if/else 21 (27 pts), boolean chains 6 (nesting depth added 6). 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":"sidechain-orchestrator/api/stratum_handler.go"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc792b767fc9bcf720ae56a58249a4f178db9bf1b95a800a7d271639ed42b6c5"}},{"ruleId":"D2","level":"warning","message":{"text":"_RootPageState.build (cognitive 32): _RootPageState.build has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (18 pts), error handling 4 (6 pts), loops 3, ternaries 3, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"47df3725aa9dea66d45afe68baee38f46317dea3f72a6ca17885a376fb8729c4"}},{"ruleId":"D2","level":"warning","message":{"text":"_NetworkSwapPageState.build (cognitive 32): _NetworkSwapPageState.build has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 9, ternaries 7 (8 pts) (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":"bitwindow/lib/pages/settings/network_swap_page.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"952fa3b48959460ad5de74612804041b7402551fa759b6872f0e1fd1420c67f4"}},{"ruleId":"D2","level":"warning","message":{"text":"_UTXOSnapshotPageState.build (cognitive 32): _UTXOSnapshotPageState.build has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 13, if/else 10 (12 pts), ternaries 7 (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":"sail_ui/lib/pages/utxo_snapshot_page.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9834763ab41e9434f815322ea4e0b9b2eb6c8dbeb7d0ac32bc41f35a68b7216d"}},{"ruleId":"D2","level":"warning","message":{"text":"BottomNavViewModel._connectionStatusRaw (cognitive 32): BottomNavViewModel._connectionStatusRaw has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (27 pts), boolean chains 5 (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":"sail_ui/lib/widgets/nav/bottom_nav.dart"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"e962a4b5184c4340d183b3ff56dbca541e43513de6c33e4b5c2051d6d755cecd"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.GetTransactionDetails (cognitive 32): Server.GetTransactionDetails has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (27 pts), boolean chains 2, loops 2, match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/api/wallet/wallet.go"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e758083fefdaf9ce9d81b3361edaea43ee1124fbf534dc3a6bd949e0363515"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.handleOpReturns (cognitive 32): Parser.handleOpReturns has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 5, match/switch 1 (3 pts), loops 2 (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":"bitwindow/server/engines/bitcoind_engine.go"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cfb7419a421bfa101aef6064f8e013180aa182310c2ba6194945a9c0d810dd"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.StartWithL1 (cognitive 32): Handler.StartWithL1 has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (26 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 20). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/orchestrator_handler.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e56dfbd606a6b42d12ba2fc5da4ab6cb6ea97444dca276e54a09b7a0b8a91af"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.SwapNetwork (cognitive 32): Orchestrator.SwapNetwork has cognitive complexity 32 (threshold 15). Drivers by points: if/else 21 (28 pts), boolean chains 2, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":2776}}}],"partialFingerprints":{"codehealthFindingId/v1":"22929ee74116f69b2cd285332d08c1dd3f019d99af3fd3226a86e8db0ac4e96b"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkChainSource.current (cognitive 32): NetworkChainSource.current has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (29 pts), boolean chains 2, loops 1 (nesting depth added 15). 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":"sidechain-orchestrator/wallet/network_chain_source.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"903afeee20e1ff5ce036b10cd98fa482fb6e44c63eade6aab60c869cafa8cc40"}},{"ruleId":"D2","level":"warning","message":{"text":"Binary._getPossibleBinaryPaths (cognitive 31): Binary._getPossibleBinaryPaths has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 4, loops 1 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/config/binaries.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c86fa85bc85e3068c59f1f7d0a6a25d07ad865273dc99e3ed09bb5011a06a04"}},{"ruleId":"D2","level":"warning","message":{"text":"MultisigLoungeViewModel.signTransaction (cognitive 31): MultisigLoungeViewModel.signTransaction has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 4, ternaries 1 (4 pts), loops 1 (2 pts), error handling 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"60276d40e70128af4e22d126842c97d93835e32a7deada2221560f3ee74f0e08"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsolidationProvider.start (cognitive 31): ConsolidationProvider.start has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (7 pts), boolean chains 4, error handling 2 (4 pts), ternaries 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/consolidation_provider.dart"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f853a624a3c654fedef656244a3824604fb8e7d142220095ae9fc1fc6ab5808"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowProvider.open (cognitive 31): WindowProvider.open has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 4, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/window_provider.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"974cf831aa24ca4c9b36ece57a3737ea1d1f51bf293931894a8e2ee9f2b49fae"}},{"ruleId":"D2","level":"warning","message":{"text":"_SailTableState.build (cognitive 31): _SailTableState.build has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 9 (11 pts), boolean chains 7, 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":"sail_ui/lib/widgets/components/table.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"14002b10371e42e5c092386231642823c6140d2d1f870ed696e5b14a8f6d9d0c"}},{"ruleId":"D2","level":"warning","message":{"text":"_FileInputState._selectPath (cognitive 31): _FileInputState._selectPath has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (17 pts), ternaries 3 (9 pts), error handling 2 (5 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent 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":"sail_ui/lib/widgets/config_editor/configurator_panel.dart"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3bc8c3da34467ee81967d26c482dbf8b82c0bf0f8b534014547f1f87026975"}},{"ruleId":"D2","level":"warning","message":{"text":"DeniabilityEngine.hopOutputsInHistory (cognitive 31): DeniabilityEngine.hopOutputsInHistory has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 2 (4 pts), boolean chains 3, match/switch 1 (nesting depth added 14). Of this number, 30 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/deniability_engine.go"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"048f4cb38ff4af2aab12f1060ac1b2917da506acb0a4f8fe212da2747a0b422c"}},{"ruleId":"D2","level":"warning","message":{"text":"BmmEngine.tick (cognitive 31): BmmEngine.tick has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (24 pts), loops 4, 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":"sidechain-orchestrator/engines/bmm_engine.go"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"820c633977f9c6e219bf69394258d2bddb2498603e81a593fdb8f34fa7f6faa7"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectrumBackend.addOwnOutputs (cognitive 31): ElectrumBackend.addOwnOutputs has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (28 pts), loops 2 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/electrum_own_outputs.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35c757398716d461dce3be688f983f6902ea5b6ee21fce758cd87d5c92520bd"}},{"ruleId":"D2","level":"warning","message":{"text":"page.Home (cognitive 31): page.Home has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 6 (12 pts), boolean chains 11, error handling 4, if/else 4 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 15 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/app/page.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7708c049e048250ff4eca6c831b93b89c531da504ac9d0ff088cb692ba0aa5"}},{"ruleId":"D2","level":"warning","message":{"text":"_L1RestartPageState.build (cognitive 30): _L1RestartPageState.build has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 9, ternaries 6 (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":"sail_ui/lib/pages/l1_restart_page.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcb054cbcb12076af14f6917d4908aeda45ff3a6601f22967b453a3fa291f45"}},{"ruleId":"D2","level":"warning","message":{"text":"DaemonConnectionCard._buildCard (cognitive 30): DaemonConnectionCard._buildCard has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 8 (9 pts), boolean chains 6, error handling 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":"sail_ui/lib/widgets/components/daemon_connection_card.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"831b60229ffa298bd8c495b948e20d52d1a9858b33beee5147f1f66bfa19c264"}},{"ruleId":"D2","level":"warning","message":{"text":"_SailCheckboxState.build (cognitive 30): _SailCheckboxState.build has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 9 (17 pts), if/else 8 (12 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/inputs/checkbox.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae027c59d85668538d0255fafe016624d61c98cfa698ea3be8acd4b47c910701"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.ListRecentTransactions (cognitive 30): Server.ListRecentTransactions has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (23 pts), loops 3 (4 pts), boolean chains 2, jumps 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":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e76ca05154e0bdc7f5689ab2d0835daeddbcca50c52adfa50cb38602a7f9cd"}},{"ruleId":"D2","level":"warning","message":{"text":"BMMHandler.readWalletCoins (cognitive 30): BMMHandler.readWalletCoins has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (29 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":"sidechain-orchestrator/api/bmm_handler.go"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fca85266fe294a2944e29baf2149b0d2d70112435031fde2b204f9f580a10b3"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.ReloadSidechainWallets (cognitive 30): Orchestrator.ReloadSidechainWallets has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 5 (8 pts), boolean chains 2 (nesting depth added 13). Of this number, 25 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain_wallet_state.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fe8fbfdce26f9138da7a08fc42c8aa177a6a9c7d8bab95e596d0a93c71ae03"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectrumBackend.ListReceivedByAddress (cognitive 30): ElectrumBackend.ListReceivedByAddress has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 3 (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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"139ebc890eb4789bea021e17bd64a66f3b6f9e0957a29f920582cce3640251b8"}},{"ruleId":"D2","level":"warning","message":{"text":"SendPageViewModel.onUseAvailableBalance (cognitive 29): SendPageViewModel.onUseAvailableBalance has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 5, loops 1 (2 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_send.dart"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"557fa888e0e389afc425169ff5a3c08fb3c93085e82c75775959e59009e3c028"}},{"ruleId":"D2","level":"warning","message":{"text":"_NotificationBannerState._openPendingModal (cognitive 29): _NotificationBannerState._openPendingModal has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (24 pts), boolean chains 3, loops 1 (2 pts) (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":"sail_ui/lib/widgets/containers/notification_banner.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce84ea2356f34e2768fc6d095795a832caca6dc8f484160182b65f07d8935192"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupEngine.RestoreBackup (cognitive 29): BackupEngine.RestoreBackup has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (24 pts), match/switch 3, boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/backup_engine.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"012811ab5594d32fd40c8c58097fa21afecd281b54b43a92323df34cb2b877db"}},{"ruleId":"D2","level":"warning","message":{"text":"cheques.ImportBackupTx (cognitive 29): cheques.ImportBackupTx has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 4 (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":"bitwindow/server/models/cheques/backup.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"50546e10d93e13177624dc1d630cd0bcb3d1344e2b8bef103a3fa2e182415bce"}},{"ruleId":"D2","level":"warning","message":{"text":"BitcoinConfig.Serialize (cognitive 29): BitcoinConfig.Serialize has cognitive complexity 29 (threshold 15). Drivers by points: loops 6 (15 pts), if/else 7 (13 pts), boolean chains 1 (nesting depth added 15). 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":"sidechain-orchestrator/config/bitcoin_config.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1b865c3920f1112729249ac0a9d26f53fff5ccb4af3704f3b4116e795d3b4b"}},{"ruleId":"D2","level":"warning","message":{"text":"BIP47Engine.scanWallet (cognitive 29): BIP47Engine.scanWallet has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/engines/bip47_engine.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"041b65d959a33f495fd60518c4016af8f9cdb6c510b56087e57bef6a895315a9"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.RestartDaemon (cognitive 29): Orchestrator.RestartDaemon has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 2, match/switch 1 (nesting depth added 11). Most of this is not in the body itself: 4 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 1762). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":1743}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce1c23b9db804619abc4a020e2b5fa7f0f5f53466198b5a6469378f2a4dcbf4"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.verifyTaprootSigs (cognitive 29): wallet.verifyTaprootSigs has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/psbt.go"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ce59488cc2852812c0909cd983bf46b0ee446277d1818f4aca430f24a88c53"}},{"ruleId":"D2","level":"warning","message":{"text":"_BumpFeeDialogState.build (cognitive 28): _BumpFeeDialogState.build has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 14, if/else 7, ternaries 5 (7 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/bump_fee_dialog.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfca56cc64e126a59f0d1951448b9699dd63d3d9fbd36f7f7bbc437c3a33f8d"}},{"ruleId":"D2","level":"warning","message":{"text":"_CashCheckPageState._cashCheck (cognitive 28): _CashCheckPageState._cashCheck has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (27 pts), error handling 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/cash_check_page.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bcc3ea6496a63debf0cdce389fde18049090f5e4f56d82f90e899f49f5f23f"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckDetailViewModel._sweepOnce (cognitive 28): CheckDetailViewModel._sweepOnce has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 2, error handling 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":"bitwindow/lib/pages/wallet/check_detail_page.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"907e1c275e0507e1b64269713337224a669e4bb1fb233ff777dae26b6ae2f990"}},{"ruleId":"D2","level":"warning","message":{"text":"_CreateCheckPageState._createCheck (cognitive 28): _CreateCheckPageState._createCheck has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 1, error handling 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/create_check_page.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc25c19b036d88483218bb5760d6991adb8c434d1e40e95c6d4b054158fab8f4"}},{"ruleId":"D2","level":"warning","message":{"text":"ProofOfFundsViewModel.verifyProofOfFunds (cognitive 28): ProofOfFundsViewModel.verifyProofOfFunds has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (20 pts), error handling 2 (5 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/proof_of_funds_modal.dart"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"f433bf023728c924a73c52984a875474cd6e0afcc463c9f1d86db3c593329ca3"}},{"ruleId":"D2","level":"warning","message":{"text":"_SailTableState._autoSizeColumns (cognitive 28): _SailTableState._autoSizeColumns has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 6 (10 pts), boolean chains 6 (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":"sail_ui/lib/widgets/components/table.dart"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1a282ce9e866012163c244b53fd905f492b8685ef1150d520c7bdc90181fc9"}},{"ruleId":"D2","level":"warning","message":{"text":"_SailSliderState.build (cognitive 28): _SailSliderState.build has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 13 (19 pts), if/else 4, boolean chains 3, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/inputs/sail_slider.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ab38433c1e9c996f6243f1c44602923ee1b9a94c2fc64e9175c57791c52f65"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.MultisigPsbtSigningStatus (cognitive 28): wallet.MultisigPsbtSigningStatus has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 5 (8 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":"sidechain-orchestrator/wallet/multisiglounge.go"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"12040ec733e13a5124a3f641bef1e2e82ea5f5a7b6a4645450756ae5e28b5b13"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsNetworkState.build (cognitive 27): _SettingsNetworkState.build has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 8 (15 pts), if/else 7 (9 pts), boolean chains 3 (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":"bitwindow/lib/pages/settings/settings_network.dart"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"b528aae0830c20897c76c942dc439c7d8c1aab4b5e1eafccbd0c92cf359f65fd"}},{"ruleId":"D2","level":"warning","message":{"text":"_ReceiveAddressesTableState.sortedEntries (cognitive 27): _ReceiveAddressesTableState.sortedEntries has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 8 (19 pts), if/else 4 (6 pts), boolean chains 1, match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_receive.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ee916cf3a8502932e2326979ffdc11d4f9cf877a085d30ced71ed380e2ceeb"}},{"ruleId":"D2","level":"warning","message":{"text":"_SailCreateWalletPageState._handleRestore (cognitive 27): _SailCreateWalletPageState._handleRestore has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (20 pts), error handling 3 (4 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/create_wallet_page.dart"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"563feeeb50de88fe5d38c70dc7e7ca57539983a9f920375db2b3a65b8a1b12c9"}},{"ruleId":"D2","level":"warning","message":{"text":"BinaryProvider.update (cognitive 27): BinaryProvider.update has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 3 (7 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/binaries/binary_provider.dart"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"d641be2a4a49612bb40b17d0eee877b9eb669f8b3a5abff6ede0087101f6507c"}},{"ruleId":"D2","level":"warning","message":{"text":"_SailRadioButtonState.build (cognitive 27): _SailRadioButtonState.build has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 3 (8 pts), boolean chains 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":"sail_ui/lib/widgets/inputs/radio_button.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff43681dee95cac4159c466b441c43af87e75bcfa512c44de374f3d1798e6916"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupEngine.CreateBackup (cognitive 27): BackupEngine.CreateBackup has cognitive complexity 27 (threshold 15). Drivers by points: if/else 20 (26 pts), boolean chains 1 (nesting depth added 6). 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":"bitwindow/server/engines/backup_engine.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"235c6a2dcf1ec5bbaacf079758820f4000cf5d542387ba661139b1f058ae28f1"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.handleTimestamp (cognitive 27): Parser.handleTimestamp has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 5, 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":"bitwindow/server/engines/bitcoind_engine.go"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"a919a51b9726309b8ced8d478337f9dd565226e970f2b1c6f234bcac7d3fb013"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationEngine.checkTimestampConfirmations (cognitive 27): NotificationEngine.checkTimestampConfirmations has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 1, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/notification_engine.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f398f6ab2568f68a4cdc13dc34d3622e1af965ffe40e731025efcc8f37cf992"}},{"ruleId":"D2","level":"warning","message":{"text":"Builder.build (cognitive 27): Builder.build has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (20 pts), loops 5 (7 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":"difficulty/state.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7fbc29cee525208db7e23e8f2327f708c3896e44c35debc0ecf2ddca520d0f"}},{"ruleId":"D2","level":"warning","message":{"text":"WalletHandler.bip47NotificationCoin (cognitive 27): WalletHandler.bip47NotificationCoin has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 3, loops 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":"sidechain-orchestrator/api/bip47_send.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57d69ac8c5f74e6f1bd8a69359c3c7418bb02756df03303bc87644a52497ba1"}},{"ruleId":"D2","level":"warning","message":{"text":"orchestrator.alignECashState (cognitive 27): orchestrator.alignECashState has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 2 (5 pts), loops 2 (3 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":"sidechain-orchestrator/ecash_sidechain_state.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f64a95abe02ef5b9b391eac216dccee7bad7ac537cab26713b612cbeeca003"}},{"ruleId":"D2","level":"warning","message":{"text":"blockfile.convertFile (cognitive 27): blockfile.convertFile has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 2, boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/blockfile/convert.go"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"4139d1cf91dd9fbe1a1dafefa1604696ada63cdaf3ddaf9e5ba8d7a52655a5d7"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.StartECashMigration (cognitive 27): Orchestrator.StartECashMigration has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e123aaf55f56e4b03b05e377b6b01ede3bd21aad501eb1e596a5039da4e72ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.applyDiskECashSwitch (cognitive 27): Orchestrator.applyDiskECashSwitch has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 7, match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae9466e1e46c538c26ca0e4ddabdf6f40e952fec832fdd23e7c924bc23538f3"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.AdoptOrphans (cognitive 27): Orchestrator.AdoptOrphans has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 2, loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":2604}}}],"partialFingerprints":{"codehealthFindingId/v1":"8853003d5ab9b5e63df15f717dc759c44c757dae84bd729314630b4276906657"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.ValidateMultisigPsbt (cognitive 27): wallet.ValidateMultisigPsbt has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (23 pts), loops 3 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/multisiglounge.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f26e81e88c8a4b9109468871da8e264e16597baa7e9b6f77f7fa4fb2302e5bb"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.verifyInputOrigins (cognitive 27): wallet.verifyInputOrigins has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 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":"sidechain-orchestrator/wallet/multisiglounge.go"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb9300b3f5553d9fe66a83c2f4f5db4510dbd1d8255f0b9a25ce56215f5fbb5"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.taprootMultisigStatus (cognitive 27): wallet.taprootMultisigStatus has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 5 (8 pts), boolean chains 2 (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":"sidechain-orchestrator/wallet/scripttype_taproot.go"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"8814ca50a8f430d41089373bf4110e952a7d807a2857730210927d55f8c65dc5"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.loadWalletFile (cognitive 27): Service.loadWalletFile has cognitive complexity 27 (threshold 15). Drivers by points: if/else 18 (26 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":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e2d8f30bee6d008feea8e87edce3f5f76af6bf51b85b66141b3acbfdb6f522"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetAnalyticsProvider._fetchPools (cognitive 26): AssetAnalyticsProvider._fetchPools has cognitive complexity 26 (threshold 15). Drivers by points: if/else 2 (9 pts), error handling 3 (8 pts), loops 3 (7 pts), boolean chains 2 (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":"bitassets/lib/providers/asset_analytics_provider.dart"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb8fac31cd4a902319cd8df4436ad626a588353771067f4230ada49316e5cbe"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportTxidModalViewModel.importFromTxid (cognitive 26): ImportTxidModalViewModel.importFromTxid has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (20 pts), error handling 2 (3 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/import_txid_modal.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"010609b12b83270ed9a80df08a7abf98583d6d7adcbb56ecd35d6b0c418341e8"}},{"ruleId":"D2","level":"warning","message":{"text":"_VerifyReportTabState.build (cognitive 26): _VerifyReportTabState.build has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 8 (19 pts), if/else 5 (7 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/proof_of_funds_modal.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b449b377cbcb8de81c1d13a0137605be3ff9803a0fe0a9b4db47d79ea4afd0d"}},{"ruleId":"D2","level":"warning","message":{"text":"_SailTableState.didUpdateWidget (cognitive 26): _SailTableState.didUpdateWidget has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 5 (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":"sail_ui/lib/widgets/components/table.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"099d190cedf24b82d2941130e441d21cbb96cb04887a820a5a9669a020d9c159"}},{"ruleId":"D2","level":"warning","message":{"text":"ProgressBar.build (cognitive 26): ProgressBar.build has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 16 (19 pts), if/else 4, 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":"sail_ui/lib/widgets/loaders/progress.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd36bc136ab7fcf2aba31b6d1bab7879725a4610c3c37f76a6b75fe7c7623083"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupEngine.exportTransactionsJSON (cognitive 26): BackupEngine.exportTransactionsJSON has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 4 (9 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":"bitwindow/server/engines/backup_engine.go"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b24b4ca58bd76dba50183e5c5a01fc9f37cc9335b347a84bb70581debc96df2"}},{"ruleId":"D2","level":"warning","message":{"text":"engines.FormatMerkleTree (cognitive 26): engines.FormatMerkleTree has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (6 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/utils_engine.go"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"627b57663105f57366926b8aa4f6cb5f2ce07d0dc77004aa31574667a4ccf9aa"}},{"ruleId":"D2","level":"warning","message":{"text":"BitcoinConfHandler.SetBitcoinConfigNetwork (cognitive 26): BitcoinConfHandler.SetBitcoinConfigNetwork has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (24 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":"sidechain-orchestrator/api/bitcoin_conf_handler.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d8c69f74a6f6b4d5dcaddecd81e993a0af71f2cecb2ff7992fe72b308c2a2d"}},{"ruleId":"D2","level":"warning","message":{"text":"orchestrator.WatchConfigFile (cognitive 26): orchestrator.WatchConfigFile has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (23 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 15). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 180). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/config_loader.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2faa5bdf1c7d3cf7440123cf8d75615fbd565d7abc9ba9c05674195c514f05"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.verifyInputScript (cognitive 26): wallet.verifyInputScript has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 3 (5 pts), boolean chains 2, loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/multisiglounge.go"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"167f708bf82dacfb903b5bcf0f060b8ea27f85843d4d60b2921c53bef14e4aac"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreBackend.BumpFee (cognitive 26): CoreBackend.BumpFee has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 2, 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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"36751acc1168b15ca9eae04b207a91f1d475e0cfb6f2fd61378c6b39fd526fef"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectrumBackend.BumpFee (cognitive 26): ElectrumBackend.BumpFee has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (23 pts), loops 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":1778}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f11bff451d7c2c93d7f54e91ea27f34deb826254d758a0325c8f0fe7fddd324"}},{"ruleId":"D2","level":"warning","message":{"text":"_TreeTab.build (cognitive 25): _TreeTab.build has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (18 pts), if/else 4 (7 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":"bitwindow/lib/dialogs/merkle_tree_dialog.dart"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4df1e2b32aaa35c1d98bb22ecd09752fe0dd40ed0084b72a6732a4c9b7adac"}},{"ruleId":"D2","level":"warning","message":{"text":"MultisigLoungeViewModel._checkIfKeyBelongsToWallet (cognitive 25): MultisigLoungeViewModel._checkIfKeyBelongsToWallet has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 1 (2 pts), error handling 1 (nesting depth added 16). 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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ae2dac960a56a511fd337d78284f9b06a8bb42f542c0093e081a1ca2407832"}},{"ruleId":"D2","level":"warning","message":{"text":"corewalletfile.convertWallet (cognitive 25): corewalletfile.convertWallet has cognitive complexity 25 (threshold 15). Drivers by points: if/else 19 (23 pts), loops 2 (nesting depth added 4). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/corewalletfile/convert.go"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d90fa8cd3bc87e50c0de6e059e9f38c283e051645da83a55abc802236a09981"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handle (cognitive 25): Server.handle has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/stratum/server.go"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69f03ab7ee6e020017d16ac5ad528233c275ee8b8838b44325ec1de3d36cc93"}},{"ruleId":"D2","level":"warning","message":{"text":"testharness.findBitcoind (cognitive 25): testharness.findBitcoind has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (22 pts), loops 2, 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":"sidechain-orchestrator/testharness/bitcoind.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"736310d3a10f05de31f4d42dc6d05cbc4617017b2b2878428c37447ff91e901f"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectrumBackend.deriveAddr (cognitive 25): ElectrumBackend.deriveAddr has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":2389}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9f8445bb8cef4762a76741d06ca364d3a7d42a30d477050340a1fca5ace141"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.DeleteAllWallets (cognitive 25): Service.DeleteAllWallets has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16 (23 pts), loops 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":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":1610}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f97dd2b625a5ede981c7f4dfeaf5ebc704b3efa1435c3f933a59e22fdfcb66d"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsResetState._executeReset (cognitive 24): _SettingsResetState._executeReset has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 3, 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":"bitwindow/lib/pages/settings/settings_reset.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e07b3c89cf046dc9c24c3a27f359b130b5e984b1a6d7262898522dd7fe7277"}},{"ruleId":"D2","level":"warning","message":{"text":"_DeniabilityTableState.build (cognitive 24): _DeniabilityTableState.build has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 12 (16 pts), if/else 4 (6 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":"bitwindow/lib/pages/wallet/denability_page.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e73b80fa246f2b3d6f365d4f64b2ff7b02de2881a8b1b306935815ef01f18cd"}},{"ruleId":"D2","level":"warning","message":{"text":"PriceAlertProvider._checkAlerts (cognitive 24): PriceAlertProvider._checkAlerts has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/providers/price_alert_provider.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a1844f20062dc3984660cb9a6e2884546a36a313967f2a1c297b9f861ef073"}},{"ruleId":"D2","level":"warning","message":{"text":"BalanceProvider.fetch (cognitive 24): BalanceProvider.fetch has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (16 pts), error handling 2 (4 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/balance_provider.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6574ffa191164c1d8a6637c458432451db10ddb219d308699b9a604bc44bcea2"}},{"ruleId":"D2","level":"warning","message":{"text":"BitnamesSecureStore._loadSecure (cognitive 24): BitnamesSecureStore._loadSecure has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (8 pts), ternaries 3 (4 pts), error handling 2 (3 pts), 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":"bitwindow/lib/services/bitnames_secure_store.dart"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e7c404d4213995961454d8b64d1aa8ed3f49e54005df5e02537fb507f30ab7"}},{"ruleId":"D2","level":"warning","message":{"text":"ChangeTrackingMixin._deepEquals (cognitive 24): ChangeTrackingMixin._deepEquals has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 5, 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":"sidechain_core/lib/utils/change_tracker.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbd4c1aa767f1b70f7123c97038c93ac0e8d032b735be9d27b36a15d82d11b8"}},{"ruleId":"D2","level":"warning","message":{"text":"_HardwareDevicePickerState._unlock (cognitive 24): _HardwareDevicePickerState._unlock has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (15 pts), error handling 3 (7 pts), boolean chains 1, 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":"bitwindow/lib/widgets/hardware_device_picker.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6e9f8091a2b53ef467917d4b97057022578cfb60e52b908a63552da525fc8f"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportTxidModalViewModel._updateWalletKeyStates (cognitive 24): ImportTxidModalViewModel._updateWalletKeyStates has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (15 pts), error handling 2 (6 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/import_txid_modal.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f9261d0c72575468c116563b3c6ff37bb66bbe3ceaf0d5dbc82fc03168c119"}},{"ruleId":"D2","level":"warning","message":{"text":"_ResetConfirmationPageState._buildContent (cognitive 24): _ResetConfirmationPageState._buildContent has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 4 (9 pts), match/switch 2, 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":"sail_ui/lib/widgets/reset/reset_confirmation_page.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f011094b94bbaae76df0b246eb45c09aab7e3fce0a8af0cd80c6b82a3a6872"}},{"ruleId":"D2","level":"warning","message":{"text":"MempoolWatcher.handle (cognitive 24): MempoolWatcher.handle has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 1, match/switch 1 (nesting depth added 11). 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":"bitwindow/server/engines/mempool_watch_engine.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cebb74a5c93171a75f8cdebc5a0c56e6d7798b77cdb4d13ed80f0322da2b7ff"}},{"ruleId":"D2","level":"warning","message":{"text":"api.nodeTransaction (cognitive 24): api.nodeTransaction has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 3, loops 2, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/explorer_core.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"5031c3b0b991fc7afec23a993a1e091c64e6d7e0bec7743b3fb8a04c5b0e15a3"}},{"ruleId":"D2","level":"warning","message":{"text":"ExplorerHandler.GetBlock (cognitive 24): ExplorerHandler.GetBlock has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (24 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":"sidechain-orchestrator/api/explorer_handler.go"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cb26e50bf78dea00c61bc0ab7d8e0479446c7181dfb71245fd5e11e20f5c0e"}},{"ruleId":"D2","level":"warning","message":{"text":"orchestrator.followLogFile (cognitive 24): orchestrator.followLogFile has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (3 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/logtail.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8010e8d0eb799aff5b4d2f103728c3636b96990fb0a748c7ecef3f1b9243651"}},{"ruleId":"D2","level":"warning","message":{"text":"blockfile.preflight (cognitive 24): blockfile.preflight has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 2, 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":"sidechain-orchestrator/blockfile/convert.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"a093dcd7244f06ca79e385eefe1c44d987eb6810454283bef57b0325ee00ade3"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.printStratumStatus (cognitive 24): commands.printStratumStatus has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (20 pts), 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":"sidechain-orchestrator/commands/mining.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e222646d589280720659e1048daba727b47cb7e10e1505550e76f6f52cb8188"}},{"ruleId":"D2","level":"warning","message":{"text":"corewalletfile.makeJournal (cognitive 24): corewalletfile.makeJournal has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 3 (4 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":"sidechain-orchestrator/corewalletfile/convert.go"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba2b870610ca41e5cd13d605cb39325098e885569dee8416f3deb0283df1dea"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.stopMigrationNodes (cognitive 24): Orchestrator.stopMigrationNodes has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 3 (4 pts), boolean chains 3 (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":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"1052d81eb62abec489eb179b17fd0b22c4f569ae4523bcf4608146be78bbdafb"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectrumBackend.SignPSBTWithCosigner (cognitive 24): ElectrumBackend.SignPSBTWithCosigner has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"52090d4abefd3b2de94333347ceef67904c88b73dfd9df85fcf7130d881fe1d8"}},{"ruleId":"D2","level":"warning","message":{"text":"BitnamesViewModel._registerBitname (cognitive 23): BitnamesViewModel._registerBitname has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 5 (7 pts), boolean chains 3, 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":"bitnames/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b7a6700306b51b0dd10491fc2ed28db02e0d5cbb57c07816a9101b5b388f68"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatPage.build (cognitive 23): ChatPage.build has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (14 pts), ternaries 9 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/chat_page.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e9a7a29a92f45c058467971fa64fa12341963df0e9f60aef61646116d6c262"}},{"ruleId":"D2","level":"warning","message":{"text":"_SidechainsTable.build (cognitive 23): _SidechainsTable.build has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 9, if/else 7, boolean chains 5, match/switch 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":"bitwindow/lib/pages/sidechains_page.dart"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46b637ff9f997c7db12eeda279a9825548de8bc7981743ac9c034ef7e1b2be4"}},{"ruleId":"D2","level":"warning","message":{"text":"_FileLogsTabState._readLastNLines (cognitive 23): _FileLogsTabState._readLastNLines has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (4 pts), error handling 1 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/log_page.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd14b3c742a5ee5494bbda43f938063989fcf5409f8e7b6724d6a9761f70b38d"}},{"ruleId":"D2","level":"warning","message":{"text":"_HashCalculatorState._buildHashResults (cognitive 23): _HashCalculatorState._buildHashResults has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18 (23 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/hash_calculator_modal.dart"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4d6dd68df380745949cfb795c499f1fa677af5196699783e488b8530f07b31"}},{"ruleId":"D2","level":"warning","message":{"text":"_TableRowState.build (cognitive 23): _TableRowState.build has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 8 (15 pts), if/else 3 (4 pts), boolean chains 3, 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":"sail_ui/lib/widgets/components/table.dart"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d79f1852df74b3559144cc8e54d108baf58be2e5e4986fa2c92b80efb715967"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupEngine.validateZIP (cognitive 23): BackupEngine.validateZIP has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/backup_engine.go"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4ba4336003dff6f4f87ecdfc61b7f3ed7a5bacaa9a3fc961ccfd88c73c2623"}},{"ruleId":"D2","level":"warning","message":{"text":"main.realMain (cognitive 23): main.realMain has cognitive complexity 23 (threshold 15). Drivers by points: if/else 19 (22 pts), match/switch 1 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 9 belong to 8 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/main.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"992ba9f5c952240bd2035a7d66ebdb9783370d5a816f30e0a4b6974cf0d75a82"}},{"ruleId":"D2","level":"warning","message":{"text":"BMMHandler.CreateBid (cognitive 23): BMMHandler.CreateBid has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 1, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"sidechain-orchestrator/api/bmm_handler.go"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6494df0e8bc9251e439dd0dd702aba8e0504fe0af819eedea39c84743fbd20"}},{"ruleId":"D2","level":"warning","message":{"text":"BmmEngine.recordWinner (cognitive 23): BmmEngine.recordWinner has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 2 (3 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":"sidechain-orchestrator/engines/bmm_engine.go"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6126fe3102e5c2aa9b9bb2b8f566c2ec8fd12265311e51f0e558824f0d5d10e"}},{"ruleId":"D2","level":"warning","message":{"text":"SplitEngine.tick (cognitive 23): SplitEngine.tick has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (20 pts), match/switch 1 (2 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":"sidechain-orchestrator/engines/split_engine.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"492385d357dca1578e4c69fabe66eaa816f7075d74c83ccd8af31d9daa500b25"}},{"ruleId":"D2","level":"warning","message":{"text":"sidechain.DeltaFor (cognitive 23): sidechain.DeltaFor has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 5 (8 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/mempool.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f3ba159b7f04c5fc956fbd7e598d70eafc2827a14e01e5c217ef2dac0e7e8f"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.checkShareLocked (cognitive 23): Server.checkShareLocked has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/stratum/server.go"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"610a149572670f4668f383f82ebf084da50616574dd15c0f330d6bc3416c8ce9"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.createAndImport (cognitive 23): wallet.createAndImport has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 2, 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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":2024}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd99b590006200ede718d96597270670c12e0c3d43227f686ffed918f3c52c95"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.parseColdcardConfig (cognitive 23): wallet.parseColdcardConfig has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 2, match/switch 1 (2 pts), 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":"sidechain-orchestrator/wallet/multisig_config_import.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9eaffb7a44d5891abbd5a6ad8d77b18ae6f3220e9c8691ec44727dbf785b8a"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.SignTransactionLocal (cognitive 23): wallet.SignTransactionLocal has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 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":"sidechain-orchestrator/wallet/signer.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a68b79ad78758b96e073bb656737efe8dbe87d85b08a1f05fd70ab595d73243"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreBackend.Send (cognitive 23): CoreBackend.Send has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c96d24e738b258fb4275f2a54734a1ee3c9d47c20a8b972cc2b52f704d7168"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreBackend.CreatePSBT (cognitive 23): CoreBackend.CreatePSBT has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab81bbf2d7b9ba248252218fb70104fcd8adb66640ed7a0a48c64bfab65efdef"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreBackend.previewBumpFee (cognitive 23): CoreBackend.previewBumpFee has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 1, loops 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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25bf4cb0a6edfa77d1fe7c652d33c401735697315c31e51ee3ab2feb17dd2e1"}},{"ruleId":"D2","level":"warning","message":{"text":"BitcoinConfig.parse (cognitive 22): BitcoinConfig.parse has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (18 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":"sidechain_core/lib/models/bitcoin_config.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f8d4a5624f0b7deaedd3503f88f96c876d212f7d8426af0380928e177af4c4"}},{"ruleId":"D2","level":"warning","message":{"text":"SidechainsViewModel.rpcForSlot (cognitive 22): SidechainsViewModel.rpcForSlot has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 10 (20 pts), if/else 1, match/switch 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":"bitwindow/lib/pages/sidechains_page.dart"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"504328044c59cf09500c028703776a2108f68a92b5a6429eeafda835fe47f1e7"}},{"ruleId":"D2","level":"warning","message":{"text":"_FileLogsTabState._startTailing (cognitive 22): _FileLogsTabState._startTailing has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 pts), error handling 1 (2 pts), ternaries 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":"sail_ui/lib/pages/log_page.dart"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"859a194a6ac747dbbf07c8d328e47d78aabd256d39007cc54ee68dc91c00b15b"}},{"ruleId":"D2","level":"warning","message":{"text":"_PriceCardState.build (cognitive 22): _PriceCardState.build has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 11 (13 pts), if/else 5, boolean chains 3, 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":"truthcoin/lib/pages/market_detail_page.dart"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8d9ae595045666ac7f2434f3bce803bf1037bc41db4c5a53c62d4b6ca0f321"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessManager.start (cognitive 22): ProcessManager.start has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 2, 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":"sidechain_core/lib/providers/binaries/managers/process_manager.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e432a1ff1cf4c4e827125fc4f1d1adbd775c03add5c668bf092dccca2c5c18"}},{"ruleId":"D2","level":"warning","message":{"text":"_ClaimEcashCardState._claim (cognitive 22): _ClaimEcashCardState._claim has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), error handling 1 (3 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":"bitwindow/lib/widgets/fork_mode_banner.dart"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2afb9593da611ad42c991c5eb42edf26dd2e265cb213407311b5b56e04389f"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeNode.fromPaths (cognitive 22): TreeNode.fromPaths has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (12 pts), error handling 1 (5 pts), loops 2 (3 pts), boolean chains 2 (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":"sail_ui/lib/widgets/reset/path_tree_view.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd68c0785d6217d6e4f030198766592299921094bad98240b542e3e41f2d0b1a"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.ListWithdrawals (cognitive 22): Server.ListWithdrawals has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 5 (nesting depth added 4). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"bitwindow/server/api/drivechain/drivechain.go"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fb003719a9cee9c74e9488a630e974ff43c626c59c89754fabb1c89cfba30d"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.Run (cognitive 22): Parser.Run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (19 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/bitcoind_engine.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7eac6b2fda3b362482d871cca44d8e49c08d19ec05a66dff6fe2055ac7ab3d"}},{"ruleId":"D2","level":"warning","message":{"text":"cheques.attachFundingOutputs (cognitive 22): cheques.attachFundingOutputs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/models/cheques/cheques.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"73256c0f1bdf22a2154c96d3dd966e0f09451fb0caa6e6736d09096a85e09a09"}},{"ruleId":"D2","level":"warning","message":{"text":"opreturns.listCoinNewsNewFormat (cognitive 22): opreturns.listCoinNewsNewFormat has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 2, 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":"bitwindow/server/models/opreturns/opreturns.go"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f3a16c3baec17f86233721c7f787383c943ff48f4ab4ff3a31d94ad5e6afb5"}},{"ruleId":"D2","level":"warning","message":{"text":"orchestrator.New (cognitive 22): orchestrator.New has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 5). Of this number, 13 points are the body\u0027s own statements and 9 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b1e0baca0737df23d48ffd73c5ad9963aca84c27a09189664cbf2982ad91e3"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.binaryVersion (cognitive 22): commands.binaryVersion has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 2, 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":"sidechain-orchestrator/commands/commands.go"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70cc3f300801691e0b58674a7f182f864414189cc5f2dc3036a891dfb69ba0a"}},{"ruleId":"D2","level":"warning","message":{"text":"BmmEngine.strandedBid (cognitive 22): BmmEngine.strandedBid has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/engines/bmm_engine.go"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43ebd7e943d6039ff349b06175792d3ca59e5e20e58db4b7e9bf02839e1b1c9"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.StatusWithOptions (cognitive 22): Orchestrator.StatusWithOptions has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 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":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a472c8bf51535abda4bc665d13c69c49022185a6cc3ac467d80037f603bd9f"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.serveConn (cognitive 22): Server.serveConn has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 2, boolean chains 1 (nesting depth added 8). Of this number, 15 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/stratum/server.go"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce511780252198dc8cbd4d040a1b2a338d793bb85da7435f609db3b5ec4ed28"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.StrandedTxIDs (cognitive 22): wallet.StrandedTxIDs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 5, loops 4 (5 pts) (nesting depth added 8). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/core_stranded.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e06969b64981e954473fb9dc3a8bcf084649cd0ddc50451c383080d2dcd3250"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.partialSigHash (cognitive 22): wallet.partialSigHash has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 3, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/psbt.go"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cb8387633c3ee54fbad7e3879c24562c3944d817e54cf4a894d8e0cae0ebb3"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.requireSigHashAll (cognitive 22): wallet.requireSigHashAll has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 3 (5 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/psbt.go"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b9f4293bc0d7e73764935cb9dd3f3e56983d3de320e48492f39330b1fddcb0"}},{"ruleId":"D2","level":"warning","message":{"text":"_TransactionTableState.build (cognitive 21): _TransactionTableState.build has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 11, if/else 7, 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":"bitwindow/lib/pages/wallet/wallet_overview.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"7272e439f17f475b4a081607c6f11f1c3f8f9ab8dcac5da0a2f9f50cb20b6de6"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatProvider.fetchPaymail (cognitive 21): ChatProvider.fetchPaymail has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), error handling 3, boolean chains 1, ternaries 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":"bitwindow/lib/providers/chat_provider.dart"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcaca9c4257e0fc6ef28c6c1ef23f7768a764660748983e5b02d87129291a77"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionStorage.cleanupPSBTFromGroup (cognitive 21): TransactionStorage.cleanupPSBTFromGroup has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (10 pts), ternaries 2 (8 pts), boolean chains 2, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/multisig_provider.dart"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"0698010371a8043f943047f02891e9d834531c4d465854509d6cf6d5de609a74"}},{"ruleId":"D2","level":"warning","message":{"text":"SailTabItem.build (cognitive 21): SailTabItem.build has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 8 (9 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/containers/tab_bar.dart"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"061b6ac1c6a9dea7e4f3047274a971a1ac6fcc3d78bafbf5a941c06846e467d2"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.ListBlocks (cognitive 21): Server.ListBlocks has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"30dbd3b828cd5bdceb8f4aab928642225c9990cfd233a2ebf89c6ca0e0bfa6f8"}},{"ruleId":"D2","level":"warning","message":{"text":"config.RunBitcoinConfMigrations (cognitive 21): config.RunBitcoinConfMigrations has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/config/bitcoin_config_syncer.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c217d07c086da527d4ff1bbd0982cb38ffa3e851c3480eb3f354f8c6f9cd28"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.discoverPid (cognitive 21): Orchestrator.discoverPid has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 4 (nesting depth added 9). 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":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b36456982c142f9dfadd8e9bd7c3dc1dfe744ed8a52f0cbc7c5fff60c7ee06"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.ShutdownAll (cognitive 21): Orchestrator.ShutdownAll has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 2, loops 1 (nesting depth added 9). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to one function literal inside it that branches (line 2417). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":2406}}}],"partialFingerprints":{"codehealthFindingId/v1":"2346d62a29707667dbd3cacf6ea1dd771de1411725305934719a0f83aba8f318"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.publish (cognitive 21): Server.publish has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/stratum/server.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f9b2d39fa1baac30313e6a6da18fa837d004a5a2d7627e75e2943520864ce8"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.DeriveKeystore (cognitive 21): wallet.DeriveKeystore has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 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":"sidechain-orchestrator/wallet/derive_keystore.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53ff306909388bc26d01afd3ea460ed276489917bee642bac003b6628052c34"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.walletRowsForTx (cognitive 21): wallet.walletRowsForTx has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":3415}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc87ed54d6d20c4186749688817ec5eafaa8d0c146d4b217e57c611fffa65225"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.SigningKey (cognitive 21): wallet.SigningKey has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/wallet_descriptors.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed39d9b7294cdf3e848aa572671c43aa784f95513f9faa151ec0ac6bc7439495"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreBackend.lastUsedTimes (cognitive 21): CoreBackend.lastUsedTimes has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 7 (10 pts), boolean chains 1 (nesting depth added 8). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"293092fceb997fefd49fa54079cd8d05a6d7934229bf2d088d470550a8285ad3"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectrumBackend.scanChain (cognitive 21): ElectrumBackend.scanChain has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":3020}}}],"partialFingerprints":{"codehealthFindingId/v1":"106a94e3ee5df775f7603a91b68b053cfcb0ce62e36e6df1ba9503a6966c3912"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectrumBackend.hydrate (cognitive 21): ElectrumBackend.hydrate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":3072}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb496ce2242b1243749a1adf288692783693398c5494469905508232ce90bc7"}},{"ruleId":"D2","level":"warning","message":{"text":"EsploraClient.AddressTxsFrom (cognitive 21): EsploraClient.AddressTxsFrom has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/esplora.go"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"172f90d6470d58e4547413a87cb0be38570f5ae7451b8cf0ebd548cfa5549c65"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.restoreWalletBackup (cognitive 21): Service.restoreWalletBackup has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (21 pts) (nesting depth added 5). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 246, 222, 197, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/metadata.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"3489425d7335a5327c31a796cfa0508f779cb764c6e03e812c9c4ea5d5f1de29"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.startWatcher (cognitive 21): Service.startWatcher has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 9). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 2198). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":2184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5eea5e05ea38cc723f2ae368f5ab55fae015fcd4602a886bd4378c4e57e8bcc"}},{"ruleId":"D2","level":"warning","message":{"text":"_BowtiePainter.paint (cognitive 20): _BowtiePainter.paint has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 3 (5 pts), 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":"bitwindow/lib/pages/explorer/widgets/transaction_flow_diagram.dart"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"003864974793ba75833dbb50b416fc779c7e772472d774eff931ef5e7b0856ea"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsWalletState.build (cognitive 20): _SettingsWalletState.build has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 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":"bitwindow/lib/pages/settings/settings_wallet.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6cd9cbe7fd09cca534ce0c3ee87d5895ea31df4cdd24a439ff6c1af49c6cfb"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatProvider.claimIdentity (cognitive 20): ChatProvider.claimIdentity has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 2 (4 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/chat_provider.dart"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"8823ddac66238860fbbfbfae0c3446b0caebf9f8344473667db77c813d5c55c5"}},{"ruleId":"D2","level":"warning","message":{"text":"NewsProvider.fetch (cognitive 20): NewsProvider.fetch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), error handling 3, 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":"bitwindow/lib/providers/news_provider.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a2c286c4b873c024b824d825fa5775b17b084291a90353c086fb67467546eb"}},{"ruleId":"D2","level":"warning","message":{"text":"PidFileManager.getProcessName (cognitive 20): PidFileManager.getProcessName has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (16 pts), ternaries 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/binaries/managers/pid_file_manager.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e1107963cd2009865a4830f287eea8093112052925e1d1117910022bf5c604"}},{"ruleId":"D2","level":"warning","message":{"text":"BitcoinConfProvider.loadConfig (cognitive 20): BitcoinConfProvider.loadConfig has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 3 (6 pts), boolean chains 5, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/bitcoin_conf_provider.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f431ec19f4465f2f51ce3c54597e7179a1335ca5b1dff0f5fdc1782990f542b1"}},{"ruleId":"D2","level":"warning","message":{"text":"BitnamesSecureStore._decryptSlot (cognitive 20): BitnamesSecureStore._decryptSlot has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, if/else 3 (6 pts), error handling 2 (nesting depth added 3). 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":"bitwindow/lib/services/bitnames_secure_store.dart"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07cd1faa3fea639ebda8436ada4c7f2cfc0c30310822ca053318f6ae158d9da"}},{"ruleId":"D2","level":"warning","message":{"text":"_SidechainHomePageState._handleGlobalKeyEvent (cognitive 20): _SidechainHomePageState._handleGlobalKeyEvent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, ternaries 2 (4 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":"sail_ui/lib/shell/sidechain_home_page.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"47aef70127d0733fc12945c00c6a454dc6d4945662f7d6b1ef75b1700c82d79d"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetIssuanceWizard.build (cognitive 20): AssetIssuanceWizard.build has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 6, boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/widgets/asset_issuance_wizard.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee6a1baae3de0f95b2de484c1580d8fcc4fd49ee2074e6f8afbedc427b21809"}},{"ruleId":"D2","level":"warning","message":{"text":"_CombineBroadcastModalState.build (cognitive 20): _CombineBroadcastModalState.build has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 6 (7 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/combine_broadcast_modal.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f9ba1133c80a149b8533d767c4a34c46d75857b3b0ebe05a72dba3024bb265"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportMultisigModal.build (cognitive 20): ImportMultisigModal.build has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (11 pts), if/else 7 (9 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":"bitwindow/lib/widgets/create_multisig_modal.dart"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"6816639c5b2c74a47684249272e088e487beef1e3a99e8e8ebc0d881006c7bc2"}},{"ruleId":"D2","level":"warning","message":{"text":"__SailScaleButtonState.build (cognitive 20): __SailScaleButtonState.build has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 15, boolean chains 4, if/else 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":"sail_ui/lib/widgets/buttons/button.dart"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d2afc031dd74f6120ea080ae5b160faf1850d118038ac97c88e348edadf848"}},{"ruleId":"D2","level":"warning","message":{"text":"ChainLoaders.build (cognitive 20): ChainLoaders.build has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 9, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/nav/bottom_nav.dart"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"3742bdf9dc2295afe26fba776f9a679cd6b9955574082cef97debbc52c812993"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.processPegDataBlocks (cognitive 20): Server.processPegDataBlocks has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/api/drivechain/drivechain.go"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8980907a837ab71961fce365587d9c1beba1f9749bec2d5024438a5ff276de"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.Watch (cognitive 20): Server.Watch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 3 (7 pts), loops 2 (nesting depth added 10). Of this number, 11 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/api/health/health.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5bc301d81df01cccd6bbb1dab7cc603b0d715ef094af0453794b1d8923b3b0"}},{"ruleId":"D2","level":"warning","message":{"text":"engines.selectBranchAndBound (cognitive 20): engines.selectBranchAndBound has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 5, boolean chains 1 (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/coin_selection.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"273071b1ec24da1d6325017763338ca8982baba6940bf3c59579c78a9fc54550"}},{"ruleId":"D2","level":"warning","message":{"text":"WalletHandler.SendTransaction (cognitive 20): WalletHandler.SendTransaction has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 2, 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":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7b1deeafe88c64b5516dd445be2b18aa0abe70c5e8a8b869c4e46647428db4"}},{"ruleId":"D2","level":"warning","message":{"text":"blockfile.magicAt (cognitive 20): blockfile.magicAt has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 1, 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":"sidechain-orchestrator/blockfile/detect.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd5f129240420201fbd1a61a70fb870a7662c1347844116cb80cbcad8ce5e8d"}},{"ruleId":"D2","level":"warning","message":{"text":"BitcoinConfManager.loadOrCreateConfigContent (cognitive 20): BitcoinConfManager.loadOrCreateConfigContent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (20 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":"sidechain-orchestrator/config/bitcoin_conf.go"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dda4c94a8a389187aa00a4458a80982501ac6334969cec33dd2d4d8ff6ce99b"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.restartResetPlan (cognitive 20): Orchestrator.restartResetPlan has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/reset.go"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99c3c597395e5a84c24f6ad8771ef7035217450c074e54209b8d13e73776255"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.coreReceiveList (cognitive 20): wallet.coreReceiveList has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4, boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"f539eb724f6e1326f153e10d6551375aca2c42bbdef3ac740e2fbf7a14892bc8"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.decodePSBT (cognitive 20): wallet.decodePSBT has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, 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":"sidechain-orchestrator/wallet/decode.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c129ee7ed00d1c130a80aeec2c9e25c8b08d5770fa6bc328843eb5a0763cda7"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.ParseDescriptorAs (cognitive 20): wallet.ParseDescriptorAs has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2, 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":"sidechain-orchestrator/wallet/descriptor.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3c75928b124e7ea17f0f05631acc042f7b68dc6ddd32c21137a6e9f4d8cc46"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectrumBackend.previewBumpFee (cognitive 20): ElectrumBackend.previewBumpFee has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 2, loops 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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f5f0773c16d5bfc0a0881e1f17c600632a59ad589cfd8833ab5d4c9a0a41dc"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectrumClient.call (cognitive 20): ElectrumClient.call has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/electrum_client.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4b65baf8396c496e57c25b0610be0bfbc37b196b47084d98b3542596af756b"}},{"ruleId":"D2","level":"warning","message":{"text":"walletfile.Write (cognitive 20): walletfile.Write has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/walletfile/walletfile.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5953b81a4bd9afaf03643860ba9efe0f3c36f6f7ffb859aadb60c03ac7e7e5"}},{"ruleId":"D2","level":"warning","message":{"text":"_DepositModalState._getSidechainRPC (cognitive 19): _DepositModalState._getSidechainRPC has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (14 pts), boolean chains 2, if/else 2, 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":"bitwindow/lib/pages/sidechains_page.dart"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d887a173f171ed1449f45994214ed660f63fdb40d4a09fed4bc7847007b2881"}},{"ruleId":"D2","level":"warning","message":{"text":"_DenialDialogState.startDenial (cognitive 19): _DenialDialogState.startDenial has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), error handling 2 (5 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 6). 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":"bitwindow/lib/pages/wallet/denial_dialog.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f970e10b7496491e1f06f16fb560e2a6f98033549236701bcd719570b6b5a1"}},{"ruleId":"D2","level":"warning","message":{"text":"_GetCoinsButtonState._claimFaucet (cognitive 19): _GetCoinsButtonState._claimFaucet has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_page.dart"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eeea0f12d94d0da13c513c39d886811c2f9d79a8710a2095d28d643285461c4"}},{"ruleId":"D2","level":"warning","message":{"text":"_ExplorerDetailState.build (cognitive 19): _ExplorerDetailState.build has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (19 pts) (nesting depth added 10). 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":"sail_ui/lib/pages/sidechains/explorer/explorer_detail.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"77808d239df42b8d7d2e1bcd3f45f1c24571bc1fa17602cc2e9e57582ca0d9aa"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockchainProvider.fetch (cognitive 19): BlockchainProvider.fetch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 7, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/blockchain_provider.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"996b3695fdfc016ca18d74286b0a89e7350832aac960ffecf1ab7ba58128f25b"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatProvider._loadMessages (cognitive 19): ChatProvider._loadMessages has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 5, ternaries 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/chat_provider.dart"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"2963f23a46a52f3a9c202cfd9a4585f0562ffd58059d0db6e480458e2ad6e6fa"}},{"ruleId":"D2","level":"warning","message":{"text":"BackendStateProvider._rpcForBinaryName (cognitive 19): BackendStateProvider._rpcForBinaryName has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (18 pts), match/switch 1 (nesting depth added 9). 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":"sidechain_core/lib/providers/backend_state_provider.dart"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f624e60ff46acd9cc4915f0e8e627f87893c1b01a64fe0b149e8b746ed84bcf"}},{"ruleId":"D2","level":"warning","message":{"text":"_ClaimEcxCardState._check (cognitive 19): _ClaimEcxCardState._check has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, ternaries 1 (2 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":"bitwindow/lib/widgets/claim_ecx_card.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5cc74f5bf2ee3ee58ff7a9c2defb384da171a9dc696fc4863aa8c41b24af328"}},{"ruleId":"D2","level":"warning","message":{"text":"_CombineBroadcastModalState._combineAndBroadcast (cognitive 19): _CombineBroadcastModalState._combineAndBroadcast has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, loops 1 (2 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":"bitwindow/lib/widgets/combine_broadcast_modal.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f51374a2342131310f14e8b4716017c838709cb3c590f6b6f839f1373fefe1"}},{"ruleId":"D2","level":"warning","message":{"text":"_HardwareDevicePickerState._deviceTile (cognitive 19): _HardwareDevicePickerState._deviceTile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9, boolean chains 7, ternaries 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":"bitwindow/lib/widgets/hardware_device_picker.dart"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"58303efc9fa2fe1368c3f6d6fc3c7c703a8c70c510526869efa764018a84f16b"}},{"ruleId":"D2","level":"warning","message":{"text":"_URQrScannerState._onDetect (cognitive 19): _URQrScannerState._onDetect has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 2 (5 pts), 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":"bitwindow/lib/widgets/ur_qr_scanner.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c168234114383f38a4be0ba26e2a90a9f387078b759158a9a5639d719025af"}},{"ruleId":"D2","level":"warning","message":{"text":"SailTextField.build (cognitive 19): SailTextField.build has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 13, if/else 5, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/inputs/text_field.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdb2e77bab571ddf9cd9e5cdd00292a73e73abbfe1579bf0ef868f57017f2a6"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.UpdateNetwork (cognitive 19): Server.UpdateNetwork has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (17 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":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"28eac5fbabe6975748c6760da4d4151911bc61f8aa7d39137357a505f053a7bb"}},{"ruleId":"D2","level":"warning","message":{"text":"engines.SelectCoins (cognitive 19): engines.SelectCoins has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 4, boolean chains 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":"bitwindow/server/engines/coin_selection.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5675debe89aec6f1b25f96db1ba9c31de10d7cfa4760048289ba303de93c28d"}},{"ruleId":"D2","level":"warning","message":{"text":"engines.indexCoinNewsPayload (cognitive 19): engines.indexCoinNewsPayload has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2, 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":"bitwindow/server/engines/coinnews.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6471fe3850faa1f65df8b322339af9554ce6b3766d5f5a71a11ae4f501547130"}},{"ruleId":"D2","level":"warning","message":{"text":"DeniabilityEngine.ProcessUTXO (cognitive 19): DeniabilityEngine.ProcessUTXO has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (17 pts), loops 1, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/deniability_engine.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db93e947b896212da37b0e786866609e36bdd007cf76583bd487725ffe835c8"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner.indexHeight (cognitive 19): Scanner.indexHeight has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (3 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":"coinnews/server/scanner/scanner.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7c40a7abb102b0e5f1cdbb662ba8d7f3e9ef8598d75694ebef19d00582d096"}},{"ruleId":"D2","level":"warning","message":{"text":"coreBids.frozenCoins (cognitive 19): coreBids.frozenCoins has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3 (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":"sidechain-orchestrator/api/bmm_frozen.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdb2b388d6e8f63d428c889eea95b6a64d61add2e607de758619e2961e81087"}},{"ruleId":"D2","level":"warning","message":{"text":"walletBids.frozenCoins (cognitive 19): walletBids.frozenCoins has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 5 (6 pts), boolean chains 1 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/bid_source_wallet.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcff7b5291c4f446e0bd80fd17f69ee048a542d57de50ab0e500f0859c1ab803"}},{"ruleId":"D2","level":"warning","message":{"text":"ExplorerHandler.anchorFromEnforcer (cognitive 19): ExplorerHandler.anchorFromEnforcer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/explorer_cache.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b5a11e6b3f08ce2c377e7b6bc1222e06c797a49ce2f1dfd595d320e1700216"}},{"ruleId":"D2","level":"warning","message":{"text":"MultisigLoungeHandler.SignTransaction (cognitive 19): MultisigLoungeHandler.SignTransaction has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (18 pts), 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":"sidechain-orchestrator/api/multisiglounge_handler.go"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb94f3ae04faf3c95f8dafbb62c47b723445524e14132d65f03ba423c187da0"}},{"ruleId":"D2","level":"warning","message":{"text":"MultisigLoungeHandler.CombineAndBroadcast (cognitive 19): MultisigLoungeHandler.CombineAndBroadcast has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/multisiglounge_handler.go"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"5293db9ca67f3692c18da9226d6bedf3cc06ff98d3c6bc92e173cffc8aa637a5"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.StreamLogs (cognitive 19): Handler.StreamLogs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/orchestrator_handler.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b439665be16499d8f9210d2a1334e0dd80eb296d3edb8d66b9de5106e0995150"}},{"ruleId":"D2","level":"warning","message":{"text":"WalletHandler.PreviewSend (cognitive 19): WalletHandler.PreviewSend has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (19 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":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea42c493a3632928f27f8033e5bf2a642c860bf917ada8dfa734e98310f17ce1"}},{"ruleId":"D2","level":"warning","message":{"text":"WalletHandler.GetTransactionDetails (cognitive 19): WalletHandler.GetTransactionDetails has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 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":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"7264aedd9586dd4688ee1a0d2b2042aedd15ce88674f291b675635fbe7cc05d0"}},{"ruleId":"D2","level":"warning","message":{"text":"orchestrator.alignWalletState (cognitive 19): orchestrator.alignWalletState has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 3 (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":"sidechain-orchestrator/sidechain_wallet_state.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c78ff6abec420489af9fb4e0c6293dc73fce4d97bda4dd90962d3ad7313eac"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.checkBurnPreview (cognitive 19): commands.checkBurnPreview has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 7, loops 2, match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/commands/wallet_burn_ecx.go"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56e35199d19350ba0dd287c1d4b41d1c7c6adc1bfd727701d943dcb568297b6"}},{"ruleId":"D2","level":"warning","message":{"text":"config.WipeEnforcerChainDataSync (cognitive 19): config.WipeEnforcerChainDataSync has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (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":"sidechain-orchestrator/config/binaries.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56d2439c5d7611ae22b080d5ade739d2522e68ef71e2125fc2e32de14d148d2"}},{"ruleId":"D2","level":"warning","message":{"text":"BIP47Engine.decodeNotificationTx (cognitive 19): BIP47Engine.decodeNotificationTx has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (17 pts), 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":"sidechain-orchestrator/engines/bip47_engine.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"518bc45723e31da154e29c3b01e651e0aa89488ea00a934c682d257df4203845"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.checkECashMigrationStart (cognitive 19): Orchestrator.checkECashMigrationStart has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce08438702d8238092bbfdc95a1bf04000b23477307153688ba292a078049504"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.startMigrationCore (cognitive 19): Orchestrator.startMigrationCore has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f9fae7b33eac16aa8dafb0a8d76fdcafe199cde4e8c92bd3229ea1beb18457"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.ConfirmPendingECashNetwork (cognitive 19): Orchestrator.ConfirmPendingECashNetwork has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/network_catalog.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adca9f64bc5fba5943d3fc17fdd3c30dbf0630188b3486b0120e4a6d3d89ad1"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.GetWalletUtxos (cognitive 19): Handler.GetWalletUtxos has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (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":"sidechain-orchestrator/sidechain/zside/handler.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e43b87b6b19e873588b8cdbd3822144c57231e65edbb86fc4c17e3b5e57a69d"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.listWalletTransactions (cognitive 19): Handler.listWalletTransactions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 5 (7 pts) (nesting depth added 9). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/zside/history.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6d01f1c7bdbbdce7eedce24fb08315eaa85bcc365dcb90ef222085d71e0c20"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.verifySignatures (cognitive 19): wallet.verifySignatures has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (4 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":"sidechain-orchestrator/wallet/psbt.go"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c764a81a0305322c14283667f974196f376099b855661fa0f36d15fb30bc62f"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.insertScanRows (cognitive 19): wallet.insertScanRows has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/scancache.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fed380952271ac0e9435dd158778668966b00bd98b27a793ed3da112436146"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.multisigOutput (cognitive 19): wallet.multisigOutput has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (18 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":"sidechain-orchestrator/wallet/scripttype.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1009fc7d56c7fe5fb3ec60a8d3f478dc8dd443c0b405389638d82e171a3c79"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.finalizeTaprootMultisigInput (cognitive 19): wallet.finalizeTaprootMultisigInput has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 4, boolean chains 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":"sidechain-orchestrator/wallet/scripttype_taproot.go"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be21ec278e01e6a70f256a900abe28cbb0cad894f335996f907cbdea95c45bd"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectrumBackend.applySpend (cognitive 19): ElectrumBackend.applySpend has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 6 (7 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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae5484c88c9c8b9fe0e57c11c087a15368d647e7c1e2f6e80e802dd8d78f172"}},{"ruleId":"D2","level":"warning","message":{"text":"EsploraClient.Outspend (cognitive 19): EsploraClient.Outspend has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 1, 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":"sidechain-orchestrator/wallet/esplora.go"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f55215afbee3697fecbfa9ea86b84e957e330bb0fca310251b80311549bcb97"}},{"ruleId":"D2","level":"warning","message":{"text":"NewDecisionDraft.error (cognitive 18): NewDecisionDraft.error has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"truthcoin/lib/models/market_creation.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cba897e78a4deb6066fbba3e6dbc8478086946cec3ec274901e583b1ef50072"}},{"ruleId":"D2","level":"warning","message":{"text":"AmmSwapViewModel._updatePrice (cognitive 18): AmmSwapViewModel._updatePrice has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (4 pts), boolean chains 2, error handling 1 (nesting depth added 8). 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":"bitassets/lib/pages/tabs/amm_page.dart"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a2b149aa051bcae72d3b7d562adf99009b67b5c70588aef21a24da8127f7ed"}},{"ruleId":"D2","level":"warning","message":{"text":"_TooltipContent.build (cognitive 18): _TooltipContent.build has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (16 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":"bitwindow/lib/pages/explorer/widgets/transaction_flow_diagram.dart"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"a555f64e25736d97f69033a39ca05cbe4c39da2f58d6f63062b7822d7d19b104"}},{"ruleId":"D2","level":"warning","message":{"text":"ManageNewsSubscriptionsViewModel.importTopics (cognitive 18): ManageNewsSubscriptionsViewModel.importTopics has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 1 (3 pts), ternaries 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/overview_page.dart"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d5491a6dd56bf14f7e971ed3a5ece2e53496eed39fa76d0a7802bb2f7617c2"}},{"ruleId":"D2","level":"warning","message":{"text":"_MultisigConfigStepState._onPathChanged (cognitive 18): _MultisigConfigStepState._onPathChanged has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (7 pts), error handling 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/welcome/multisig_config_step.dart"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"7795e12397879dbcd8247a882362e8576b0609170e993abbb6dcaeb18495b07e"}},{"ruleId":"D2","level":"warning","message":{"text":"_UTXOsTableState.build (cognitive 18): _UTXOsTableState.build has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 16, if/else 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zside/lib/pages/tabs/zside/zside_melt_cast_page.dart"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"8214b0053a8fd59cf451eb1c091e4e087c5bd258693a28e499605a06691eee2b"}},{"ruleId":"D2","level":"warning","message":{"text":"SidechainProvider.fetch (cognitive 18): SidechainProvider.fetch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 1 (3 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/sidechain_provider.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa74e1d894cdceade9b87a239a1cfa61ebddf8642b39e189431390264c3b8a1"}},{"ruleId":"D2","level":"warning","message":{"text":"BitwindowRPCLive.startNotificationStream (cognitive 18): BitwindowRPCLive.startNotificationStream has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 4, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d2531a564ae27b03ef882dca4f4bc203e52ec52b85c5ea2f0147c73ec84d2a"}},{"ruleId":"D2","level":"warning","message":{"text":"_BurnEcxCardState._prepare (cognitive 18): _BurnEcxCardState._prepare has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, 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":"bitwindow/lib/widgets/burn_ecx_card.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"68989666fd7e6d769f07166d792b322eb41ba349212789297936750582862b2e"}},{"ruleId":"D2","level":"warning","message":{"text":"_ChainSettingsModalState._loadBinaryVersion (cognitive 18): _ChainSettingsModalState._loadBinaryVersion has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 2 (8 pts), 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":"sail_ui/lib/widgets/modals/chain_settings_modal.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e820c5d737f723aa743949ee3358a1a86c940fb5651308d097aba7989905c73"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.GetNetworkStats (cognitive 18): Server.GetNetworkStats has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (17 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"737b761c7e94a4e87b7bd94a863394e3ff3bb4b508b1f8174d23d835fc94f5d7"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.GetUTXODistribution (cognitive 18): Server.GetUTXODistribution has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/api/wallet/wallet.go"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba83a39e0ca95c15310353a6806f0cac8f2f70351b30e91c59f322732e417de"}},{"ruleId":"D2","level":"warning","message":{"text":"engines.parseOPReturnData (cognitive 18): engines.parseOPReturnData has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, 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":"bitwindow/server/engines/bitcoind_engine.go"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae0153382b34eec4ec109ad0d7bb6e9b6113d234fa51e9db5ddfdfe79978d34"}},{"ruleId":"D2","level":"warning","message":{"text":"engines.ReadCoreTransactions (cognitive 18): engines.ReadCoreTransactions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/core_transactions.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fb0664441755cb89c60f0acafc1016b7113775294b03497bb2dc5269c08cf6"}},{"ruleId":"D2","level":"warning","message":{"text":"DeniabilityEngine.resolveDenialWallet (cognitive 18): DeniabilityEngine.resolveDenialWallet has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3, loops 1 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/deniability_engine.go"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f285305ce9ac9b0551dfb372bed2e9049042539003fd13fd29ed88d494d27a"}},{"ruleId":"D2","level":"warning","message":{"text":"BMMHandler.PrepareBMM (cognitive 18): BMMHandler.PrepareBMM has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/bmm_handler.go"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2341775206c4c7a34404b0626bc5805b1eb92a28c940e4397d4e797a9d2048"}},{"ruleId":"D2","level":"warning","message":{"text":"StratumHandler.GetStratumStatus (cognitive 18): StratumHandler.GetStratumStatus has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 3 (5 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":"sidechain-orchestrator/api/stratum_handler.go"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"097455a55604916068f9d968cc805329e32256afd59768cbd12d34ade7c51975"}},{"ruleId":"D2","level":"warning","message":{"text":"WalletHandler.CreateElectrumWallet (cognitive 18): WalletHandler.CreateElectrumWallet has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (16 pts), 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":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db919cc4fea14c39b9ba337e189d294f530d7ee92c8e6e5dc2a77d397615cf9"}},{"ruleId":"D2","level":"warning","message":{"text":"orchestrator.parseBinaryVersion (cognitive 18): orchestrator.parseBinaryVersion has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 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":"sidechain-orchestrator/version.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"209d032ae5bfda63712f795a5ee036ad6b5b627e0ecf8f4e1ac462e5ec2f02b8"}},{"ruleId":"D2","level":"warning","message":{"text":"blockfile.run (cognitive 18): blockfile.run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 1, 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":"sidechain-orchestrator/blockfile/convert.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"643cf8330c1693320ddad75d430f1044b4f4feed525c9997c9bbab1207d54eb9"}},{"ruleId":"D2","level":"warning","message":{"text":"BitcoinConfManager.watchLoop (cognitive 18): BitcoinConfManager.watchLoop has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (15 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/config/bitcoin_config_syncer.go"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ececca3cbb5bcd7952e5062af7e06c658b9bae90a0c201ea44a872a654d88a"}},{"ruleId":"D2","level":"warning","message":{"text":"EnforcerConfManager.watchLoop (cognitive 18): EnforcerConfManager.watchLoop has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (15 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/config/enforcer_conf.go"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9af18e60b452183985b0f1cb88e159d1d6d11b22d87522d3a00fb53298a3cd3"}},{"ruleId":"D2","level":"warning","message":{"text":"SidechainConfManager.watchLoop (cognitive 18): SidechainConfManager.watchLoop has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (15 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/config/sidechain_conf.go"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"737d6bbefa031a1a47dd38432183975f4ffac6213a18b86d74d8e839165dd6f3"}},{"ruleId":"D2","level":"warning","message":{"text":"corewalletfile.Preview (cognitive 18): corewalletfile.Preview has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 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":"sidechain-orchestrator/corewalletfile/convert.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfab09d4551d0cce635eb5c3852045af648c8c6f71fdb7909c3c4a8b34192273"}},{"ruleId":"D2","level":"warning","message":{"text":"corewalletfile.Convert (cognitive 18): corewalletfile.Convert has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (17 pts), loops 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":"sidechain-orchestrator/corewalletfile/convert.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4663d929e911414a4537190007ec3a23b1fe92af67afe944d472dd956a9e60c2"}},{"ruleId":"D2","level":"warning","message":{"text":"corewalletfile.inspect (cognitive 18): corewalletfile.inspect has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/corewalletfile/convert.go"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"5568d83c1539c13cbadd1142a5f1e6653dd16f853d92b24be3ac4ffcee12cf7e"}},{"ruleId":"D2","level":"warning","message":{"text":"corewalletfile.checkPlan (cognitive 18): corewalletfile.checkPlan has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/corewalletfile/convert.go"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"918d21a483e539f35d5d8f7c227f92f7c105f0169982bac24953e10368078fea"}},{"ruleId":"D2","level":"warning","message":{"text":"BIP47Engine.extendImportsForSender (cognitive 18): BIP47Engine.extendImportsForSender has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 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":"sidechain-orchestrator/engines/bip47_engine.go"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a553e8349eb54f6d02ce682fb0e274eeedd17bb2221c889b4f14be4481f24da"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.newMigration (cognitive 18): Orchestrator.newMigration has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, 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":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a115e7cb12f3fe9577880e255dee3a983ba73aa1ac7acaaa23694930aac435b"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.PlanNetworkChange (cognitive 18): Orchestrator.PlanNetworkChange has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6, 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":"sidechain-orchestrator/network_change_plan.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"757b081f8f4fe70f0cb89e53b03ffde76e85ffb5f8532bd433541e16f3977a82"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.EnforcerURL (cognitive 18): Orchestrator.EnforcerURL has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (17 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":"sidechain-orchestrator/remote_enforcer.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f711bfc7fba9a89c841b815c308f5a4a853a07bf69db6aa838240aef27c563"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.signPSBTInput (cognitive 18): wallet.signPSBTInput has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (17 pts), 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":"sidechain-orchestrator/wallet/psbt.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"2505b616964686e0ed5b79c65349745472da0b9d0dbcc83282f2c8d012a4cb32"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.CheckPSBTInputs (cognitive 18): wallet.CheckPSBTInputs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 1 (2 pts), boolean chains 1, 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":"sidechain-orchestrator/wallet/psbt.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c563dbf3e54aecb14da5e4a724b7af4e54773dd17023577c0b233ea5f75f31a"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.signedInstead (cognitive 18): wallet.signedInstead has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3, boolean chains 1 (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/psbt.go"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52cf90adf9ea99a3e8f6ded3a49f594797214bc829ebc08eb41b1239493f987"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreBackend.Ensure (cognitive 18): CoreBackend.Ensure has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, loops 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfb74bfba5ed0fb5f3885da8c09819e8f57b80fe6a0b3c6d5ee86161fbd93c1"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectrumClient.buildTx (cognitive 18): ElectrumClient.buildTx has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/electrum_client.go"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fef40f54674e38b4c3f8f62e27b745b311071e3bb6a8bba20837eb990b60cd"}},{"ruleId":"D2","level":"warning","message":{"text":"_NetworkStatisticsPageState.build (cognitive 17): _NetworkStatisticsPageState.build has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8, if/else 5 (7 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/dialogs/network_statistics_dialog.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea74f902d4759a7fc4c3d931d584d0f57726d6e04417273b89b3ed274755e426"}},{"ruleId":"D2","level":"warning","message":{"text":"Market.fromJson (cognitive 17): Market.fromJson has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, ternaries 4. 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":"truthcoin/lib/models/market.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92ecdd2758aec1215d1fa8768c161afb3382ce7684a2067e517fbe05d4e8266"}},{"ruleId":"D2","level":"warning","message":{"text":"BitAssetsViewModel.registerBitAsset (cognitive 17): BitAssetsViewModel.registerBitAsset has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 5 (7 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99f31ddfa253cd69cd98de7c3a68080596fee84b249799ee3a030a7ecdc4a73"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckDetailPage.build (cognitive 17): CheckDetailPage.build has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, ternaries 6, 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":"bitwindow/lib/pages/wallet/check_detail_page.dart"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86748ecd75cdeca91c41addf6a289648354ec5ae4cc4700d82f59bca8e6d7d6"}},{"ruleId":"D2","level":"warning","message":{"text":"_DenialDialogState.build (cognitive 17): _DenialDialogState.build has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 6 (7 pts), boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/denial_dialog.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4bcc6dfe097a5892af3f805f6cb65810b4d203b14d716b06ff8a6332937a7c"}},{"ruleId":"D2","level":"warning","message":{"text":"ChecksTable.build (cognitive 17): ChecksTable.build has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 9 (11 pts), boolean chains 4, if/else 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":"bitwindow/lib/pages/wallet/wallet_checks.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a260d9b4c95b2c4cd4ac76cf6413a2e2a76658eeaf8b7964ce6098e25ee3816"}},{"ruleId":"D2","level":"warning","message":{"text":"SidechainConfEditorViewModel.getDiff (cognitive 17): SidechainConfEditorViewModel.getDiff has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (5 pts), boolean chains 2, 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":"sail_ui/lib/shell/sidechain_conf_editor_viewmodel.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae531a6fed79214d516510b0b8fcde9e2cf2914355040dcaedf9b9819768a4c"}},{"ruleId":"D2","level":"warning","message":{"text":"BitcoinConfigEditorViewModel.getDiff (cognitive 17): BitcoinConfigEditorViewModel.getDiff has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (5 pts), boolean chains 2, 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":"sail_ui/lib/viewmodels/bitcoin_config_editor_viewmodel.dart"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdffaa001879f2c05cc783dede0b60df241a6ab59ec59f9a5eb930f6cde5995"}},{"ruleId":"D2","level":"warning","message":{"text":"EnforcerConfigEditorViewModel.getDiff (cognitive 17): EnforcerConfigEditorViewModel.getDiff has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (5 pts), boolean chains 2, 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":"sail_ui/lib/viewmodels/enforcer_config_editor_viewmodel.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6faa9aba2e3c2268cda311cd4ff62976d38da88b79209aabd0d59f51eb1398"}},{"ruleId":"D2","level":"warning","message":{"text":"_StepIndicator.build (cognitive 17): _StepIndicator.build has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 2, 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":"bitassets/lib/widgets/asset_issuance_wizard.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3346ee5d54aad80dd846e9e70fe0c30a6f38d2a3282a7a47c065cad1dee773"}},{"ruleId":"D2","level":"warning","message":{"text":"DatadirNetworkWatcher._checkUntilAnswered (cognitive 17): DatadirNetworkWatcher._checkUntilAnswered has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/datadir_network_notice.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ccc9e61d487f95b6faad8cd82536fe4c3882af754e6eb666c9103109e4c4db"}},{"ruleId":"D2","level":"warning","message":{"text":"SailColumn.build (cognitive 17): SailColumn.build has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, 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":"sail_ui/lib/widgets/containers/sail_column.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"94dbbd4714e23b8e595c5c97228b4976bc86875497d82ce68bca7cdf0c54be06"}},{"ruleId":"D2","level":"warning","message":{"text":"BottomNavViewModel.connectionColor (cognitive 17): BottomNavViewModel.connectionColor has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 7. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/nav/bottom_nav.dart"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf35b284479b87826ab369ebd7fa6e833b5902d398a5f3978ecafcf50bcb175f"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.SetBundleUpvote (cognitive 17): Server.SetBundleUpvote has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 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":"bitwindow/server/api/m4/m4.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd84cc8b2f1ce3b29509aaa59ee1868fd21669a8415bdfdd99d7ee3122993e7"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.groupToProto (cognitive 17): Server.groupToProto has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 3 (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":"bitwindow/server/api/multisig/multisig.go"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd52b2334981e6200a3f93d972322736d59c759d95d0e438ce12b911cc70bf9"}},{"ruleId":"D2","level":"warning","message":{"text":"DeniabilityEngine.waitForUTXOsToAppear (cognitive 17): DeniabilityEngine.waitForUTXOsToAppear has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (13 pts), match/switch 1 (2 pts), boolean chains 1, 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":"bitwindow/server/engines/deniability_engine.go"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded9b728a6e3d601fa9f70abcc7757dd11e02dd00ff5487d08bdddb4e6a1ec13"}},{"ruleId":"D2","level":"warning","message":{"text":"SidechainMonitorEngine.parseWithdrawalBundle (cognitive 17): SidechainMonitorEngine.parseWithdrawalBundle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 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":"bitwindow/server/engines/sidechain_monitor_engine.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"6405eafaab331dd3f21e66cd421a394f13906e7ccbca9f19a4c0394eeac4e166"}},{"ruleId":"D2","level":"warning","message":{"text":"main.startDrivechaind (cognitive 17): main.startDrivechaind has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 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":"bitwindow/server/main.go"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49f0bcb95c62a17e56eee61730162b08e49a076b75c5a3238d72acc3a5c5925"}},{"ruleId":"D2","level":"warning","message":{"text":"cheques.CreateOrUpdateFromRecoveryVersioned (cognitive 17): cheques.CreateOrUpdateFromRecoveryVersioned has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 1, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/models/cheques/cheques.go"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7790a01de7c8853a90800e83b9ee746b9e3d2019d23ac57ea8d7457ef4b0858"}},{"ruleId":"D2","level":"warning","message":{"text":"bidSource.Replacement (cognitive 17): bidSource.Replacement has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 1 (nesting depth added 5). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 151). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/bid_source.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e451f3536b9b3bffb89f8cbfe68efdc0812b5a261cfe11a4f0a0341968ed059d"}},{"ruleId":"D2","level":"warning","message":{"text":"api.nodeBlocksBefore (cognitive 17): api.nodeBlocksBefore has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, loops 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":"sidechain-orchestrator/api/explorer_blocks.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0986823d82373973dd79d9dfc4680fc826c18d46c70d447e38e3c4bec31095cf"}},{"ruleId":"D2","level":"warning","message":{"text":"api.coreOverview (cognitive 17): api.coreOverview 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":"sidechain-orchestrator/api/explorer_core.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e93553c6f1336a05e7289b556608cd9811cc4b34327ae05a994bd6893e4447"}},{"ruleId":"D2","level":"warning","message":{"text":"BMMHandler.ConnectBid (cognitive 17): BMMHandler.ConnectBid has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/bmm_handler.go"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"20646dcc3c98f15674a1834088ab7755b95491c54ea0dc4b3fcb09efbf953e73"}},{"ruleId":"D2","level":"warning","message":{"text":"orchestrator.resolveResetTarget (cognitive 17): orchestrator.resolveResetTarget has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (17 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":"sidechain-orchestrator/reset_to_block.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecd377d8f3ec43756d9ccc369fbd706de86e4ec5d391e9a2e83e90772235bb6"}},{"ruleId":"D2","level":"warning","message":{"text":"BinaryDirConfig.GetWalletPaths (cognitive 17): BinaryDirConfig.GetWalletPaths has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (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":"sidechain-orchestrator/config/binaries.go"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5e7634c07febeddc950182375a329f24b0cc9f3384f5371c2470374f10f61e"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadManager.extractTarGz (cognitive 17): DownloadManager.extractTarGz has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/download.go"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"054505b24bc3833deef2452b62e04351cba60730648219d11180344f4a4bb752"}},{"ruleId":"D2","level":"warning","message":{"text":"BmmEngine.rebuildStaleBid (cognitive 17): BmmEngine.rebuildStaleBid has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/engines/bmm_engine.go"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1d2f743107d968eef77c0b32458e3e9b16ecaa6f0a3ec6aebbe087b90a0964"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.PreviewECashMigration (cognitive 17): Orchestrator.PreviewECashMigration has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3be5f872b9b115e80fca0ec62bd7bf64b8b7fd464a8d4e19b490a85cddeb022"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.convertMigration (cognitive 17): Orchestrator.convertMigration has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 2, loops 1 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"551c10150dc65c656f6f65d1ede3e9d558356e8d727178150c6789c4e112bae4"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.SetCoreVariant (cognitive 17): Orchestrator.SetCoreVariant has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":2713}}}],"partialFingerprints":{"codehealthFindingId/v1":"957f77b934c0e10a2f90bfc03bbfee3c690b5c5ce402d7f3afb6640486b7655d"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.restartRemoteOrphans (cognitive 17): Orchestrator.restartRemoteOrphans has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/remote_enforcer.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"e969e5bef5d7f31ce5cce89c0f6f20be392c012fd9db92175f909eda8fb98b88"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.prepareRemoteSidechainArgs (cognitive 17): Orchestrator.prepareRemoteSidechainArgs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, loops 2 (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":"sidechain-orchestrator/remote_enforcer.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1078699fe159f3821beb9ffa700896f9ebf88fbc22b9357b7fa75901aac84e"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.ReleaseStrandedTxs (cognitive 17): Orchestrator.ReleaseStrandedTxs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 6. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/stranded_release.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b689894fcfbb4272739f4329cdce30a13fce41b34bd2da3b194f80410d53d7"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.SanityCheck (cognitive 17): wallet.SanityCheck has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (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":"sidechain-orchestrator/wallet/entropy.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f38cc9a224c156c3519786155e1f8d2b4b76a8e4e06dbf43752582ed8fa26b5"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.CountMultisigSignatures (cognitive 17): wallet.CountMultisigSignatures has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (6 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":"sidechain-orchestrator/wallet/multisiglounge_sync.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a49e3d8fae5c038cd717dc57d6734646245d8554ea1e7c04a0f8ab9f4ba407a"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.BuildUnsignedTransaction (cognitive 17): wallet.BuildUnsignedTransaction has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), 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":"sidechain-orchestrator/wallet/tx.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4545bb29c67b278826ea15715646bdb9a08a24637f84aced55a719706798aa31"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectrumBackend.CreateCpfp (cognitive 17): ElectrumBackend.CreateCpfp has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":1978}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd2fccffa3b8c8e1ec2fb733c1931733fa36aaef2421199489791e15523fd59"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectrumBackend.immatureCoinbase (cognitive 17): ElectrumBackend.immatureCoinbase has cognitive complexity 17 (threshold 15). Drivers by points: loops 6 (9 pts), if/else 4 (7 pts), boolean chains 1 (nesting depth added 6). 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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":3320}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7b6f225a11743426deea936bf2932f91ede863ee1f412494eab22de06b0c81"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.RemoveEncryption (cognitive 17): Service.RemoveEncryption has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 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":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"63904509a3122b261a9b74ee1794ff23afa5105cd1c0155f4a16113a51fd1a16"}},{"ruleId":"D2","level":"warning","message":{"text":"page.InfoPage (cognitive 17): page.InfoPage has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 17. 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":"dc-hub/app/info/page.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1726c068e3d40601d618d230c51ef1386496ab52e03b58431b71261615b3bfbd"}},{"ruleId":"D2","level":"warning","message":{"text":"_AuctionRow.build (cognitive 16): _AuctionRow.build has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (9 pts), if/else 6 (7 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":"bitassets/lib/pages/tabs/auction_browser_page.dart"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d2ddb69e8df97740d1cac73b59c55e00084a7dfa61de116207e487ee240223"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsNodeModeState._switchTo (cognitive 16): _SettingsNodeModeState._switchTo has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, error handling 1 (nesting depth added 7). 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":"bitwindow/lib/pages/settings/settings_node_mode.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f24f6f83aec4bb5c5793bccf4764f0cb03c09aea87babd5b1174125d4638bc"}},{"ruleId":"D2","level":"warning","message":{"text":"SidechainsViewModel._sidechainRPC (cognitive 16): SidechainsViewModel._sidechainRPC has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 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":"bitwindow/lib/pages/sidechains_page.dart"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40ad9d3ed719d6140077cd9baabc1febfcbbcdd373c670515e75d876029b342"}},{"ruleId":"D2","level":"warning","message":{"text":"_UTXOSnapshotPageState._start (cognitive 16): _UTXOSnapshotPageState._start has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 1 (2 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/utxo_snapshot_page.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdea025656032aeecf825bc119cefcd3f4996bfc5cbd5ff7c6e2d1fd108cd5f"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetAnalyticsProvider._updatePortfolioValues (cognitive 16): AssetAnalyticsProvider._updatePortfolioValues has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), boolean chains 4, loops 2 (3 pts), ternaries 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":"bitassets/lib/providers/asset_analytics_provider.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"6552081075a23958e83a6d44c8add3e838b52b4a1baf3908c1582ede0146af0d"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsolidationProvider._syncConfirmations (cognitive 16): ConsolidationProvider._syncConfirmations has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, loops 2 (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":"bitwindow/lib/providers/consolidation_provider.dart"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd005098e64cb39f7f11b66ad1b5f42597143864c08d664f790b859c4c8d6dad"}},{"ruleId":"D2","level":"warning","message":{"text":"WalletReaderProvider._applyState (cognitive 16): WalletReaderProvider._applyState has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), error handling 2 (4 pts), boolean chains 2, match/switch 1, ternaries 1 (nesting depth added 4). 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":"sidechain_core/lib/providers/wallet_reader_provider.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"149d7cba73455dea2c5c8d88007f5751fcdd5725ef2ae90c160afa04f6e97592"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatFileStorage._save (cognitive 16): ChatFileStorage._save has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 1, 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":"bitwindow/lib/services/chat_file_storage.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a62eb6376f3943c20ae75c829965da801101834e63e600f529b4122ad7543ec"}},{"ruleId":"D2","level":"warning","message":{"text":"_ECashMigrationDialogState._progress (cognitive 16): _ECashMigrationDialogState._progress has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 2 (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":"bitwindow/lib/widgets/ecash_migration_dialog.dart"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c5e3a5382427c98ede1b358a95c9022c30aa2c62ecc4c808e46636838fd593"}},{"ruleId":"D2","level":"warning","message":{"text":"_ConsoleViewState._parseArgs (cognitive 16): _ConsoleViewState._parseArgs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, loops 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":"sail_ui/lib/widgets/console/console_view.dart"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6e821fc0840c4d67010daedb9b29223361f1e313af794c3e6b33b7cad4ed91"}},{"ruleId":"D2","level":"warning","message":{"text":"_SidechainRPCMethodsTabState._executeMethod (cognitive 16): _SidechainRPCMethodsTabState._executeMethod has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 2 (5 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":"sail_ui/lib/widgets/debug/sidechain_debug_window.dart"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efb0f20d08accbaedf1352c0d5fa18c243bfc6c8f3c632c1bb3d4d922377791"}},{"ruleId":"D2","level":"warning","message":{"text":"_SailTooltipState._buildOverlay (cognitive 16): _SailTooltipState._buildOverlay has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 14, if/else 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/feedback/sail_tooltip.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f150629e858df696ce155f715b104b2c26666ac17b1351af2aa9a0fdcfc0d31e"}},{"ruleId":"D2","level":"warning","message":{"text":"_SailComboboxState._onKey (cognitive 16): _SailComboboxState._onKey has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3 (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":"sail_ui/lib/widgets/inputs/sail_combobox.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba839ce8aa35f2adaaa165aca917510e768bd0aeb5c8da1dbb542100d210c353"}},{"ruleId":"D2","level":"warning","message":{"text":"_WalletBackupRestoreOptionsState._startRestore (cognitive 16): _WalletBackupRestoreOptionsState._startRestore has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 1 (3 pts), loops 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/wallet_backup_restore.dart"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc1a475efa7696a516347ac9bfb1a7c4b468c11a58df4d4af17df1248a34097"}},{"ruleId":"D2","level":"warning","message":{"text":"_WalletBackupRestoreOptionsState._applyBackendRestoreStatus (cognitive 16): _WalletBackupRestoreOptionsState._applyBackendRestoreStatus has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 1 (4 pts), match/switch 1 (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":"sail_ui/lib/widgets/wallet_backup_restore.dart"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f334c3982cf5a62e19b195117fb2ccac6e18025f9ed5417853a8e326afb707a"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.CreateDenial (cognitive 16): Server.CreateDenial has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"457ba5affad1412693cbb2f04544004aa7e23238299f05b70fa417bfc7493d35"}},{"ruleId":"D2","level":"warning","message":{"text":"api.errorInterceptor (cognitive 16): api.errorInterceptor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (7 pts) (nesting depth added 8). None of this is in the body itself: all 16 points belong to one function literal inside it that branches (line 432). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/api/server.go"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"16419df608f6a692ce9dafc8f9f713a859282322ba2ebc094c0724083f0378b9"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.GetBalance (cognitive 16): Server.GetBalance has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), 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":"bitwindow/server/api/wallet/wallet.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"209922d4fc1cfdb11912c093e2a9ba2dbbe601e9602ebf11a3bc8ffcc93ca36f"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.GetStats (cognitive 16): Server.GetStats has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, 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":"bitwindow/server/api/wallet/wallet.go"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"08793de61335127f9929f35f3e1312880edea6b76ad98817faac18e979ef5f9c"}},{"ruleId":"D2","level":"warning","message":{"text":"drivechain.DecodeDepositAddress (cognitive 16): drivechain.DecodeDepositAddress has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/drivechain/utils.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8043cf3e998018442d085fc423141557b03e8029e4cfa1069b1dd634d251829b"}},{"ruleId":"D2","level":"warning","message":{"text":"drivechaindSupervisor.run (cognitive 16): drivechaindSupervisor.run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 2, match/switch 1 (2 pts), 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":"bitwindow/server/main.go"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed4d2491178c45f1b9fd6fa709b94b3264597db671e024ef08a014b32a17f53"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner.catchUp (cognitive 16): Scanner.catchUp has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/server/scanner/scanner.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9e8c917a3367ba63bb1d330ccfe3994ff79fa886d60fd1f66fe4da1c0f82dc"}},{"ruleId":"D2","level":"warning","message":{"text":"Core.batch (cognitive 16): Core.batch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), loops 2, boolean chains 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":"difficulty/rpc.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae79697e84d407439e2c5bdd2dea1dc1a26752a6646523f666e6ee43cb719063"}},{"ruleId":"D2","level":"warning","message":{"text":"orchestrator.jsonToBinaryConfig (cognitive 16): orchestrator.jsonToBinaryConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 1 (2 pts), match/switch 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":"sidechain-orchestrator/config_loader.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"51da9eede89dd7a4aff07173936a581f0b211313a5bddb8abccfa0ed5ce884fe"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.ensureSidechainDownloaded (cognitive 16): commands.ensureSidechainDownloaded has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 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":"sidechain-orchestrator/commands/commands.go"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac67e38cb7fe34dcb47e0be82ccca456b2786870a96a172120838d0835263eb2"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.ReadDatadirNetwork (cognitive 16): Orchestrator.ReadDatadirNetwork has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/datadir_network.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"664bde85db87c365efd6ca2c008317a1d14f8ab36766f5dbaf400be13843ac4a"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.rejectSourceHeaders (cognitive 16): Orchestrator.rejectSourceHeaders has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 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":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"631fe91ef9cee5323aa9d2738effa022395db85d08bc51688ae847a620ba4913"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.selectMigration (cognitive 16): Orchestrator.selectMigration has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 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":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a27dd05e33f228490e5056001b7f82a881476f79df988548e728ae772be08ea"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.restartResetBinary (cognitive 16): Orchestrator.restartResetBinary has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 1 (nesting depth added 6). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/reset.go"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a470334b62ecd9dc5ce26a65353b6085f9d8d0a3dce4393475c9a6d22fe68b"}},{"ruleId":"D2","level":"warning","message":{"text":"Orchestrator.applySnapshot (cognitive 16): Orchestrator.applySnapshot has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/snapshot.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b43767c65945e915c2ca99e8cf26e28ef94822e09de674c03e9d6a8d264fc17"}},{"ruleId":"D2","level":"warning","message":{"text":"stratum.parseNotify (cognitive 16): stratum.parseNotify has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 2, loops 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":"sidechain-orchestrator/stratum/cpu.go"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"544552e0827e29ed5e08236d120719cf5299c1b946398fa899c81e8a347aa812"}},{"ruleId":"D2","level":"warning","message":{"text":"stratum.NewSoloWork (cognitive 16): stratum.NewSoloWork has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), loops 2, boolean chains 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":"sidechain-orchestrator/stratum/solo.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"29115da67c296e23d071bbfcd19b8818f203f5715c3d046b18dcc8b1c048935f"}},{"ruleId":"D2","level":"warning","message":{"text":"upstreamConn.parseNotify (cognitive 16): upstreamConn.parseNotify has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 2, loops 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":"sidechain-orchestrator/stratum/pool.go"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"604af55d73a9519672ba2ff0aaa476d8e94d455393f81d3051feddd454440e9a"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.configure (cognitive 16): Server.configure has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/stratum/server.go"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d56dde02fa8263676e04f75e312b98fb8f29df772f7c7d4ef06c0776cfb2121"}},{"ruleId":"D2","level":"warning","message":{"text":"testharness.newNode (cognitive 16): testharness.newNode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), loops 3, match/switch 1 (nesting depth added 2). Of this number, 10 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/testharness/node.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"124d632177adfc4af8c76c8e5b54235fc0fba052e33ebb1ee6c23b3d6a952bcc"}},{"ruleId":"D2","level":"warning","message":{"text":"wallet.ParseKeystorePath (cognitive 16): wallet.ParseKeystorePath has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, 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":"sidechain-orchestrator/wallet/derivation.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ab7144cdb17739c30adfc2b42e2ec3d931dd5f8a57eb4d70d2449796804394"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreBackend.spentFrom (cognitive 16): CoreBackend.spentFrom has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e405c8a4847758c1f46eb2c7f18ffbc3b725c0a24bf4b84f08625b1d3f2121"}},{"ruleId":"D2","level":"warning","message":{"text":"HWIRunner.findKeyOnDevice (cognitive 16): HWIRunner.findKeyOnDevice has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 3, loops 2 (3 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":"sidechain-orchestrator/wallet/hwi_paths.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2752fc1081d68a0dbce10c1090d783b4831dce87c08257d265f600184e9043f"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.SyncBalance (cognitive 16): Service.SyncBalance has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 4 (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":"sidechain-orchestrator/wallet/metadata.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa88772326d31afcb0a8d8cc2b07f5d45d4a805a5f6233d886819ef40c407e2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Orchestrator: TooManyMethods \u2014 287 methods, declared across 22 files: sidechain-orchestrator/orchestrator.go (104), sidechain-orchestrator/ecash_migration.go (35), sidechain-orchestrator/network_catalog.go (27), sidechain-orchestrator/ecash_switch.go (18), \u002B18 more file(s). The bar is 30 methods; this is 257 over it, 9.57\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":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee15117dfe8d83013002956ecfab60af3b992a275e65de4f7a4cdce2c1ccec39"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/sail_svg.dart: FileTooLong \u2014 4747 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4247 over it, 9.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/core/sail_svg.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65741c0a20a2d54c3430cfe128fd1b091887ce79893c4d9298a7796f54e48344"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidechain-orchestrator/orchestrator.go: FileTooLong \u2014 2389 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: Orchestrator (103 blocks, 138-4272). The bar is 500 significant lines; this is 1889 over it, 4.78\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":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc6ec79c3ed491039c3e7d588abed304a87a7d2b6181d5f7c3663f3be336b27"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Service: TooManyMethods \u2014 142 methods, declared across 8 files: wallet/service.go (92), wallet/scancache.go (12), wallet/metadata.go (11), wallet/deposits.go (10), \u002B4 more file(s). The bar is 30 methods; this is 112 over it, 4.73\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":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a8bd03d862249b2abaec46d9fe76526a8efa25ee987b9776e6382db2d8af1d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _RootPageState.build: MethodTooLong \u2014 build runs 466 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 366 over it, 4.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d629db78b4ca24536442662ef576641338de3fcea505e28c2ebd6064bd095b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Orchestrator: ClassTooLong \u2014 1747 significant lines (blank, comment-only and punctuation-only lines excluded), 287 methods, 103 blocks, lines 138-4272. The bar is 400 significant lines; this is 1347 over it, 4.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":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f1ece6906819ec2a87714e784e605bb712bbf36da609601367f3d3b24c35fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wallet/electrum_backend.go: FileTooLong \u2014 2171 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: ElectrumBackend (86 blocks, 87-3410). The bar is 500 significant lines; this is 1671 over it, 4.34\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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee383c09a18cb48e5263c9ce3950dafa5b2f3856aaceec1b7df886421185e0bc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ElectrumBackend: ClassTooLong \u2014 1591 significant lines (blank, comment-only and punctuation-only lines excluded), 97 methods, 86 blocks, lines 87-3410. The bar is 400 significant lines; this is 1191 over it, 3.98\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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d1ac0ac3586a7044aa22536955cc0c8b84a51f0b58f81c16a059710a8ec860"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SailSVGAsset: ClassTooLong \u2014 1564 significant lines (blank, comment-only and punctuation-only lines excluded), 0 methods. The bar is 400 significant lines; this is 1164 over it, 3.91\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/core/sail_svg.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe75fefc3051180857b7f5e5b069d3e4082cdb2f33aacd36856644f384e8485"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.run: FunctionTooLong \u2014 run runs 390 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 290 over it, 3.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/cmd/drivechaind/main.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b696da85f2a3650e79491d0882817ea3e1b5357dfb08c18f91dc9637e80a54d5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WalletHandler: TooManyMethods \u2014 114 methods, declared across 8 files: api/wallet_handler.go (81), api/bip47_send.go (9), api/hardware_handler.go (8), api/deposit.go (6), \u002B4 more file(s). The bar is 30 methods; this is 84 over it, 3.80\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":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c48d568fc414f2c43d49f4e364499fa363807d7ffe6f6b7e6012da30fc20657"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/sidechains_page.dart: FileTooLong \u2014 1723 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1223 over it, 3.45\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":"bitwindow/lib/pages/sidechains_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed7464eb0eb20911f2cfb58dcb2066420a6d7cbee2917cacb6e6515a27fe2c8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WalletHandler: ClassTooLong \u2014 1342 significant lines (blank, comment-only and punctuation-only lines excluded), 114 methods, 82 blocks, lines 71-2533. The bar is 400 significant lines; this is 942 over it, 3.36\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":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf440488edf5edfaacadbd1345ffeeedf111894a0c7b8f0b0c7f29db51c50569"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/wallet_handler.go: FileTooLong \u2014 1635 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: WalletHandler (82 blocks, 71-2533). The bar is 500 significant lines; this is 1135 over it, 3.27\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":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f79f7ad474698a65dc33766828228323d757680175912923191d1acb30810a5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ElectrumBackend: TooManyMethods \u2014 97 methods, declared across 6 files: wallet/electrum_backend.go (86), wallet/electrum_own_outputs.go (6), wallet/address_reads.go (2), wallet/detect_script_kind.go (1), \u002B2 more file(s). The bar is 30 methods; this is 67 over it, 3.23\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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7025cf49b13cf2992930445c13d915a3233612e623b0779a01c0c24792b57f7f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BitnamesTabPage.build: MethodTooLong \u2014 build runs 306 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 206 over it, 3.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":"bitnames/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f34b78bd4f72b02a1a572fb3dc292ec0bce640aafd0c5ceb577ca0bfc5ab969"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rpcs/bitwindow_api.dart: FileTooLong \u2014 1506 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1006 over it, 3.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":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13b63e99de072b425d372fe0ba68c88c8c144488f31e8b6446cd3f0e4120332"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.Home: FunctionTooLong \u2014 Home runs 298 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 198 over it, 2.98\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":"dc-hub/app/page.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcc33cb59f335aee9d6c29070a945a64f7c6a01c41fc32a5e08bc14c99d92ed"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SendPageViewModel: TooManyMethods \u2014 89 methods. The bar is 30 methods; this is 59 over it, 2.97\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":"bitwindow/lib/pages/wallet/wallet_send.dart"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"32aa106d8ae84492ae41885699bd5991e05075e5e839d5a73c83f32ddb95690e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Service: ClassTooLong \u2014 1183 significant lines (blank, comment-only and punctuation-only lines excluded), 142 methods, 91 blocks, lines 33-2277. The bar is 400 significant lines; this is 783 over it, 2.96\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":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d02e21d0e116426e213adb483afd5558a0aa9a87f7c3f8545d074d1c6486bb5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/binaries.dart: FileTooLong \u2014 1412 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 912 over it, 2.82\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":"sidechain_core/lib/config/binaries.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5232259c36c7bb957ffb4f2f666bf82ec3a5b4bf7f176ea2253eca0b21757b53"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wallet/wallet_send.dart: FileTooLong \u2014 1388 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 888 over it, 2.78\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":"bitwindow/lib/pages/wallet/wallet_send.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42733833ab9fcd6298e4575b7378cc43b2aa5745b512e0208ccf546710e0031a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatPage.build: MethodTooLong \u2014 build runs 264 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 164 over it, 2.64\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":"bitwindow/lib/pages/chat_page.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7bce794a1120047b866f6a6fd27a8cc034c5db6bc11bd272c6e8a7fb918b8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wallet/service.go: FileTooLong \u2014 1316 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: Service (91 blocks, 33-2277). The bar is 500 significant lines; this is 816 over it, 2.63\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":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2957eb695ecad03ff8a935b67030c322ae74ebc8732ce19226ba553deb6b1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: welcome/multisig_config_step.dart: FileTooLong \u2014 1302 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: _MultisigConfigStepState (272-1661). The bar is 500 significant lines; this is 802 over it, 2.60\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":"bitwindow/lib/pages/welcome/multisig_config_step.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e35782c7339f2ae5f0f540327baa5993d461fcaec8d65fe4c6f1686cf541964"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wallet/wallet_multisig_lounge.dart: FileTooLong \u2014 1291 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 791 over it, 2.58\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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2693341c901e6856a45c5462b7b1ab7e6e1d8f884a9ce63099eff0ef99ff42"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CoreBackend: ClassTooLong \u2014 1022 significant lines (blank, comment-only and punctuation-only lines excluded), 64 methods, 57 blocks, lines 41-2115. The bar is 400 significant lines; this is 622 over it, 2.56\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d9468cbbed2b6334415eb2977ce0e71cc9ab6847d3eadc288696ff62498230"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wallet/core_backend.go: FileTooLong \u2014 1274 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: CoreBackend (57 blocks, 41-2115). The bar is 500 significant lines; this is 774 over it, 2.55\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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef253ed8135b125417661071085ab875b9b01cfff1016e222bb9373b44f843a4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BitcoinConfigOptions: ClassTooLong \u2014 1015 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 615 over it, 2.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":"sidechain_core/lib/models/bitcoin_config_options.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa30efe7eca5fd812c89e7ee5a3e9a0f5f43b30e2920b5b826e6aaccd0e9349"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OrchestratorWalletRPC: TooManyMethods \u2014 76 methods. The bar is 30 methods; this is 46 over it, 2.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/orchestrator_wallet_rpc.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aad9af9e130114f76fdf370ff48fbb3a2af73761a93f1bdecd813211a1265f8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Server: ClassTooLong \u2014 999 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods, 46 blocks, lines 71-1871. 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":"bitwindow/server/api/wallet/wallet.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ee06acdefa081a073c3d11328bcca9b505d3a1c9d4b7d83d487fecfdd3ea8f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CreateMultisigModal.build: MethodTooLong \u2014 build runs 247 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 147 over it, 2.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/create_multisig_modal.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7e88b36cf6c2f450d51da056d6fa84c540e6ce9dd0636e9cc859a988cf54a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wallet/wallet.go: FileTooLong \u2014 1213 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: Server (46 blocks, 71-1871). The bar is 500 significant lines; this is 713 over it, 2.43\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/api/wallet/wallet.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46c88057381b7e8ed8453057c784b84b6570c5a22996f27bcdea1999dc60ca4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _MultisigConfigStepState: ClassTooLong \u2014 948 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 548 over it, 2.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":"bitwindow/lib/pages/welcome/multisig_config_step.dart"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"6742de607de1e498d874fbd75aaaa96ec97d6d42ead626dc89d0ee7486a87553"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Orchestrator: TooManyFields \u2014 71 stored fields beside 287 methods. The bar is 30 stored fields; this is 41 over it, 2.37\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fb60cdd59373621fefe90a8a924030884fe4184c63555b05fd0493fcfcdb5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/market_detail_page.dart: FileTooLong \u2014 1178 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 678 over it, 2.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":"truthcoin/lib/pages/market_detail_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcef5c883a7ed480c3d3821fbd1c92bd8ef582a81de48079c568b7061a379b11"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/overview_page.dart: FileTooLong \u2014 1177 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 677 over it, 2.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/overview_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83139e4466ee559f1a6b3b3c67fa470dce553e4de223993b01713d11491729f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.InfoPage: FunctionTooLong \u2014 InfoPage runs 227 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 127 over it, 2.27\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":"dc-hub/app/info/page.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afbf1575ecdee216bf8d29398a60e7b80c086c5a93c5c639aaf2f9b8d7954d9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatProvider: TooManyMethods \u2014 66 methods. The bar is 30 methods; this is 36 over it, 2.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/chat_provider.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b335e96a29ef8349e077364d1270882feaf33fdce929f3a53dbeb06c1625f444"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TruthcoinLive: TooManyMethods \u2014 66 methods. The bar is 30 methods; this is 36 over it, 2.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/truthcoin_rpc.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb65adcc50b0fc0faa64435ed04457e45cd06e4f93449d7fa655b101328b29b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CoreBackend: TooManyMethods \u2014 64 methods, declared across 4 files: wallet/core_backend.go (56), wallet/core_stranded.go (4), wallet/frozen_coins.go (3), wallet/send_preview.go (1). The bar is 30 methods; this is 34 over it, 2.13\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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f3e643200c65426e867d407edf36d82081d2f46d881191c84e5477d165a4e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/root_page.dart: FileTooLong \u2014 1051 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: _RootPageState (67-1219). The bar is 500 significant lines; this is 551 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":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba89bc204b5413aa01e258e1985e7995bb089b435abe8c90e34e0ed76561e31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/bitcoin_config_options.dart: FileTooLong \u2014 1050 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: BitcoinConfigOptions (42-1239). The bar is 500 significant lines; this is 550 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":"sidechain_core/lib/models/bitcoin_config_options.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eba0505c73c80b73ec501ea5c176f717dcac70b8ef1fb5f04134d1db9fb6404"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BmmEngine: ClassTooLong \u2014 835 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods, 48 blocks, lines 133-1556. The bar is 400 significant lines; this is 435 over it, 2.09\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/engines/bmm_engine.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"7274bc55d0e9d2bd822ea1de3bbcbe0921095288a7c0a82ab8a93f5374db7047"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SidechainsViewModel: TooManyMethods \u2014 62 methods. The bar is 30 methods; this is 32 over it, 2.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":"bitwindow/lib/pages/sidechains_page.dart"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"150000219da488c043aaf9ea4906a095fb571c102c575ab154be87c3c4e71488"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Handler: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.00\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":"sidechain-orchestrator/sidechain/truthcoin/handler.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0ccb9bda6c2ea717721dbeecf0d4cfddf3ae75a37b442068e3e089da7d1739"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BitAssetsLive: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.00\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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"70330eb65e5004da171888a8f6566c7d4840987db1566351661bcdb707836baf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidechain-orchestrator/ecash_migration.go: FileTooLong \u2014 990 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: Orchestrator (35 blocks, 77-1430). The bar is 500 significant lines; this is 490 over it, 1.98\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":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"251425c677447c356795932036ea2abb36c5877ed2c0ffd9ebb97b1d0de65d4c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Server: ClassTooLong \u2014 786 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods, 33 blocks, lines 80-1396. The bar is 400 significant lines; this is 386 over it, 1.97\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":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aad59e0e2cdd397e4feae94ee31dcde64e395bcce1638341d7996cd9dbe8e2f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PaperCheckDialogState.build: MethodTooLong \u2014 build runs 196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 96 over it, 1.96\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":"bitwindow/lib/dialogs/paper_check_dialog.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a0fab388c6db2938302e66b4e4c11cc9d34313c520ae500b227c9a0a409c5c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MultisigLoungeViewModel.openTransactionModal: MethodTooLong \u2014 openTransactionModal runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3de92e5532a1208aba4d873555fe801f28a9af957ffbdd549cb30c82b790ea"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _MultisigConfigStepState: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/welcome/multisig_config_step.dart"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebfe883dfc5b82d7ceda60549ae0f28ba1271bdc0fe8541cde3393b5393961f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _RootPageState: ClassTooLong \u2014 752 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 352 over it, 1.88\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c4d87344d660fd713656193310b21f97e71bd2acf285a36d6da89eba926050"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _TransactionTableState.build: MethodTooLong \u2014 build runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\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":"bitwindow/lib/pages/wallet/wallet_overview.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3867b75613c132b79ed3e8b793a8b3c74c3fde709b3d39eb55c2603424e4b3e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engines/bmm_engine.go: FileTooLong \u2014 939 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: BmmEngine (48 blocks, 133-1556). The bar is 500 significant lines; this is 439 over it, 1.88\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":"sidechain-orchestrator/engines/bmm_engine.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3be8e893e5085848bed61c09decec45a7ff6d14b4ce7298e7c63c197d329ad5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CheckDetailPage.build: MethodTooLong \u2014 build runs 187 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\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":"bitwindow/lib/pages/wallet/check_detail_page.dart"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd605afa1a3d88cd11b47e04ccbc90dac7ed3c098d8fbd9002a561db9cd3154"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/orchestrator_handler.go: FileTooLong \u2014 925 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: Handler (40 blocks, 29-1341). The bar is 500 significant lines; this is 425 over it, 1.85\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":"sidechain-orchestrator/api/orchestrator_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7f034d5ce6c9aaaf3bbcea465e368dd61ac4dd00dfa12d45d26473d03960c4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsNetworkState.build: MethodTooLong \u2014 build runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\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":"bitwindow/lib/pages/settings/settings_network.dart"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3fa48b7abd75748791e4937abadedc2e7d7387f3d341b5d28f8f493f5ea74b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/commands.go: FileTooLong \u2014 917 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 417 over it, 1.83\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":"sidechain-orchestrator/commands/commands.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1a4f1cbb341bc36e9797638cd3cd1bcc2e230ad6705f6e7d2da082cb07b578"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProcessManager.StartWithOptions: MethodTooLong \u2014 StartWithOptions runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\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":"sidechain-orchestrator/process.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d207f3a21b31dad77e0201a5f423df7bd86d7672e3e276bd8810682466f7fab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bitwindowd/bitwindowd.go: FileTooLong \u2014 901 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: Server (33 blocks, 80-1396). The bar is 500 significant lines; this is 401 over it, 1.80\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":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"043efc95bc81fa06e396cd037b5e29e98ccbf0e146e7c956123a4896d70e6bc4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatProvider: ClassTooLong \u2014 716 significant lines (blank, comment-only and punctuation-only lines excluded), 66 methods. The bar is 400 significant lines; this is 316 over it, 1.79\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":"bitwindow/lib/providers/chat_provider.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7198e908cb0938cc771cd1d064581ec4c18f4b0877c46ce2106bd8b0f9bcfd97"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/coinnews.dart: FileTooLong \u2014 883 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 383 over it, 1.77\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":"bitwindow/lib/widgets/coinnews.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61363e75f16c88b8e832d135c161dcc4c243a70b268517307bf19ded13a6cdf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _VerifyReportTabState.build: MethodTooLong \u2014 build runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\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":"bitwindow/lib/widgets/proof_of_funds_modal.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1328e6b72650b582e1f4afb63f618689007b14251d297e3061553e1ec1a23f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AmmAnalyticsWidget.build: MethodTooLong \u2014 build runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\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":"bitassets/lib/widgets/amm_analytics_widget.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6a40caa5121253e788d235109229879baa84557b5a89f7218e44e1ec798415"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tabs/zside_tab_widgets.dart: FileTooLong \u2014 868 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 368 over it, 1.74\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":"zside/lib/widgets/containers/tabs/zside_tab_widgets.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf4457025d1f9552851cac0bb93701043d1b2bf10ae5ccb2d9a87c00515857a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CoreRPCClient: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\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":"sidechain-orchestrator/wallet/core_rpc.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"960927a234b1d0f5c2703adabf32f7d51a5bd073dbdd1424594c11ac8656ccdb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BitnamesLive: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\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":"sidechain_core/lib/rpcs/bitnames_rpc.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1905314eae9aa049574282b0d52ee7e255813797c25e2269b5f91266c4ff79"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AmmTabPage.build: MethodTooLong \u2014 build runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/amm_page.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8952452b60d221a65abbae8dd31907fabb8184cb404cd0b746126fa7e747a819"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nav/bottom_nav.dart: FileTooLong \u2014 864 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 364 over it, 1.73\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":"sail_ui/lib/widgets/nav/bottom_nav.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"721961f72e5ee0e326dc8bd8b1f5d9c08d50858d4fb1b7df0d87924f293d14ad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _M4ExplorerPageState.build: MethodTooLong \u2014 build runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\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":"bitwindow/lib/pages/explorer/m4_explorer_page.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea7a2ecbc35a25709efa163d0e8f16475a53c7138d7233109c354139a4f1729"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SendPageViewModel: ClassTooLong \u2014 684 significant lines (blank, comment-only and punctuation-only lines excluded), 89 methods. The bar is 400 significant lines; this is 284 over it, 1.71\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":"bitwindow/lib/pages/wallet/wallet_send.dart"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9e6a26ecd1275d49f412a71471c085b9a7a79546b3772b9cd3db6736cdfcd2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MultisigTransactionsTableState.build: MethodTooLong \u2014 build runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc95224ddb82fad6359bf4cccca62b8283cdd5c839907db0d367648368330744"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/create_multisig_modal.dart: FileTooLong \u2014 842 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 342 over it, 1.68\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":"bitwindow/lib/widgets/create_multisig_modal.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fbee0eae0569669cac51079977b9ce0ba51b17dfa9417919251dec9690589a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/wallet.go: FileTooLong \u2014 840 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 340 over it, 1.68\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":"sidechain-orchestrator/commands/wallet.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd045f02729d7201e6fe80fe8e1e3a4d402652d15245d04c0b604380685838ce"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _DraftPanelState: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/draft_panel.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"25da0f2a2e35fdf3a006867b4af3ba888038ba1295ad5f83f99f8c9831c4d5fa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SailConfigureHomePageState.build: MethodTooLong \u2014 build runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\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":"sail_ui/lib/pages/configure_homepage_page.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ddbb10a8d9f7c1540f361102b1f3db033581b92eb90bfcc70262180c80f9d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/wallet_backup_restore.dart: FileTooLong \u2014 818 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 318 over it, 1.64\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":"sail_ui/lib/widgets/wallet_backup_restore.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9ba01ac1a1e885547d794a2d07f45b6ca0288c262b1d6053ec462d85ceb5f9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Handler: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\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":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51315de5c5bff097c6c9ef4f98c796790c3590b67ca30e72be704e4c7a372f2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BitAssetsRPC: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"25494aaad6730a65bd7f3295722f5832e3f1f102c836e792bd317cadc11ee2bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/stratum_handler.go: FileTooLong \u2014 810 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: StratumHandler (33 blocks, 90-1157). The bar is 500 significant lines; this is 310 over it, 1.62\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/stratum_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41447ee8205167387697c2f82910a6929cc498cad1065349a7e9124b198c315f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TruthcoinRPC: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/truthcoin_rpc.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b5d996db2f1ae8c245b0616d5084173519fd6a98fdac68936ea173c1d0dbaa"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MultisigLoungeViewModel: ClassTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 235 over it, 1.59\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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"957d30a0d5ea5518787137e17eb2cf83bd0e23a25124af777d2fd4b056d4221f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BmmEngine: 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":"sidechain-orchestrator/engines/bmm_engine.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b35483967aa7ab6c0de38f26489ab2f1e04f1ef44160278b069e54ffa4a987"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wallet/psbt.go: FileTooLong \u2014 783 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 283 over it, 1.57\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":"sidechain-orchestrator/wallet/psbt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"452da14bdb85e97761c5a33ffe41bbf1c2cc1bc3f38f579d51881c149142658e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rpcs/bitassets_rpc.dart: FileTooLong \u2014 781 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 281 over it, 1.56\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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a197f59e09f746b4e3fe4ecebcb815229e9f1adf090d34a1e1239b728910374b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/main.dart: FileTooLong \u2014 778 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 278 over it, 1.56\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":"bitwindow/lib/main.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea4552140ce4182777cbcc2bb37a8a1ef07c489ce49a9e29849a1dd4f8dd8b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: providers/chat_provider.dart: FileTooLong \u2014 778 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: ChatProvider (15-1073). The bar is 500 significant lines; this is 278 over it, 1.56\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":"bitwindow/lib/providers/chat_provider.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e154f33a77a6d0fde7fa6202bbae3e2501f2e28bb0ff555704c7940f1acc5b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _TreeTab.build: MethodTooLong \u2014 build runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/dialogs/merkle_tree_dialog.dart"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe32d3693b04aa9d5dd236745e0896947050fcae2126e71a93b196fa44ac1dc0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ImportPSBTModalState.build: MethodTooLong \u2014 build runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/import_psbt_modal.dart"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8acaeed552cb9461d31e125b8e0f3cddb1da8c890e32153aef30e223d3c4e6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ZSideLive: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/zside_rpc.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0b07c51290e1b5db7d314491c7cec958b8a2c2ad10de9c289a17181572f114"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Parser: ClassTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods, 22 blocks, lines 62-1278. The bar is 400 significant lines; this is 213 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/bitcoind_engine.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"820851da203cbaa0ddc48e760abe2c44603a56ab5a44e179ea8a8a58f0940d53"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _RootPageState._getMenuCommands: MethodTooLong \u2014 _getMenuCommands 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":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d166943b6e9e25f66aa3d1035db1570933f06a5b24b617d1d231c979634f145"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: providers/multisig_provider.dart: FileTooLong \u2014 762 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 262 over it, 1.52\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":"bitwindow/lib/providers/multisig_provider.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a928a5f1fd95b8d76485deab136593cc597f2d4599ea49653bd47f42da9983"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/sidechains.dart: FileTooLong \u2014 761 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 261 over it, 1.52\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":"sidechain_core/lib/config/sidechains.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee00b4a42d4e8d90c5db71af0158eee14f4195237acd179002c7dd28982b6ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engines/bitcoind_engine.go: FileTooLong \u2014 757 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: Parser (22 blocks, 62-1278). The bar is 500 significant lines; this is 257 over it, 1.51\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/bitcoind_engine.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1875ba364a0e45bc516eeba8035dad4489dab571d76bf8738215424407630c3f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Handler: ClassTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods, 40 blocks, lines 29-1341. The bar is 400 significant lines; this is 205 over it, 1.51\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":"sidechain-orchestrator/api/orchestrator_handler.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cc5440ad079147252b888a78ae6a66a7a90faf75a427d05dbed2c8f12b61ec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Server: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.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":"bitwindow/server/api/wallet/wallet.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce6065d0474b6768a49a8d34dd8c5480ac61ea7d9585e7d36dc5df1cd21985d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RetryFile: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.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":"sidechain_core/lib/utils/file_overrides.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1c1876e0ecaef26c6a282db84b7151a8a81870aef8d9bfc90a8551c8486f62"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StratumHandler: ClassTooLong \u2014 596 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods, 33 blocks, lines 90-1157. The bar is 400 significant lines; this is 196 over it, 1.49\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":"sidechain-orchestrator/api/stratum_handler.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f8b267a2e255200dd9269b99e5f8dadef8d927fa099aa0bd4e7e6d4c5d3ab7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DutchAuctionTabPage.build: MethodTooLong \u2014 build runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\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":"bitassets/lib/pages/tabs/dutch_auction_page.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"102855efe1f10312c8927adbb790fdf244e0006a104db383fd68232a2adf1c0c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _WalletBackupPageState: ClassTooLong \u2014 594 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 400 significant lines; this is 194 over it, 1.49\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":"bitwindow/lib/pages/welcome/wallet_backup_page.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb37a0d85a87335c0b34721597faa189810dda85dcb1bae5988f7e10b06b255"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/bmm_handler.go: FileTooLong \u2014 741 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: BMMHandler (36 blocks, 87-1253). The bar is 500 significant lines; this is 241 over it, 1.48\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/bmm_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aceda022130452dcf740f231c7de0425e215065790caf1333adf45af6f40f1d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DeniabilityTableState.build: MethodTooLong \u2014 build runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/denability_page.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fe0d8bf1777db6db443e9019a8d3709659b61bc5cfa544ca79cef19d8048c0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BMMHandler: TooManyMethods \u2014 44 methods, declared across 4 files: api/bmm_handler.go (36), api/bmm_frozen.go (5), api/bid_source.go (2), api/bmm_cancel.go (1). The bar is 30 methods; this is 14 over it, 1.47\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":"sidechain-orchestrator/api/bmm_handler.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d084015719da0cef3efcb2f66e5fc2a305c66f8ca24071f81019cede17c108"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Handler: TooManyMethods \u2014 44 methods, declared across 4 files: api/orchestrator_handler.go (39), api/ecash_migration_handler.go (3), api/datadir_network_handler.go (1), api/deposit_balance.go (1). The bar is 30 methods; this is 14 over it, 1.47\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":"sidechain-orchestrator/api/orchestrator_handler.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"934bed3c1658c6239378fc21308a13f95902216c27d2493be3235811dde6b66b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BitcoinConfManager: TooManyMethods \u2014 44 methods, declared across 2 files: config/bitcoin_conf.go (23), config/bitcoin_config_syncer.go (21). The bar is 30 methods; this is 14 over it, 1.47\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":"sidechain-orchestrator/config/bitcoin_conf.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3296f8dff006abf42a70669c769a625702dc5b3c633077c79c5367c903f17f77"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/explorer_handler.go: FileTooLong \u2014 726 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 226 over it, 1.45\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":"sidechain-orchestrator/api/explorer_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"328166bd13cfa72178edb5f999722453cac6336bc5b914af917165dbcb751175"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: debug/sidechain_debug_window.dart: FileTooLong \u2014 724 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 224 over it, 1.45\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":"sail_ui/lib/widgets/debug/sidechain_debug_window.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b97e6f759c6a71c5e30c5fb46080403c4d5bbfc99d9ca9748e847985d40813"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: zside/zside_melt_cast_page.dart: FileTooLong \u2014 724 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 224 over it, 1.45\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":"zside/lib/pages/tabs/zside/zside_melt_cast_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b4f4a36a7cb15bcc35e591bef018566283806416bd46f5e599ce04f870f2fb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WalletEngine: 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":"bitwindow/server/engines/wallet_engine.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"df84c14d5e8a0d03e96e5af4ee6fb5eb052370979909a4a28f4fd6cbaa34b828"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.runWalletBurnECX: FunctionTooLong \u2014 runWalletBurnECX runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/commands/wallet_burn_ecx.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"988de9cea87c54902860cb1193ff0a83488fb29c34cacd83697ceb4ccf5986cc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BMMHandler: ClassTooLong \u2014 565 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods, 36 blocks, lines 87-1253. The bar is 400 significant lines; this is 165 over it, 1.41\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/bmm_handler.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a163a70c00ae064601b25a2cc78d7b4b2c335dca417b331e5d30921cf1392f21"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OrchestratorWalletRPC: ClassTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded), 76 methods. The bar is 400 significant lines; this is 164 over it, 1.41\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/orchestrator_wallet_rpc.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8063c41b7ed29ece89e336bad252db235239f3b1be84048fb6a253f0b814a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/voting.dart: FileTooLong \u2014 702 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 202 over it, 1.40\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":"truthcoin/lib/models/voting.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5459edc9aefb226380bee3b4074f3a86257d8dd27907ed2db2a6be94c5c5dd8f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ForkProvider: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\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":"bitwindow/lib/providers/fork_provider.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"145e260f60c04f3c947a0661af06e751165c8e4ffd6294e3e57377a15e6ca7fd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ElectrumBackend.buildSendPSBT: MethodTooLong \u2014 buildSendPSBT 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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"9262087706e83fc5fd5500873ce1d08027e90bde88d31e4d27b87b266dcee3c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/draft_panel.dart: FileTooLong \u2014 690 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: _DraftPanelState (36-827). The bar is 500 significant lines; this is 190 over it, 1.38\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":"bitwindow/lib/widgets/draft_panel.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a2ffcb7271cce9ab82788700d2b54ad5a3f5ec5f76b2030e574ef47d3ced01"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BottomNav.displayConnectionStatusDialog: MethodTooLong \u2014 displayConnectionStatusDialog runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/nav/bottom_nav.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc70e57d080a845a25e62e4285b1d0aae69321ad3bd124b2beec97eb47351a66"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidechain-orchestrator/download.go: FileTooLong \u2014 686 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: DownloadManager (25 blocks, 60-1246). The bar is 500 significant lines; this is 186 over it, 1.37\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":"sidechain-orchestrator/download.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5925fdbee84cdcbc7f3dd46eb45493a6972ec79345753dd4b7bbf2b24d2b1567"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _DraftPanelState: ClassTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods. The bar is 400 significant lines; this is 148 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/draft_panel.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43fe84107217f71b12fe62d36f712bb52524a41ada61e6232ce2a3c4ca946a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/proof_of_funds_modal.dart: FileTooLong \u2014 685 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 185 over it, 1.37\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":"bitwindow/lib/widgets/proof_of_funds_modal.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01b314e7c6feb903371dee50679069e1a4515b45ac8c983667d59212979e1bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.realMain: FunctionTooLong \u2014 realMain 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":"bitwindow/server/main.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28f9288ccbc17f7fb34df1701069a82d2c6bf35e07676d34bf74a22abbfd88c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SailCard._build: MethodTooLong \u2014 _build 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":"sail_ui/lib/widgets/containers/sail_card.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1e79fc5e41ec7d373e437b04dcd07b5d87d4feb2ba4f313c562db520da4a1f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Server: ClassTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods, 25 blocks, lines 43-934. The bar is 400 significant lines; this is 147 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":"sidechain-orchestrator/stratum/server.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce7f76973faa0a627a1bfbc396b4c6e8efcc3d640bbdfd283335c496a2355e4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Handler: 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":"sidechain-orchestrator/sidechain/bitnames/handler.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe0ddccd07189b92b1cf528b83df7669b249b8ff5a9af65a9b006049431a304"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CoinShiftLive: 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":"sidechain_core/lib/rpcs/coinshift_rpc.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5b77514b8ddef8c0fc7e4fe65663ff5be2ec270d966214207b89b0c82f162b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OrchestratorRPC: 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":"sidechain_core/lib/rpcs/orchestrator_rpc.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ad59b3fed19837dcfca4916648797ef58f6e501606b743f134af851154acee"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MarketDetailViewModel: 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":"truthcoin/lib/pages/market_detail_page.dart"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1903cc1d7dd4f967ac8aed191042bd18a8d5e2ad57f20e8e85c11640aa1ac7d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _HashCalculatorState._buildHashResults: MethodTooLong \u2014 _buildHashResults runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/hash_calculator_modal.dart"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"be02ef4c583c38994f5d86be6062c0608b39d7d27c97368b795615d751861bd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stratum/server.go: FileTooLong \u2014 677 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: Server (25 blocks, 43-934). The bar is 500 significant lines; this is 177 over it, 1.35\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":"sidechain-orchestrator/stratum/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37deb16892e9689e7a1dd3b06536c62e1055682310f11ca50ecc8e40084223b6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AuctionBrowserTabPage.build: MethodTooLong \u2014 build runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\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":"bitassets/lib/pages/tabs/auction_browser_page.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e858c484beaa9dffa17a6c1e9f9c16c338d11437b107b434a6a6e2cd3f8e97e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: console.Console: FunctionTooLong \u2014 Console runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\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":"dc-hub/components/console.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd95068954fa0a1b2c620e657661283f6ebcaf30faf56b911d530565c8b08b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tabs/reserve_register_page.dart: FileTooLong \u2014 673 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 173 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitnames/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"474c89ff4c5575e01944a9119b305b03caf116105f86257efae90c5cdcbb75c4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ElectrumClient: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/electrum_client.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"89dc62e2fad8cc98a09dc725d9a59397eca69799b6f2e35a8fb5521aa88767e9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BinaryProvider: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/binaries/binary_provider.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0961d6be7e0d2bc36f87bd1ff14f5c1d06e631aab8a821115e9d5974e25b8b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/market_creation_page.dart: FileTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 165 over it, 1.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"truthcoin/lib/pages/market_creation_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7e07296ab733dab6cbf71676af3e91b0a53cf0d6e55b771e4b36c78302af96"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SidechainsViewModel: ClassTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods. The bar is 400 significant lines; this is 128 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":"bitwindow/lib/pages/sidechains_page.dart"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4adbc0994495cd3c6f177d05a32acef391513fb1245fa419a72363728f9033"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SailCreateWalletPageState: ClassTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 128 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":"sail_ui/lib/pages/create_wallet_page.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"52341ab27f1393cda27f0de28c50c0fd65e2f753e02952c9e9b09e523b9225b2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SidechainHomePageState.build: MethodTooLong \u2014 build runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/shell/sidechain_home_page.dart"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"6829143106ea8db281839fef66efb94c1cbe3c39ca2f608c4160f9e4eb101ff2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _WalletBackupPageState: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/welcome/wallet_backup_page.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c17eb9e3cdb9e6b15d2eed9fc8d5acc13e46968c58ffb684e62a2b753527983"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AssetExplorerTabPage.build: MethodTooLong \u2014 build runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/asset_explorer_page.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddb2dbe99ab4e51b9f67dd8decc0b900e6a37f429aeffdbccf32c967c505295"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: explorer-client.ExplorerClient: FunctionTooLong \u2014 ExplorerClient runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/app/sidechains/explorer-client.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1075f9c709f36e4a415f4e47dd6cc9d2de2d951221831dd898f4101893eb83fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/voting_dashboard_page.dart: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 144 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":"truthcoin/lib/pages/voting_dashboard_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1003daeb19e8317345fcc0017c9e48e1670842d7bf53084f5563762cdb96005c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/table.dart: FileTooLong \u2014 641 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 141 over it, 1.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":"sail_ui/lib/widgets/components/table.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33af7bf9506b9ca2d7585cb8fbf7d3459560b956f2e25ce8b9358585e2102b8f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MultisigGroupsTableState.build: MethodTooLong \u2014 build 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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4e3235ddce3be4660493325b2440fbefaf34959b46659541d1e886e58ca8f1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ImportPSBTModalState._importPSBT: MethodTooLong \u2014 _importPSBT 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":"bitwindow/lib/widgets/import_psbt_modal.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3fcf0160f4ff14848915223669ed202aec7762dfe4b02901e0520c9487a83c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: welcome/wallet_backup_page.dart: FileTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: _WalletBackupPageState (43-921). The bar is 500 significant lines; this is 133 over it, 1.27\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":"bitwindow/lib/pages/welcome/wallet_backup_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ad7d2b61d0b08ccda02490de36bf37111877a275981694c86173b81d219aa7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidechains/bmm_tab.dart: FileTooLong \u2014 632 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 132 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/sidechains/bmm_tab.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c8a31f85198a4e4b29cbd044c90a597a7686fb4e6020e3e6cca9e06a9df90e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidechain-orchestrator/process.go: FileTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 130 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/process.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bad2de3a02842805c41dd37837096c9cfdcb8c6ed0c04e367b288a73bc9b7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rpcs/truthcoin_rpc.dart: FileTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: TruthcoinLive (257-953). The bar is 500 significant lines; this is 130 over it, 1.26\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/truthcoin_rpc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ae2f363a35810e9cf84a5c9a5291d7a81906d918e79a5512409c5145ab929a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Server.buildRuntime: MethodTooLong \u2014 buildRuntime runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/api/runtime.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0886a1aaa060e49aac8517201ab57b41fc240036e7e998d693116919a36aeb56"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Parser.handleBlockTick: MethodTooLong \u2014 handleBlockTick runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/bitcoind_engine.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2644bbbfb555b829440104790c966f0433ffa29194483cb8008b14748c1430"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/chat_page.dart: FileTooLong \u2014 629 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 129 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/chat_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c253c1e44a846cfaf83774bd0c2ad418e54874608fbcc3d386423e421e32bd06"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DeniabilityEngine: ClassTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods, 22 blocks, lines 24-853. The bar is 400 significant lines; this is 102 over it, 1.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":"bitwindow/server/engines/deniability_engine.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6d7a32b984ecf960815d6f9e83e7f1939f122491b42bc49a6bd6f2b9d6404f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DownloadManager: ClassTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods, 25 blocks, lines 60-1246. The bar is 400 significant lines; this is 101 over it, 1.25\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":"sidechain-orchestrator/download.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b2f5ee02366e301cada57190cc774eacd8922b31692768262322ce27f491fc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProcessManager.start: MethodTooLong \u2014 start 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":"sidechain_core/lib/providers/binaries/managers/process_manager.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c9bbd9ced22e5e00056b6cc4336ad87c97ca054493a59326a2b14606a48100"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wallet/wallet_overview.dart: FileTooLong \u2014 622 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 122 over it, 1.24\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":"bitwindow/lib/pages/wallet/wallet_overview.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04be283504cc5d51cbb6dadbb7a934ffc694a124982dafcbcafc8519a8cdab4e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TransactionProvider.fetch: MethodTooLong \u2014 fetch runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/transactions_provider.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dda1914529727909ad739587c4381a890872f1ee3f366b51821a612f2ff12c4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SailTableState.build: MethodTooLong \u2014 build runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/components/table.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"125979156c994d36f0812d2c0cd4f37a10b906c532d2acb4cde6c49edf3c7749"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TruthcoinLive: ClassTooLong \u2014 495 significant lines (blank, comment-only and punctuation-only lines excluded), 66 methods. The bar is 400 significant lines; this is 95 over it, 1.24\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/truthcoin_rpc.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87a190dbe7f65682dc6ce80e2f59859c174825ff214c7953ba5e98829334667"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: multisig/multisig.go: FileTooLong \u2014 617 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 117 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/models/multisig/multisig.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"739d3cc0cc6217136d0210e14d8f65f784b9bc36ae8bf4b65f66084d746df66c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: explorer/block_explorer_dialog.dart: FileTooLong \u2014 617 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 117 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/explorer/block_explorer_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ed30f7722cf2682251c7df67c2cee4eaaa8fdea4ee0dd41f3834a697b7880b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BMMViewModel: 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":"sail_ui/lib/pages/sidechains/bmm_tab.dart"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51211b56bc723e899364e1c857bae75752bcd5212cb69d162e9189dd5a508ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tabs/auction_browser_page.dart: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 115 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/auction_browser_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc769a2df189d135054c4c4f87f89adcd49fc1f067ce280c5efde2e663232882"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _MiningTabState: ClassTooLong \u2014 490 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 90 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/mining/mining_tab.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd16f4bafdd367e04ddb9865b3d0037b71ab49dd5ca894aea6d8794dd3de10e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _HashCalculatorState: ClassTooLong \u2014 487 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 87 over it, 1.22\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/hash_calculator_modal.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b689478499cc1fd9ee9f218183028674380cdea5e817a46fc9f9cc7f20da32"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/homepage_widget_catalog.dart: FileTooLong \u2014 607 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 107 over it, 1.21\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":"zside/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8330b221d9a9a99a378fbd720936190fbd307a1e94201a5ac8075035b452f0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _WalletBackupRestoreOptionsState: ClassTooLong \u2014 485 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 85 over it, 1.21\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":"sail_ui/lib/widgets/wallet_backup_restore.dart"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e914cd1d52696da5c692653c0e4248bddafcc3b59f9d20c3fab66f30b651760"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidechains/sidechain_overview_page.dart: FileTooLong \u2014 606 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 106 over it, 1.21\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":"sail_ui/lib/pages/sidechains/sidechain_overview_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18791f29139bc0a7330f0ca357f271527ab7ea590bf9a43e418634e802fdc07e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ElectrumClient: ClassTooLong \u2014 482 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods, 41 blocks, lines 40-844. The bar is 400 significant lines; this is 82 over it, 1.21\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":"sidechain-orchestrator/wallet/electrum_client.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ca13605dd9ebc6a577fe1ad4c4ce78b93ee2776b7c29108a5d6ed8e0a559be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/multisiglounge_handler.go: FileTooLong \u2014 601 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: MultisigLoungeHandler (21 blocks, 39-953). The bar is 500 significant lines; this is 101 over it, 1.20\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":"sidechain-orchestrator/api/multisiglounge_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ba54cb522f1e5c576eb047fd2467411fc5fe8fa208e3ef92f8263922eb6923"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Client: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitnames/client.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67f47bd15d1295bc10906c60124ec74bdd25552af6eea5445170ba61c45f92b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/create_wallet_page.dart: FileTooLong \u2014 596 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: _SailCreateWalletPageState (57-846). The bar is 500 significant lines; this is 96 over it, 1.19\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/create_wallet_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9a937e2429f5a1021d535b7ea988fc2a26cce3478d822bb55bf8278e1bb585"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PortfolioDashboard.build: MethodTooLong \u2014 build 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":"bitassets/lib/widgets/portfolio_dashboard.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca062a589ec174d3ba7a63f25fbf2f5d5cb7118b6ea0ac7c52dc94f459a7df8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rpcs/orchestrator_wallet_rpc.dart: FileTooLong \u2014 593 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: OrchestratorWalletRPC (28-925). The bar is 500 significant lines; this is 93 over it, 1.19\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/orchestrator_wallet_rpc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52578d15c3f3c8a833d145e8eee7b595859d01e8e296e5b8b47c04a96829cd6f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GenerateReportTabState.build: MethodTooLong \u2014 build runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\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":"bitwindow/lib/widgets/proof_of_funds_modal.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdde5281a1663331cf9210e72517f7e03842360e2f0214acbac5313fa8fe6d18"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CoreRPCClient: ClassTooLong \u2014 468 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods, 53 blocks, lines 39-936. The bar is 400 significant lines; this is 68 over it, 1.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":"sidechain-orchestrator/wallet/core_rpc.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b859e94e9a6313136b507f9ea2642c2e34eed7a4dba27bdad0c911e39e6686cc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _BandwidthGraph.build: MethodTooLong \u2014 build 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":"bitwindow/lib/dialogs/network_statistics_dialog.dart"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"478419ef9c9b8daa9178084a78649cab1ca16404069872b2bc3788cd0f3dcc82"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MultisigLoungeHandler: ClassTooLong \u2014 467 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods, 21 blocks, lines 39-953. The bar is 400 significant lines; this is 67 over it, 1.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":"sidechain-orchestrator/api/multisiglounge_handler.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1850a57936c36fb7d2b53c72037364cd40904dd1a4324ad9626b70d2114b22b2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BitcoinConfProvider: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.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":"sidechain_core/lib/providers/bitcoin_conf_provider.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8998a8781fbdfaf7e0934f501966f3543cee765f94be10e552c7ea710943776"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WalletReaderProvider: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.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":"sidechain_core/lib/providers/wallet_reader_provider.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dc324e95a5d2bd019529d9401e24c297c450e550d43bf7f9411cc2523be4f5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BitnamesRPC: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.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":"sidechain_core/lib/rpcs/bitnames_rpc.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"735cb1114b3698c855ac400475c2bcb30630534c610aabefd8025e7b7decbd0d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DenialDialogState.build: MethodTooLong \u2014 build runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/denial_dialog.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e9b8b035518ee974872b4106ddae718361ba771b270228f5d0527769800dea"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ZSideMeltCast.build: MethodTooLong \u2014 build runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zside/lib/pages/tabs/zside/zside_melt_cast_page.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8951fc9faf597004641587617521340a8f9dfa4ceee2b7e0e707b8681c413742"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _StoreTab.build: MethodTooLong \u2014 build runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/bitdrive_page.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"abda5be43fb29d4a252943bc25d6de5d707bbc2bf8a34e8f8cd13ad2296af8c1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReceiveTab.build: MethodTooLong \u2014 build runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_receive.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e6dba01e79430ac61a99fd8bc21c2220f0eb0737f614b7ac79a9500f5e335b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BitAssetsLive: ClassTooLong \u2014 457 significant lines (blank, comment-only and punctuation-only lines excluded), 60 methods. The bar is 400 significant lines; this is 57 over it, 1.14\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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"09029ed118f28de1e67a9c6a1415467db9b0e01054b50635c9b6f90775d8fe57"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ECashMigrationDialogState.build: MethodTooLong \u2014 build runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/ecash_migration_dialog.dart"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e97ba329763e93c17d3c401e4eda1d726d1f0e7fa228ee5ab2d89448c2b7b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rpcs/bitnames_rpc.dart: FileTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded), about 63% of them inside a single declaration: BitnamesLive (153-673). The bar is 500 significant lines; this is 67 over it, 1.13\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitnames_rpc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d248274c8f92823e5124c7ee94020cb30320c6c2b244554afd5972f3132029e6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Handler: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/coinshift/handler.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a6a56e672b41b7625a7069fb10de1c20bd98b4b30e6ed5c865dcd5cab6833d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _WalletAPILive: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. Most of these members implement rpcs.WalletAPI (32 of 34 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":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"0105fb2cae7ecab2cf39c5209982ca68ad81b19a93169cf9da227f56dd117a48"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MarketCreationViewModel: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"truthcoin/lib/pages/market_creation_page.dart"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0c61962e6f8449d9bc23f089d99dbd05731db77a0e634e317ba6bf68355f13"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SailDropdownButtonState.build: MethodTooLong \u2014 build runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/inputs/dropdown_menu.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ec520453cdb839ae9c63858533d7acb27f5f0ebfe377fd2b679770786cf173"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wallet/electrum_client.go: FileTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: ElectrumClient (41 blocks, 40-844). The bar is 500 significant lines; this is 60 over it, 1.12\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":"sidechain-orchestrator/wallet/electrum_client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"030b7022f81aff2666c73ad5a5814ce8d9ba405ab2bd459ffb925f80397d2e86"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _UTXOTableState.build: MethodTooLong \u2014 build runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_utxos.dart"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf52734b6029630dab111bcfe8d8a83a0a37b4e3bfb28a9c6d6b7508b013224"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tabs/reserve_register_page.dart: 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":"bitassets/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff6198b8dda829228e38ed935cab8c7f8054f9123b65f7653777418dc958992"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wallet/core_rpc.go: FileTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: CoreRPCClient (53 blocks, 39-936). The bar is 500 significant lines; this is 55 over it, 1.11\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/core_rpc.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ead0216437eea51c3236e11575a573e37777d3267bd894e14a3846ed990192f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SidechainHomePageState._getMenuCommands: MethodTooLong \u2014 _getMenuCommands runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/shell/sidechain_home_page.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74d1ed19db00bb972d8d268468d2b2342893f2920c2dca66416fd45326ee066"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: drivechaind/main.go: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: run (154-811). The bar is 500 significant lines; this is 53 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":"sidechain-orchestrator/cmd/drivechaind/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbbaf17eb513a7db52db8997ecc6f75887c04e0b6d20d1f28bdc0c8c4293e88"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: BinaryConfig: TooManyFields \u2014 33 stored fields beside 11 methods. The bar is 30 stored fields; this is 3 over it, 1.10\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/config.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a76cba9f9d3fc5a4cba7e7d98e2d94e89d28632102dc64934e435feb20eea8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ControlsCard.build: MethodTooLong \u2014 build runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_hd.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c697f58724c7255c9ba3ca0dae6809f3e6ce31847ed734aa9642c4aa6668205a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TradingPositionWidget.build: MethodTooLong \u2014 build runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"truthcoin/lib/widgets/trading_position_widget.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00a648cc3b2ed62cb58faab3f72d10cb2a49dd1fe5ca87d4065ae15cce71c60"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _BowtiePainter.paint: MethodTooLong \u2014 paint runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/explorer/widgets/transaction_flow_diagram.dart"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c26b3a868a75abcdefedf261a7daaf62466d7393190aade2e8e7bea955fdeb5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engines/deniability_engine.go: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: DeniabilityEngine (22 blocks, 24-853). The bar is 500 significant lines; this is 42 over it, 1.08\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":"bitwindow/server/engines/deniability_engine.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e40487d3975750999155445cd4ccef2dcc4f5a398a96f6cf718c442846f324"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WithdrawalsPage.build: MethodTooLong \u2014 build runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"photon/lib/pages/tabs/withdrawals_page.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"142dae6d5b12ab3b733dd383f9ad1812c92bf26c4910aea9aea42cbdc840a3e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mining/mining_tab.dart: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: _MiningTabState (72-741). The bar is 500 significant lines; this is 37 over it, 1.07\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":"bitwindow/lib/pages/mining/mining_tab.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d293ecd92e0a8843dae8bd222902d13938578b8174cb227092abf7c8c2b9989"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _RegisterAssetStep.build: MethodTooLong \u2014 build runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/widgets/asset_issuance_wizard.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"229db6942bca10ee50a88a4376825762a2f2ae34dfbff7f12dacd71a4185328a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HomepageBuilder.build: MethodTooLong \u2014 build runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/homepage/homepage_builder.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f7fc8e22220ccca5d513370f10ba91f93c2046a1e6c2e84e08766b9b90ad22"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Server: 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":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"18139b11aca7dcfd48d1775703ca279c68babb1ea20e921ebf3cdbe7930bf0e4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StratumHandler: 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":"sidechain-orchestrator/api/stratum_handler.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d9f86c7b58db384ac92025158a31f56b38883081c5d3beb34b64b4a15d1bc3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Handler: TooManyMethods \u2014 32 methods, declared across 2 files: zside/handler.go (31), zside/history.go (1). The bar is 30 methods; this is 2 over it, 1.07\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":"sidechain-orchestrator/sidechain/zside/handler.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b0cd419fb0fdb67e5d7816c8f8595cf80a8aa9a0cc5600ce1764eabc9125a4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BackendRouter: TooManyMethods \u2014 32 methods, declared across 2 files: wallet/router.go (31), wallet/network_reset.go (1). The bar is 30 methods; this is 2 over it, 1.07\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":"sidechain-orchestrator/wallet/router.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"38471bed00065896e867d4f6a45968a1000e475183603c46e8ef4fce8596534f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _MiningTabState: 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":"bitwindow/lib/pages/mining/mining_tab.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1d753a80007e264730b5e89041a07c37da9163c678db83b33f5e1d92781499"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CreateMultisigModalViewModel: 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":"bitwindow/lib/widgets/create_multisig_modal.dart"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d58e1279780711ce72a8df710085b674528bd4e9489e0d500d53d28872ac37d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WalletAPI: 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":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7db6cad1918e9b160015c25321886a4474a3e092cbd13be63deea43ceba5b6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PhotonLive: 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":"sidechain_core/lib/rpcs/photon_rpc.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7123daf05e68dc05babb70d99a09d1b1772017e39b1328fcb8e2ec51c3c14ce"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Orchestrator.startEnforcerWhenReady: MethodTooLong \u2014 startEnforcerWhenReady 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":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e1f7f606e1ad500ee43d1406bfd7997ed076ed957024f3a48a51df23f191c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: modals/chain_settings_modal.dart: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: _ChainSettingsModalState (27-591). The bar is 500 significant lines; this is 25 over it, 1.05\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":"sail_ui/lib/widgets/modals/chain_settings_modal.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01f4fae0c6cf983766463f7ac72b9fa609e69efca856eaf970aa33ffabebd2c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Orchestrator.startTargetOnly: MethodTooLong \u2014 startTargetOnly 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":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":2045}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec26d6701cb74670ff6f7b533b3d81805d213cbe91f92791d6d229cb0e1546a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inputs/dropdown_menu.dart: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 24 over it, 1.05\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":"sail_ui/lib/widgets/inputs/dropdown_menu.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda85dfbf57591ee7c171e25fbafcc842f1b7a1d66bd25acdcdc513fbf7cc7f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AuctionRow.build: MethodTooLong \u2014 build runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/auction_browser_page.dart"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe012c77e6cfbc39d2dd36e8e402e3787fd15c1e4c80426f8ad9c713d6c5066"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SidechainsTable.build: MethodTooLong \u2014 build runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/sidechains_page.dart"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"1079d1d643ccfb9a2827d3ebd5542442f5f4e48bfaaba2998cbc78314ff210cd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StartersTab.build: MethodTooLong \u2014 build runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/starters_tab.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f8fee3a790b5324efedf3791ebf63e1ef6faea396fd038c7d095cec8a89f4c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ThunderLive: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/thunder_rpc.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a367ee81ebc39c5a6e8104c172aa0c2a66da621038dedce8594abe6faafd74d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SidechainsViewModel.sidechainWidget: MethodTooLong \u2014 sidechainWidget 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":"bitwindow/lib/pages/sidechains_page.dart"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"163afb58681ec01b314c26ad3e0a85e7e6da894f4c6e5c79efb37b23441471bd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MultisigKeyModal.build: MethodTooLong \u2014 build runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/multisig_key_modal.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de30bcaf537730a81eae24773500beca275d8998cf76972dbfd26ea164ad38b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config_editor/configurator_panel.dart: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 14 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":"sail_ui/lib/widgets/config_editor/configurator_panel.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c226a028454dc2b0e5d4c733ed911a6154af59a175481dd1d886f9850edae36"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: swap/swap_list.dart: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 12 over it, 1.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":"coinshift/lib/widgets/swap/swap_list.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb39a55ee75013a0a2b0f686d1fcdb1571ee75ff02016a85365c97f404c042e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/homepage_widget_catalog.dart: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 11 over it, 1.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":"truthcoin/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a463bca13206b73f94417491ad10f10976aa1662844c7f741cafbc82689dfb17"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PaperWalletDialogState.build: MethodTooLong \u2014 build 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":"bitwindow/lib/dialogs/paper_wallet_dialog.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"48da6e1f63785875bfa8a47dbbfad5d6fa965c9ca9c5c9549e741dcdc7e5b3bd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ComingSoonPageState.build: MethodTooLong \u2014 build 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":"sail_ui/lib/pages/coming_soon_page.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c0ff0705770e3a70c3db7856f56ab31bcc6cfca1e6b7966717a239ce383507"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: corewalletfile/convert.go: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 8 over it, 1.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":"sidechain-orchestrator/corewalletfile/convert.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca5a7dd66e7ad90bca094d734bc27d01699617687498ac9e6451327085ee84b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/main.go: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7 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":"bitwindow/server/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9858b9c3abe56391e0224f1eccfe8fb43c6cb7d984cc6a137689069d1a6eff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/binaries.go: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 6 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":"sidechain-orchestrator/config/binaries.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da426308cc238df089cb4ee4d80e8c90373526743fea571adb23fea1e2103e7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SettingsNetworkState: ClassTooLong \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 4 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/settings/settings_network.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6299109960ee257ce65b225addc8b42763ff76a6340c5048f2818690d536af19"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Orchestrator.GetSyncStatus: MethodTooLong \u2014 GetSyncStatus 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":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":3763}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadd88b4726b60e581b78f2063ac4eef3a7f77f8f8f983e60049c4f4ba2c9246"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsWalletState.build: MethodTooLong \u2014 build runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/settings/settings_wallet.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"07477c42f914d387c4157375fad1b507175a670e0cfa075b6eec088077b203a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 26 shared lines): sidechain-orchestrator/sidechain/bitassets/client.go:55-93 | sidechain-orchestrator/sidechain/bitnames/client.go:57-103 | sidechain-orchestrator/sidechain/coinshift/client.go:67-108 | sidechain-orchestrator/sidechain/photon/client.go:55-93 | sidechain-orchestrator/sidechain/thunder/client.go:55-93 | sidechain-orchestrator/sidechain/truthcoin/client.go:67-108 \u2014 These 6 members are variants of one another: a block of 26 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/client.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b318889b87d8b6cb8745f88a0c8bc8ea21029c1718695226eca3fea6f5bf4731"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 40 shared lines): bitwindow/lib/pages/wallet/cash_check_page.dart:157-211 | bitwindow/lib/pages/wallet/check_detail_page.dart:194-248 | bitwindow/lib/pages/wallet/create_check_page.dart:141-195 | bitwindow/lib/widgets/claim_ecx_card.dart:216-272 \u2014 These 4 members are variants of one another: a block of 40 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/cash_check_page.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c2b7aef7eb3495a2447fe85575f0d1dbaf7564f0b7edb4c70a4ffdbd9eda0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 39 shared lines): bitwindow/lib/dialogs/paper_check_dialog.dart:481-561 | bitwindow/lib/dialogs/paper_check_dialog.dart:578-689 | bitwindow/lib/dialogs/paper_wallet_dialog.dart:259-339 | bitwindow/lib/dialogs/paper_wallet_dialog.dart:356-467 \u2014 These 4 members are variants of one another: a block of 39 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/dialogs/paper_check_dialog.dart"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"151be323e9f300aa8e8c5a2fcd390d8fd9db2911a508e090ee57e92e6e3e579f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (84 shared lines): bitwindow/lib/dialogs/paper_check_dialog.dart:171-466 | bitwindow/lib/dialogs/paper_wallet_dialog.dart:86-244 \u2014 These two members are variants of one another: 84 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/dialogs/paper_check_dialog.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcd98b7b7ab2e7ae925a73f12ba9b87c3600103cccb5921d7aa0f2cea542b13"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (31 shared lines): bitassets/lib/pages/tabs/reserve_register_page.dart:623-673 | bitnames/lib/pages/tabs/reserve_register_page.dart:679-720 \u2014 These two members are variants of one another: 31 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90a16d13029efdb91f3651816894bb721aaa49efd6b63437ffe3776c57a6d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (21 shared lines): sidechain-orchestrator/stratum/cpu.go:297-357 | sidechain-orchestrator/stratum/pool.go:401-468 \u2014 These two members are variants of one another: 21 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/stratum/cpu.go"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"df83e3ea6f6616cafbff0363d4337799de2598947305d57743f3f4b2e4be534e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): bitwindow/lib/pages/explorer/m4_explorer_page.dart:25-278 | bitwindow/lib/pages/sidechain_activation_management_page.dart:14-72 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/explorer/m4_explorer_page.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a097bcdcd3fc5a501e0669a24efc62c00a33a446353ed7ecd22b477e06ade416"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): bitwindow/lib/pages/wallet/wallet_receive.dart:301-413 | bitwindow/lib/widgets/peers_table_widget.dart:145-178 \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":"bitwindow/lib/pages/wallet/wallet_receive.dart"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"720de7b7adaed9cbf4f313923b8b0dea147c3a6c3a0531765033b9c09eed3e2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (17 members, 50\u002B identical tokens): sidechain-orchestrator/api/deposit.go:28-89 | sidechain-orchestrator/api/wallet_handler.go:627-640 | sidechain-orchestrator/api/wallet_handler.go:662-684 | sidechain-orchestrator/api/wallet_handler.go:686-698 | sidechain-orchestrator/api/wallet_handler.go:800-826 | sidechain-orchestrator/api/wallet_handler.go:828-858 | sidechain-orchestrator/api/wallet_handler.go:959-1058 | sidechain-orchestrator/api/wallet_handler.go:1066-1142 | sidechain-orchestrator/api/wallet_handler.go:1144-1207 | sidechain-orchestrator/api/wallet_handler.go:1253-1311 | sidechain-orchestrator/api/wallet_handler.go:1353-1390 | sidechain-orchestrator/api/wallet_handler.go:1392-1506 | sidechain-orchestrator/api/wallet_handler.go:1705-1735 | sidechain-orchestrator/api/wallet_handler.go:1737-1796 | sidechain-orchestrator/api/wallet_handler.go:1845-1878 | sidechain-orchestrator/api/wallet_handler.go:2421-2452 | sidechain-orchestrator/api/wallet_handler.go:2454-2467 \u2014 These 17 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 17 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 17 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/deposit.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34aa8011f744846a5d8e86c90495654e52f4faa9ae987edcb4c671b9aff97a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): bitassets/lib/pages/tabs/dutch_auction_page.dart:12-226 | bitassets/lib/pages/tabs/reserve_register_page.dart:59-115 | bitassets/lib/pages/tabs/reserve_register_page.dart:313-369 | bitwindow/lib/pages/explorer/load_transaction_dialog.dart:267-310 | bitwindow/lib/pages/wallet/wallet_checks.dart:171-265 | bitwindow/lib/pages/wallet/wallet_consolidate.dart:234-310 | bitwindow/lib/pages/wallet/wallet_timestamps.dart:112-161 | sail_ui/lib/pages/sidechains/bmm_tab.dart:517-576 | sail_ui/lib/pages/sidechains/bmm_tab.dart:608-691 | sail_ui/lib/pages/sidechains/bmm_tab.dart:862-940 | sail_ui/lib/pages/sidechains/explorer/chain_explorer_tab.dart:316-357 | truthcoin/lib/pages/tabs/portfolio_page.dart:263-318 | truthcoin/lib/pages/voting_dashboard_page.dart:413-449 | truthcoin/lib/widgets/trading_position_widget.dart:14-176 \u2014 These 14 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 14 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/dutch_auction_page.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"069f6cbc55f07468cdf4466c3cb88ecb327f987fdffff833495d5145f74fa841"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): sidechain_core/lib/config/binaries.dart:399-422 | sidechain_core/lib/config/binaries.dart:479-502 | sidechain_core/lib/config/binaries.dart:558-581 | sidechain_core/lib/config/binaries.dart:637-660 | sidechain_core/lib/config/binaries.dart:743-766 | sidechain_core/lib/config/binaries.dart:824-847 | sidechain_core/lib/config/sidechains.dart:228-249 | sidechain_core/lib/config/sidechains.dart:330-355 | sidechain_core/lib/config/sidechains.dart:429-454 | sidechain_core/lib/config/sidechains.dart:528-553 | sidechain_core/lib/config/sidechains.dart:627-652 | sidechain_core/lib/config/sidechains.dart:726-751 | sidechain_core/lib/config/sidechains.dart:825-850 | sidechain_core/lib/config/sidechains.dart:924-949 \u2014 These 14 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 14 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/config/binaries.dart"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"3619bf1d23dee51d6e9916ff62db742fcf5984d603a5a353df756b2f479767e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): bbc/macos/Runner/MainFlutterWindow.swift:6-20 | bitassets/macos/Runner/MainFlutterWindow.swift:6-20 | bitnames/macos/Runner/MainFlutterWindow.swift:6-20 | coinshift/macos/Runner/MainFlutterWindow.swift:6-20 | photon/macos/Runner/MainFlutterWindow.swift:6-20 | thunder/macos/Runner/MainFlutterWindow.swift:6-20 | truthcoin/macos/Runner/MainFlutterWindow.swift:6-20 | zside/macos/Runner/MainFlutterWindow.swift:6-20 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bbc/macos/Runner/MainFlutterWindow.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cecd5c63013348144f3e4c440eb95bb5487348564d13b7f7bc133a1202c09ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): bitassets/lib/pages/tabs/dutch_auction_page.dart:328-352 | bitassets/lib/pages/tabs/reserve_register_page.dart:533-557 | bitnames/lib/pages/tabs/reserve_register_page.dart:570-594 | bitwindow/lib/pages/explorer/block_explorer_dialog.dart:223-247 | bitwindow/lib/pages/wallet/wallet_page.dart:404-428 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:558-577 | zside/lib/widgets/homepage_widget_catalog.dart:718-742 \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":"bitassets/lib/pages/tabs/dutch_auction_page.dart"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f53dad6b4ed7c29c3c2af0a6197e437f04622d492bc351167d5929f1f4752ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): sidechain_core/lib/rpcs/bitassets_rpc.dart:264-286 | sidechain_core/lib/rpcs/bitnames_rpc.dart:191-213 | sidechain_core/lib/rpcs/coinshift_rpc.dart:144-166 | sidechain_core/lib/rpcs/photon_rpc.dart:102-124 | sidechain_core/lib/rpcs/thunder_rpc.dart:96-118 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:295-317 | sidechain_core/lib/rpcs/zside_rpc.dart:144-166 \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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54846ba4663d9af6b8bb950e20a0755c08521438e32b64ecab50bce0b07a225"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): sidechain_core/lib/rpcs/bitassets_rpc.dart:291-299 | sidechain_core/lib/rpcs/bitnames_rpc.dart:218-226 | sidechain_core/lib/rpcs/coinshift_rpc.dart:171-179 | sidechain_core/lib/rpcs/photon_rpc.dart:129-137 | sidechain_core/lib/rpcs/thunder_rpc.dart:123-131 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:322-330 | sidechain_core/lib/rpcs/zside_rpc.dart:171-179 \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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d5a37c6f16368aa3070007b6d239193d3e1590519ebdfabe3d01e1680221f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): sidechain_core/lib/rpcs/bitassets_rpc.dart:791-798 | sidechain_core/lib/rpcs/bitnames_rpc.dart:368-375 | sidechain_core/lib/rpcs/coinshift_rpc.dart:280-287 | sidechain_core/lib/rpcs/photon_rpc.dart:238-245 | sidechain_core/lib/rpcs/thunder_rpc.dart:276-283 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:426-433 | sidechain_core/lib/rpcs/zside_rpc.dart:307-314 \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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"672fbd3ce52f405a0043d68c5456e28e5436687149e13518f44e65ba1b2bb266"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): sidechain_core/lib/rpcs/bitassets_rpc.dart:826-837 | sidechain_core/lib/rpcs/bitnames_rpc.dart:403-414 | sidechain_core/lib/rpcs/coinshift_rpc.dart:242-253 | sidechain_core/lib/rpcs/photon_rpc.dart:200-211 | sidechain_core/lib/rpcs/thunder_rpc.dart:243-254 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:393-404 | sidechain_core/lib/rpcs/zside_rpc.dart:274-285 \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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a5cf21a59b081208b784e756f9b06c711cee1fcc08656b6b61960619164027"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): sidechain-orchestrator/sidechain/bitassets/handler.go:148-160 | sidechain-orchestrator/sidechain/bitnames/handler.go:136-148 | sidechain-orchestrator/sidechain/coinshift/handler.go:149-161 | sidechain-orchestrator/sidechain/photon/handler.go:148-160 | sidechain-orchestrator/sidechain/thunder/handler.go:147-159 | sidechain-orchestrator/sidechain/truthcoin/handler.go:154-166 | sidechain-orchestrator/sidechain/zside/handler.go:200-212 \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":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a206f69561e66380b2a7c77b139dda88b1d29f8a117812bcd8907bb2eafeaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): bbc/lib/bbc_module.dart:44-67 | coinshift/lib/coinshift_module.dart:59-82 | photon/lib/photon_module.dart:41-64 | thunder/lib/thunder_module.dart:41-64 | truthcoin/lib/truthcoin_module.dart:82-105 | zside/lib/zside_module.dart:74-97 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bbc/lib/bbc_module.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"241e16060819a0d5e619b80071426bb643c24bc8379883e7510380c51002078f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): bbc/lib/widgets/homepage_widget_catalog.dart:178-199 | coinshift/lib/widgets/homepage_widget_catalog.dart:322-343 | photon/lib/widgets/homepage_widget_catalog.dart:198-219 | thunder/lib/widgets/homepage_widget_catalog.dart:201-222 | truthcoin/lib/widgets/homepage_widget_catalog.dart:211-232 | zside/lib/widgets/homepage_widget_catalog.dart:793-810 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bbc/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b96392c8e38ef4c9b1f30c4edcb0dfb70438ee3b514f3e0c8e13bad0e0e55f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): bbc/lib/widgets/homepage_widget_catalog.dart:206-218 | coinshift/lib/widgets/homepage_widget_catalog.dart:349-361 | photon/lib/widgets/homepage_widget_catalog.dart:226-238 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:674-686 | thunder/lib/widgets/homepage_widget_catalog.dart:229-241 | truthcoin/lib/widgets/homepage_widget_catalog.dart:239-251 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bbc/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"490ef9a6821fca4db97e1f36bbe03c0bed735d9b45db20b09f5895e29e1cf8d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): bbc/lib/widgets/homepage_widget_catalog.dart:253-279 | coinshift/lib/widgets/homepage_widget_catalog.dart:396-422 | photon/lib/widgets/homepage_widget_catalog.dart:273-299 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:721-751 | thunder/lib/widgets/homepage_widget_catalog.dart:276-302 | truthcoin/lib/widgets/homepage_widget_catalog.dart:286-312 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bbc/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce6dea1d6f95a4e5da1d8a718cc4fc8f611ea4f291abd62919358caad8b6e00"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): bbc/lib/widgets/homepage_widget_catalog.dart:342-367 | coinshift/lib/widgets/homepage_widget_catalog.dart:485-510 | photon/lib/widgets/homepage_widget_catalog.dart:362-387 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:836-861 | thunder/lib/widgets/homepage_widget_catalog.dart:365-390 | truthcoin/lib/widgets/homepage_widget_catalog.dart:375-400 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bbc/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd327f0c3f31bb72dc1ab972d94d426c2be580cc0fdaf62fe1126f728e357886"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): bitwindow/lib/pages/explorer/block_explorer_dialog.dart:121-214 | bitwindow/lib/pages/wallet/denability_page.dart:455-520 | zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:629-653 | zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:980-1016 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:503-527 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:681-704 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/explorer/block_explorer_dialog.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d537b0ee491ce4fbbbc797f8794f56c81daaf44db7a4b88a71ace5076a7a17d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): sidechain_core/lib/rpcs/bitassets_rpc.dart:245-251 | sidechain_core/lib/rpcs/bitnames_rpc.dart:172-178 | sidechain_core/lib/rpcs/photon_rpc.dart:83-89 | sidechain_core/lib/rpcs/thunder_rpc.dart:77-83 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:276-282 | sidechain_core/lib/rpcs/zside_rpc.dart:120-126 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"2222a820d2d25dee785234cd4ef5e04484fe1574eaa27c99f077ee7ada94fcc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): sidechain_core/lib/rpcs/bitassets_rpc.dart:321-331 | sidechain_core/lib/rpcs/bitnames_rpc.dart:248-258 | sidechain_core/lib/rpcs/photon_rpc.dart:170-180 | sidechain_core/lib/rpcs/thunder_rpc.dart:213-223 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:363-373 | sidechain_core/lib/rpcs/zside_rpc.dart:244-254 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cfe0f9582243b49c0b6bf7e4cad8088c0fc9b86973b3c43d08de981b7f9bbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): sidechain-orchestrator/sidechain/bitassets/client.go:96-107 | sidechain-orchestrator/sidechain/bitnames/client.go:106-117 | sidechain-orchestrator/sidechain/coinshift/client.go:111-122 | sidechain-orchestrator/sidechain/photon/client.go:96-107 | sidechain-orchestrator/sidechain/thunder/client.go:96-107 | sidechain-orchestrator/sidechain/truthcoin/client.go:111-122 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/client.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d123cbdac2d0c23f7af5c3b2ad9436d722a45aa8d9000bb31678be9afa4be8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): sidechain-orchestrator/sidechain/bitassets/client.go:183-196 | sidechain-orchestrator/sidechain/bitnames/client.go:233-246 | sidechain-orchestrator/sidechain/coinshift/client.go:198-211 | sidechain-orchestrator/sidechain/photon/client.go:183-196 | sidechain-orchestrator/sidechain/thunder/client.go:183-196 | sidechain-orchestrator/sidechain/truthcoin/client.go:198-211 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/client.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cefb5d0d0712519045657ee46642841e4d042caa3ba6e2269b1f39afda327e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): sidechain-orchestrator/sidechain/bitassets/client.go:199-212 | sidechain-orchestrator/sidechain/bitnames/client.go:249-262 | sidechain-orchestrator/sidechain/coinshift/client.go:214-227 | sidechain-orchestrator/sidechain/photon/client.go:199-212 | sidechain-orchestrator/sidechain/thunder/client.go:199-212 | sidechain-orchestrator/sidechain/truthcoin/client.go:214-227 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/client.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0a7960178960d68ba0a386bbaaf6389ddcd438bc51947721877d67cb60db27"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): sidechain-orchestrator/sidechain/bitassets/client.go:216-229 | sidechain-orchestrator/sidechain/bitnames/client.go:266-279 | sidechain-orchestrator/sidechain/coinshift/client.go:231-244 | sidechain-orchestrator/sidechain/photon/client.go:216-229 | sidechain-orchestrator/sidechain/thunder/client.go:216-229 | sidechain-orchestrator/sidechain/truthcoin/client.go:231-244 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/client.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7da317904f3aff716499e5a8d5a77657896cfacd0d5171e90e088fab1b2fae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): sidechain-orchestrator/sidechain/bitassets/handler.go:172-179 | sidechain-orchestrator/sidechain/bitnames/handler.go:160-167 | sidechain-orchestrator/sidechain/coinshift/handler.go:173-180 | sidechain-orchestrator/sidechain/photon/handler.go:172-179 | sidechain-orchestrator/sidechain/truthcoin/handler.go:178-185 | sidechain-orchestrator/sidechain/zside/handler.go:224-231 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff326a5b4f2793ad481a5aba70471680daecbfb4c8fd607680e12ba290e3563"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): sidechain_core/lib/rpcs/coinshift_rpc.dart:196-207 | sidechain_core/lib/rpcs/photon_rpc.dart:154-165 | sidechain_core/lib/rpcs/thunder_rpc.dart:197-208 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:347-358 | sidechain_core/lib/rpcs/zside_rpc.dart:228-239 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/coinshift_rpc.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc606aece123b0b29cee1f0185ed95337a9f6fac1c5f34d1b8f2934c3ad7ccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): sidechain_core/lib/rpcs/coinshift_rpc.dart:265-272 | sidechain_core/lib/rpcs/photon_rpc.dart:223-230 | sidechain_core/lib/rpcs/thunder_rpc.dart:261-268 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:411-418 | sidechain_core/lib/rpcs/zside_rpc.dart:292-299 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/coinshift_rpc.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaff60da3f93cda60b13e74e2c3bd92fde48c3635b53c851990ac5f74605c791"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): sidechain_core/lib/rpcs/coinshift_rpc.dart:307-314 | sidechain_core/lib/rpcs/photon_rpc.dart:265-272 | sidechain_core/lib/rpcs/thunder_rpc.dart:303-310 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:453-460 | sidechain_core/lib/rpcs/zside_rpc.dart:334-341 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/coinshift_rpc.dart"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"051bbf155467f29fdbcaa0abdb359e9abebfe8c551dab8d1b4d8369f21953634"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): sidechain_core/lib/rpcs/coinshift_rpc.dart:316-323 | sidechain_core/lib/rpcs/photon_rpc.dart:274-281 | sidechain_core/lib/rpcs/thunder_rpc.dart:312-319 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:462-469 | sidechain_core/lib/rpcs/zside_rpc.dart:343-350 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/coinshift_rpc.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5929124ba8f18f9942d196cb3ec5e991e7d42048b5c42284e2799fdc1c86b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): bitassets/lib/pages/tabs/amm_page.dart:278-300 | bitassets/lib/pages/tabs/asset_explorer_page.dart:262-296 | bitassets/lib/pages/tabs/auction_browser_page.dart:874-896 | bitassets/lib/widgets/amm_analytics_widget.dart:448-465 \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":"bitassets/lib/pages/tabs/amm_page.dart"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6aa74caa884f8c3d78182d430525eeb700db354353ced6641c06348caf8b46"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): bitwindow/lib/dialogs/network_statistics_dialog.dart:191-199 | bitwindow/lib/widgets/network_stats_widget.dart:149-157 | bitwindow/lib/widgets/traffic_graph_widget.dart:223-231 | bitwindow/lib/widgets/traffic_graph_widget.dart:265-273 \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":"bitwindow/lib/dialogs/network_statistics_dialog.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"5521fef7da9edc7eeac835387b767e60ef93a1d1f9dd0f8ccb4bbb15e59b5574"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): bitwindow/lib/pages/debug_window.dart:521-567 | bitwindow/lib/pages/debug_window.dart:573-638 | bitwindow/lib/pages/overview_page.dart:395-424 | sail_ui/lib/widgets/debug/sidechain_debug_window.dart:306-352 \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":"bitwindow/lib/pages/debug_window.dart"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f134a6c860f28913cc9c3368c166b7676abe63e39d6eae937f37a9e8e14b951"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): bitwindow/lib/pages/settings/network_swap_page.dart:98-226 | sail_ui/lib/pages/datadir_select_page.dart:63-148 | sail_ui/lib/pages/l1_restart_page.dart:65-190 | sail_ui/lib/pages/utxo_snapshot_page.dart:87-201 \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":"bitwindow/lib/pages/settings/network_swap_page.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"292704fcf95efa70179a3c7575da0062f638f8bab5ce512f0967e657ba5d28fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): bitwindow/lib/widgets/create_multisig_modal.dart:973-1091 | bitwindow/lib/widgets/fund_group_modal.dart:13-109 | bitwindow/lib/widgets/import_txid_modal.dart:15-128 | bitwindow/lib/widgets/multisig_key_modal.dart:15-147 \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":"bitwindow/lib/widgets/create_multisig_modal.dart"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fb3d5d4456d6420f4dc44d6f0aa9fa8a7c8cac4c1abcefbd80ad0f9d1534a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): sail_ui/lib/pages/sidechains/explorer/chain_explorer_tab.dart:487-508 | sail_ui/lib/pages/sidechains/explorer/explorer_detail.dart:575-599 | sail_ui/lib/pages/sidechains/explorer/explorer_detail.dart:608-629 | sail_ui/lib/pages/sidechains/explorer/withdrawals_tab.dart:140-161 \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":"sail_ui/lib/pages/sidechains/explorer/chain_explorer_tab.dart"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc6801b11579f6e1b40872cc0aa37a3a63d11b761217488c1fcc2bccf68ee18"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): sail_ui/lib/pages/sidechains/parent_chain_page.dart:145-154 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:231-240 | zside/lib/widgets/containers/tabs/dashboard_tab_widgets.dart:103-114 | zside/lib/widgets/homepage_widget_catalog.dart:350-359 \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":"sail_ui/lib/pages/sidechains/parent_chain_page.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e461899dcee4057581df569565c6bd035b96486576958d2718fd87eb2858fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): sidechain_core/lib/rpcs/photon_rpc.dart:188-198 | sidechain_core/lib/rpcs/thunder_rpc.dart:231-241 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:381-391 | sidechain_core/lib/rpcs/zside_rpc.dart:262-272 \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":"sidechain_core/lib/rpcs/photon_rpc.dart"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b310196374ead06486490b2038df42c29480c8261bb63eefec3209f042756cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): zside/lib/widgets/containers/tabs/dashboard_tab_widgets.dart:160-202 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:120-173 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:289-342 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:737-786 \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":"zside/lib/widgets/containers/tabs/dashboard_tab_widgets.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e23424b72f577fe013a5379a8ad724b59f7f4bfec4d27ce8031cc3efd4f120"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): bitwindow/server/models/coinnews/store.go:330-350 | bitwindow/server/models/coinnews/store.go:352-366 | coinnews/server/store/store.go:279-299 | coinnews/server/store/store.go:301-315 \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":"bitwindow/server/models/coinnews/store.go"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"7259edad55c89927563819d35d802da5cfafbb055111d68ec04ff84bcaf178eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 55\u002B corresponding lines): bbc/lib/widgets/homepage_widget_catalog.dart:281-335 | coinshift/lib/widgets/homepage_widget_catalog.dart:424-478 | photon/lib/widgets/homepage_widget_catalog.dart:301-355 | thunder/lib/widgets/homepage_widget_catalog.dart:304-358 | truthcoin/lib/widgets/homepage_widget_catalog.dart:314-368 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 55 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bbc/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"7795012f3f9c8973440ba17907cc3a1704acb48cd1097c420cf4814ea7cbb1c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (93 corresponding lines): sail_ui/lib/pages/enforcer_conf_editor_page.dart:25-117 | sail_ui/lib/shell/sidechain_conf_editor_page.dart:26-123 \u2014 These two members are one piece of code written twice and then edited apart: 93 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/enforcer_conf_editor_page.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"622de1bbd3851a889b33af35f555d1a5fa2da15865af9605e2cc1057c5a150e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (101 corresponding lines): sail_ui/lib/pages/datadir_setup_page.dart:117-217 | sail_ui/lib/pages/network_switch_page.dart:70-173 \u2014 These two members are one piece of code written twice and then edited apart: 101 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/datadir_setup_page.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ead810b39e4d12e09fa2fba853b55203c9f54ec79996c6408d0557bea96df1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (87 corresponding lines): bitwindow/lib/pages/settings/settings_reset.dart:62-168 | sail_ui/lib/pages/settings_reset.dart:52-138 \u2014 These two members are one piece of code written twice and then edited apart: 87 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/settings/settings_reset.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4981f4b97437e6daef4e1a9b8ead00580e2c2b41be5ae97db8411339494c0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): sail_ui/lib/style/color.dart:123-171 | sail_ui/lib/style/color.dart:172-220 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/style/color.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e3a8ba8dc63caf197cc84372fafbd7ff9a29cfe734dc98fc35e91f4ef6397b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): bitwindow/lib/pages/explorer/block_explorer_dialog.dart:607-657 | bitwindow/lib/pages/explorer/load_transaction_dialog.dart:216-259 \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":"bitwindow/lib/pages/explorer/block_explorer_dialog.dart"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"975de38b4081c6edfce227d648f3ed470c25b7af5ebdfe806fc43b6f97f45c6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): bitwindow/lib/providers/multisig_provider.dart:968-1035 | bitwindow/lib/providers/multisig_provider.dart:1037-1102 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/multisig_provider.dart"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"7caba6dbb74883a16b2e165731abd901d32aaebb7f37625dcfcda94ca93b2c26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 79\u002B corresponding lines): sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:427-515 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:415-501 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:600-679 | zside/lib/widgets/homepage_widget_catalog.dart:605-683 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 79 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/sidechains/sidechain_overview_page.dart"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"a386e2080b9ca167acd7fc7bd42a9433b1f06fa351cf6cc6961b8aa0c9dfda7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): bitassets/lib/pages/tabs/reserve_register_page.dart:715-788 | bitnames/lib/pages/tabs/reserve_register_page.dart:785-864 \u2014 These two members are one piece of code written twice and then edited apart: 74 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c5e34be6da0db1f4702abd90f00bad87811609c12f7291ef496ded76372976"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (75 corresponding lines): bitwindow/lib/dialogs/change_password_dialog.dart:93-167 | bitwindow/lib/dialogs/encrypt_wallet_dialog.dart:75-159 \u2014 These two members are one piece of code written twice and then edited apart: 75 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/dialogs/change_password_dialog.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7160cc634a6096377aa939ba48aedca3858faf7935aed60dfeedc765c7c5163d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): bitwindow/server/api/misc/misc.go:91-143 | bitwindow/server/api/misc/misc.go:204-253 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/api/misc/misc.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60f4124dc38ea9c28633a1a852720eecbe5791aaf6acfb538156e48623565ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (71 corresponding lines): bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:120-192 | bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:200-270 \u2014 These two members are one piece of code written twice and then edited apart: 71 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b68ce53876ed2b92196bd117f886f18d837c2f04ee702a129bbf553893dc31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): sail_ui/lib/widgets/components/progress_step_tile.dart:18-75 | sail_ui/lib/widgets/dialogs/network_swap_progress_dialog.dart:155-211 \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":"sail_ui/lib/widgets/components/progress_step_tile.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"46072a760a5193fad836e75a97cb1c6e92ed173456a2324cada875ecfdf48a21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): sidechain-orchestrator/sidechain/corenode/client.go:97-148 | sidechain-orchestrator/wallet/core_rpc.go:103-154 \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":"sidechain-orchestrator/sidechain/corenode/client.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cc0655396282af9e0482e94877847e2263e15178496170ccc985505b5d3481"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): bitwindow/lib/pages/wallet/cash_check_page.dart:29-84 | bitwindow/lib/pages/wallet/create_check_page.dart:29-80 \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":"bitwindow/lib/pages/wallet/cash_check_page.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f699b96fbb5177eaea0fb140af3cfa4478000baf23d5a80c2652c1b115d5164"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): sidechain-orchestrator/rpc/client.go:110-157 | sidechain-orchestrator/rpc/client.go:160-201 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/rpc/client.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e47cb607a3122c3bbc1c359ff861b173c745051a9683360dba43943b4991124"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): bitwindow/lib/pages/welcome/multisig_config_step.dart:1841-1906 | bitwindow/lib/widgets/draft_panel.dart:904-953 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/welcome/multisig_config_step.dart"},"region":{"startLine":1841}}}],"partialFingerprints":{"codehealthFindingId/v1":"8753765fb149e6f88b91754f3d2f30d17deafabedc6690cf91a90d1195ee802b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): zside/lib/pages/tabs/zside/zside_shield_deshield_page.dart:210-248 | zside/lib/pages/tabs/zside/zside_shield_deshield_page.dart:306-344 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zside/lib/pages/tabs/zside/zside_shield_deshield_page.dart"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1785394ab21569ee9c1419ba598fdfb20a8331d117bb513494e04d59efc0164"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): bitwindow/lib/pages/wallet/cash_check_page.dart:86-155 | bitwindow/lib/pages/wallet/create_check_page.dart:82-139 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/cash_check_page.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b8c5a6b7073f1f79a7a36da062a24f5e9466e81fbe59c27923ceab4e998d07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): sail_ui/lib/widgets/config_editor/configurator_panel.dart:160-196 | sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart:123-153 \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":"sail_ui/lib/widgets/config_editor/configurator_panel.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2891af2c40bf5b1b06f1dabc55e0ae69231a08723b73a00c5a941b1e7a73a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): bitwindow/lib/pages/wallet/denability_page.dart:77-130 | zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:683-730 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/denability_page.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b730c28fb1e2333fafa73bf7347de528c66d4f184576ac8af54f9c46a6f1c0b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): sail_ui/lib/widgets/config_editor/configurator_panel.dart:210-247 | sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart:162-194 \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":"sail_ui/lib/widgets/config_editor/configurator_panel.dart"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6630178f98b6f09afac8a52bbda0c1563cbf3acd399a6f0a5812bb9ef25f931c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): sidechain-orchestrator/wallet/descriptor.go:487-521 | sidechain-orchestrator/wallet/descriptor.go:523-570 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/descriptor.go"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"67af0fd549310a04279ba4f65f7494bdfd9ea3ed67ba1c110a76dda40b85b736"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): sail_ui/lib/widgets/config_editor/configurator_panel.dart:94-144 | sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart:68-114 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/config_editor/configurator_panel.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d4c0b155b631a0b725d3099f9382ef2009abbefe069f304b43ae3794eb9193"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): bitwindow/lib/pages/explorer/block_explorer_dialog.dart:665-704 | bitwindow/lib/pages/explorer/block_explorer_dialog.dart:744-780 \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":"bitwindow/lib/pages/explorer/block_explorer_dialog.dart"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"13345c666869fff9158d9931bf77d3abdab72976603f4496c154037ee223f46d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:247-299 | zside/lib/widgets/homepage_widget_catalog.dart:430-478 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/sidechains/sidechain_overview_page.dart"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"33187b4777bf69404fb282a2a75c2f52fce7bf1b98094cc52f40f380d6723049"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): bitwindow/lib/pages/wallet/bump_fee_dialog.dart:130-165 | bitwindow/lib/pages/wallet/bump_fee_dialog.dart:167-201 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/bump_fee_dialog.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc11160016bc6d2bab7946be63d2fb2b4f128f82210ad54d54860b2724e30034"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): bitwindow/server/models/coinnews/store.go:124-158 | coinnews/server/store/store.go:101-135 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/models/coinnews/store.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"22be75fb8b3d4d5c95a649bcdabe5c05627487d8ca88a1dc929369ad2ba457f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:1185-1228 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:1304-1347 \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":"zside/lib/widgets/containers/tabs/zside_tab_widgets.dart"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af6641fe67c9e77056dcc98535f15efafc1d54753942d13bda620f6b6d5dc58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): bitwindow/lib/providers/multisig_provider.dart:504-542 | bitwindow/lib/providers/multisig_provider.dart:544-583 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/multisig_provider.dart"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2458c574c7f1886af621e992123da4a3b26c8e86f6435bbf10e6855bfc98b6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): sail_ui/lib/widgets/config_editor/configurator_panel.dart:263-308 | sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart:208-240 \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":"sail_ui/lib/widgets/config_editor/configurator_panel.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df26a8f77edece4ce1017f24f4e379bcbc69c77fa52c5d8f5363dd46afd3a83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): bitwindow/server/api/wallet/wallet.go:742-783 | bitwindow/server/engines/deniability_engine.go:818-853 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/api/wallet/wallet.go"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e076aed86062a9f9a562121347657fb091d40fab0e62558f726d3ca761c819"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 32\u002B corresponding lines): sidechain-orchestrator/api/explorer_core.go:363-398 | sidechain-orchestrator/api/explorer_handler.go:475-506 | sidechain-orchestrator/api/explorer_handler.go:651-683 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 32 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":"sidechain-orchestrator/api/explorer_core.go"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"217ac7a05fd33e398f31a2d91907e9266fa1faa9d60a94479bc6cc3fab398660"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 45\u002B corresponding lines): sail_ui/lib/pages/bitcoin_conf_editor_page.dart:124-168 | sail_ui/lib/pages/enforcer_conf_editor_page.dart:150-194 | sail_ui/lib/shell/sidechain_conf_editor_page.dart:131-183 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 45 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":"sail_ui/lib/pages/bitcoin_conf_editor_page.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7527e1fc9d1eefb4b1cbe6d8003a672cc09fe5561f771d7a9b745be5bd3aed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): sidechain-orchestrator/reject_block.go:59-96 | sidechain-orchestrator/reject_block.go:101-132 \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":"sidechain-orchestrator/reject_block.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dc772ad99b20f80e2f6a18ed1707d606d5ce21c294ee7e3fb8e7264086008f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): sidechain_core/lib/rpcs/orchestrator_wallet_rpc.dart:692-719 | sidechain_core/lib/rpcs/orchestrator_wallet_rpc.dart:721-753 \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":"sidechain_core/lib/rpcs/orchestrator_wallet_rpc.dart"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcbf03d4926c155743ccaf0b6b3747e7ea9c82bd72c2cf7dcb5e0abd519762e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): bitwindow/lib/pages/overview_page.dart:1296-1333 | bitwindow/lib/pages/wallet/check_detail_page.dart:74-112 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/overview_page.dart"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9765df74045397bd0b5c80e84360ad3756aa2f7f7a3376d09a61242e7abec27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): sail_ui/lib/widgets/containers/sail_popover.dart:131-170 | sail_ui/lib/widgets/containers/sail_popover.dart:172-211 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/containers/sail_popover.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd0f8cd4d84d9432e1eb23663364099f251ca6794aed937b241e70d484b8651"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): bitwindow/server/models/coinnews/store.go:164-188 | coinnews/server/store/store.go:137-164 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/models/coinnews/store.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce767abaa0fe1b4182de47a816536984b39f5a9ad2bdd77fc20fd4688880d430"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): bitwindow/lib/signing/psbt_signer.dart:73-103 | bitwindow/lib/widgets/draft_panel.dart:192-220 \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":"bitwindow/lib/signing/psbt_signer.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"28981db538b7ef3e6a857bf3ebf25dec3a6e22603bdf3dda69f0735a4903ffcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): bitwindow/lib/pages/success_page.dart:22-67 | sail_ui/lib/pages/create_wallet_page.dart:802-845 \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":"bitwindow/lib/pages/success_page.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"135062dbd1042ae39185b5a1a0e35b3f450e8bc61a74f1d3050df2a1f4ea0818"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): bitwindow/lib/pages/explorer/block_explorer_dialog.dart:712-742 | bitwindow/lib/pages/explorer/widgets/transaction_flow_diagram.dart:345-364 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/explorer/block_explorer_dialog.dart"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6f0bcdb1c5f12eac6fa62c332778cf63dcc122425d5aade58c4d3dfa5d3877"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 43\u002B corresponding lines): zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:187-235 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:356-401 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:511-568 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:670-714 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:792-840 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:1122-1164 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:1241-1283 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 43 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zside/lib/widgets/containers/tabs/zside_tab_widgets.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e0ed4f002a29eb2b755a5febd71107776a514622a6e75591d3713061c8e941"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): sidechain_core/lib/rpcs/bitwindow_api.dart:1356-1398 | sidechain_core/lib/rpcs/bitwindow_api.dart:1426-1462 \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":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd078ba33017d691c252042aae26bc839f5bc2390ac10f66e125f2beb7372971"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): bitwindow/lib/widgets/proof_of_funds_modal.dart:92-145 | bitwindow/lib/widgets/proof_of_funds_modal.dart:365-407 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/proof_of_funds_modal.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf49811a39022882fa0d04bfb1316d4d483a53226d8fe8a05273b9dbffa3139"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): bitwindow/server/api/server.go:339-373 | dc-hub/server/server/server.go:165-204 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/api/server.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"6beee1b2a546db28dd7debb04eaa9c0db6b56a9de534e702b9ac4b14d6a65507"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): bitwindow/lib/widgets/address_list.dart:505-546 | bitwindow/lib/widgets/address_list.dart:579-617 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/address_list.dart"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"749f3967ca34b0be2ad64648bee4a35ac893a9afce4e4d74edf20415518300ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): bitwindow/lib/pages/explorer/widgets/transaction_flow_diagram.dart:138-168 | bitwindow/lib/pages/explorer/widgets/transaction_flow_diagram.dart:170-200 \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":"bitwindow/lib/pages/explorer/widgets/transaction_flow_diagram.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d071130831e2f614d055dbfeb0c1eeaa779e535eed083df71b8127a05851f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): bitwindow/lib/pages/root_page.dart:397-418 | sail_ui/lib/shell/sidechain_home_page.dart:82-103 \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":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"daee34c93e364dcdd6879062280795d29217d41a13eefb8b7d1328e66ab5544b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 36\u002B corresponding lines): sidechain-orchestrator/config/bitcoin_config_syncer.go:683-718 | sidechain-orchestrator/config/enforcer_conf.go:542-579 | sidechain-orchestrator/config/sidechain_conf.go:562-597 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 36 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":"sidechain-orchestrator/config/bitcoin_config_syncer.go"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"001f1b17626083d363bd2c1b4b0bffcbc606c747f8398394ccc1872df44cace8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): bitwindow/lib/pages/wallet/wallet_overview.dart:675-710 | bitwindow/lib/widgets/address_list.dart:101-132 \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":"bitwindow/lib/pages/wallet/wallet_overview.dart"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"940c068466f8620f98f325d2f6046c608d3189dfea9369b672d048ff276a86a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): bitwindow/lib/widgets/import_descriptor_dialog.dart:80-131 | sail_ui/lib/widgets/containers/rename_wallet_dialog.dart:48-89 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/import_descriptor_dialog.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"267d428f6976bfb598220f52dc4d03ee7e36e4bb6453a7d4aa2a74a19ec185b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): sidechain-orchestrator/health.go:116-149 | sidechain-orchestrator/orchestrator.go:4113-4140 \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":"sidechain-orchestrator/health.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea11e46bb3c5b819c4135d92b295c096344fcd50706ee09417a1a9ba4884a704"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): bitwindow/lib/main.dart:654-698 | sail_ui/lib/pages/shutdown_page.dart:127-180 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/main.dart"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"561ffc2677ee706360d5d13c0a90f6cb68c18d7e90fa607ff36ff3fa6ade7949"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): bitwindow/lib/pages/root_page.dart:136-163 | sail_ui/lib/shell/sidechain_home_page.dart:45-80 \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":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ea39e5149f08a8bb4b1226db606c83406a69b6fc974bf187983773eee1da0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): truthcoin/lib/pages/market_detail_page.dart:1671-1706 | truthcoin/lib/pages/market_detail_page.dart:1708-1742 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"truthcoin/lib/pages/market_detail_page.dart"},"region":{"startLine":1671}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f457c33288e28ca40cae6349946171971e148af6908b9ad7ec38c497919046"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): sidechain-orchestrator/api/seed_handler.go:15-34 | sidechain-orchestrator/api/wallet_handler.go:612-625 \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":"sidechain-orchestrator/api/seed_handler.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"641df820f9d681cc864a4f05d9ed69bed878ef4144ae1f7d5c8690a285eaf0ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): bitwindow/server/miningpools/registry.go:146-171 | sidechain-orchestrator/config/netcatalog/catalog.go:439-465 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/miningpools/registry.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"490bbbf5b3ae8cec90b8c14d5836e474fcae40cf04d77cfe3d60fdd29ae1c233"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): sidechain-orchestrator/sidechain/bitassets/handler.go:285-304 | sidechain-orchestrator/sidechain/bitnames/handler.go:259-278 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b28aad5de43617e8dfa6a6c955a5cc53b42c123d5c1aa55569a7a01aca76a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): bitassets/lib/pages/tabs/reserve_register_page.dart:684-713 | bitnames/lib/pages/tabs/reserve_register_page.dart:729-758 \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":"bitassets/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5f1452a29706df41390883004924cfe82c43e58e553d04e1d1a90238719a96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): sidechain-orchestrator/platform_windows.go:68-90 | sidechain-orchestrator/platform_windows.go:92-115 \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":"sidechain-orchestrator/platform_windows.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d15f5bddf1f5b82203e3c09f7ad05f5bfa6d2a20c0ff6bb893b0ec613c1c37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): coinnews/codec/decode.go:60-81 | coinnews/codec/decode.go:83-108 \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":"coinnews/codec/decode.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8c9969b4890fdbfb882ac3f921031d04b5e1428e29ced809f53ff519d14f8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): bitwindow/lib/pages/debug_window.dart:25-66 | sail_ui/lib/widgets/debug/sidechain_debug_window.dart:21-57 \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":"bitwindow/lib/pages/debug_window.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f859c8aa3ccc2e2160b198e14f47fa0f090dff20839d8514496c71c006b75a36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): truthcoin/lib/models/market.dart:358-372 | truthcoin/lib/models/voting.dart:428-446 \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":"truthcoin/lib/models/market.dart"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"08423fc4be995b6a2464d3f4689a07b2bcd92c23bd6d9652eaaa83cb235f2c3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 29\u002B corresponding lines): sail_ui/lib/widgets/core/sail_text.dart:127-155 | sail_ui/lib/widgets/core/sail_text.dart:210-238 | sail_ui/lib/widgets/core/sail_text.dart:283-313 | sail_ui/lib/widgets/core/sail_text.dart:389-417 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 29 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/core/sail_text.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb140368c9bfb67f23e019392cd170bf17a5140d05f2d1f05efd745f827e5adf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): bitwindow/lib/pages/welcome/multisig_config_step.dart:995-1019 | bitwindow/lib/pages/welcome/multisig_config_step.dart:1592-1618 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/welcome/multisig_config_step.dart"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"41eb7ac35d69f10513ae4bb5fd136f9f81c44fa951cde2f3dd63cc6230ec5840"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): bitwindow/lib/widgets/draft_panel.dart:483-509 | bitwindow/lib/widgets/draft_panel.dart:529-553 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/draft_panel.dart"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ea82c7be2dc5d515a1263c0ec4ed8beacfd01a114999996744659c4d79f379"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): sidechain-orchestrator/wallet/deposits.go:190-215 | sidechain-orchestrator/wallet/splitcache.go:10-34 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/deposits.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"40537c40d3c82eeb179dd0aaedf8327aa663d97f1b73c3bb45c5812a17ce31e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): sidechain-orchestrator/api/wallet_handler.go:2245-2283 | sidechain-orchestrator/api/wallet_handler.go:2304-2334 \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":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":2245}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53cfc69540336339855b1667634d2c15537c8b05d896499a08bfa096b331954"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): sidechain-orchestrator/orchestrator.go:2961-2991 | sidechain-orchestrator/orchestrator.go:3009-3033 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":2961}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f55ac0301ab15e7015fa950207f0c0be158a7e4c3238ca89d603bdd3b1a0c70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): sidechain-orchestrator/config/bitcoin_config_syncer.go:647-671 | sidechain-orchestrator/config/enforcer_conf.go:506-530 | sidechain-orchestrator/config/sidechain_conf.go:527-551 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 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":"sidechain-orchestrator/config/bitcoin_config_syncer.go"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"9105eb97e7e411ce15d203b4204d5c866ae3fb62a9043734c7f4b6da47464b01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): bitwindow/lib/pages/mining/mining_tab.dart:643-653 | bitwindow/lib/pages/mining/mining_tab.dart:679-690 \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":"bitwindow/lib/pages/mining/mining_tab.dart"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bc3923b23584853aa01ba3fbd14e1dc650049f5ee781a9a9ac50feefa52d4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): bitassets/lib/bitassets_module.dart:48-74 | truthcoin/lib/truthcoin_module.dart:50-65 | zside/lib/zside_module.dart:49-63 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/bitassets_module.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d5059ce1e3197cb62ae68de5b3cce07fe64e0fc3e2d783050d387fbdbe5959"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): bitwindow/server/models/coinbases/coinbases.go:28-67 | bitwindow/server/models/mempooltx/mempooltx.go:42-68 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/models/coinbases/coinbases.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c29e6f504f58655e72b421ca36417e9ff625a2f3b541a647059e7b15e84429a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): sidechain-orchestrator/api/wallet_handler.go:556-575 | sidechain-orchestrator/api/wallet_handler.go:577-599 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f927225b2c4a14ac0834e9e54106e9a0bb876df2bef168d8de218c16a59026a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): bitwindow/lib/pages/chat_page.dart:445-474 | bitwindow/lib/pages/sidechains_page.dart:234-265 | coinshift/lib/widgets/swap/swap_list.dart:213-232 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/chat_page.dart"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c3712ce61da17b1fcf36c29c12219288fd8092adcd820a19240bf1fcea8123"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): bitassets/lib/pages/tabs/asset_explorer_page.dart:219-246 | bitassets/lib/widgets/amm_analytics_widget.dart:295-320 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/asset_explorer_page.dart"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"497481fdf4f1dc1b2e1f31c28487970fdfa9dadbbf4a5fe98c05eb3a81d550f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): sidechain-orchestrator/wallet/descriptor.go:603-627 | sidechain-orchestrator/wallet/multisiglounge_codec.go:118-142 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/descriptor.go"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ba3d34c219f05846258433cb03d533cea295ffbbabb808d46ae4f53be4cea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 32\u002B corresponding lines): bitwindow/lib/dialogs/remove_encryption_dialog.dart:34-65 | bitwindow/lib/pages/remove_encryption_page.dart:27-58 | sail_ui/lib/pages/unlock_wallet_page.dart:99-140 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 32 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":"bitwindow/lib/dialogs/remove_encryption_dialog.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7024bc17871885ac792d67b08f23d557b38783d3e1477c9571ff75ef390b9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): bitwindow/lib/pages/explorer/block_explorer_dialog.dart:482-522 | bitwindow/lib/pages/explorer/load_transaction_dialog.dart:53-88 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/explorer/block_explorer_dialog.dart"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a378b1d9144e71eb2cc3eff7dd3cb5856ad1d28d68431d60d4a6684ed2b11b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): sail_ui/lib/widgets/config_editor/configurator_panel.dart:503-515 | sail_ui/lib/widgets/config_editor/configurator_panel.dart:569-581 \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":"sail_ui/lib/widgets/config_editor/configurator_panel.dart"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c09c55c166db06462ba11bbb8878653ff614aa51067ba9fc97f8e148fb8861b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): sidechain-orchestrator/sidechain/mempool.go:438-459 | sidechain-orchestrator/sidechain/mempool.go:463-482 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/mempool.go"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d55e672146efe35918ff740b7529c889472d39a30a878fdabd5e35e04b1da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): bitwindow/lib/pages/mining/mining_tab.dart:622-641 | bitwindow/lib/pages/mining/mining_tab.dart:655-677 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/mining/mining_tab.dart"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"92779e71a71319a419142be99b5ce873b6c69a45e8a09889360d08bd45a2f0a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): sail_ui/lib/shell/sidechain_conf_editor_page.dart:320-341 | sail_ui/lib/widgets/components/setting_row.dart:80-101 \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":"sail_ui/lib/shell/sidechain_conf_editor_page.dart"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"186575dc7a2746b560fdd15c63749044beef59561f8a65f7d9408195f4558413"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): sidechain-orchestrator/stratum/cpu.go:437-450 | sidechain-orchestrator/stratum/work.go:167-182 \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":"sidechain-orchestrator/stratum/cpu.go"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37dbfd5aae886ec0e79a687296c7d0f0b175381f8371242b88b526cec6f9c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): bitwindow/lib/dialogs/paper_check_dialog.dart:45-69 | bitwindow/lib/dialogs/paper_wallet_dialog.dart:30-52 \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":"bitwindow/lib/dialogs/paper_check_dialog.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffafcdc8eb797702a2f5b845bfed686f07a76f7b4946c295c1ddfca531db75c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): bitwindow/lib/pages/debug_window.dart:167-197 | bitwindow/lib/pages/debug_window.dart:484-515 | sail_ui/lib/widgets/debug/sidechain_debug_window.dart:279-299 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 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":"bitwindow/lib/pages/debug_window.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebb9eb5de775d48c1b2d94c8b6a25c2f40d7d45f8084d39c5eec0b8b3de565d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): bitwindow/lib/models/chat_models.dart:72-100 | bitwindow/lib/models/chat_models.dart:154-177 \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":"bitwindow/lib/models/chat_models.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a2a79f2356b8c1754afa3c432e99f68bdfa861938175dc23f5427c2a969de2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): sidechain-orchestrator/wallet/core_backend.go:1541-1558 | sidechain-orchestrator/wallet/electrum_backend.go:1897-1917 \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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"33659d845e98bd3b9b00812af19855444aec5261490a172dd3bec82c21d1cd84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): sail_ui/lib/pages/sidechains/explorer/transaction_broadcast.dart:27-51 | sail_ui/lib/pages/sidechains/explorer/transaction_broadcast.dart:53-77 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/sidechains/explorer/transaction_broadcast.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c0651ed7197c8a98d2f69c88ec3e3a40e06ea1db47d285f415b1a9e2e757eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): zside/lib/widgets/homepage_widget_catalog.dart:366-396 | zside/lib/widgets/homepage_widget_catalog.dart:398-428 \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":"zside/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e39c5ad7eedd432fad7a663da3fb6db297e56075ca373c7d0db0bd20b614ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): sidechain-orchestrator/api/bmm_handler.go:732-755 | sidechain-orchestrator/api/bmm_label.go:93-112 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/bmm_handler.go"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b60cb5de2292cfcb1dee3622d6b18b17739d5a59244d161f4da9ac51623f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): bitassets/lib/pages/tabs/messaging_page.dart:14-32 | bitnames/lib/pages/tabs/messaging_page.dart:14-31 \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":"bitassets/lib/pages/tabs/messaging_page.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9e40b11fbf2df53cbff389a17d9f996a13dde331126e3c7eed63320087d9ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): bitwindow/lib/dialogs/paper_check_dialog.dart:145-169 | bitwindow/lib/dialogs/paper_wallet_dialog.dart:63-84 \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":"bitwindow/lib/dialogs/paper_check_dialog.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"858822775cc3925e9b7a9c2e9dbedc9f377715c1b84698cfaee7214ff5ecfad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): coinshift/lib/pages/swap_analytics_page.dart:11-51 | coinshift/lib/pages/tabs/swaps_page.dart:13-49 \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":"coinshift/lib/pages/swap_analytics_page.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e5a675ff054345906c556ad603ca497c5a5037b859e51d8e0c4af9d165b14a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): bitwindow/lib/pages/settings/network_swap_page.dart:46-76 | sail_ui/lib/pages/l1_restart_page.dart:27-59 \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":"bitwindow/lib/pages/settings/network_swap_page.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46f02477d4a4f2895d9666bf2e311ff746cf00b63258677197687146ef46f6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): sidechain_core/lib/rpcs/truthcoin_rpc.dart:621-641 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:643-665 \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":"sidechain_core/lib/rpcs/truthcoin_rpc.dart"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6dd843242339227485db3fca299741fa3f98bf4f32ca32f9d9977579a722694"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): bitwindow/server/models/bip47/store.go:62-93 | bitwindow/server/models/cheques/cheques.go:247-273 | bitwindow/server/models/cheques/cheques.go:339-361 | bitwindow/server/models/cheques/cheques.go:367-385 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/models/bip47/store.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"692b75afa1e3c91806cd035e9c69c04b1a6b328d36a01ce21d0353069c530515"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): bitwindow/server/api/multisig/multisig.go:200-215 | bitwindow/server/api/multisig/multisig.go:220-235 \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":"bitwindow/server/api/multisig/multisig.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"2907e1b5cbee5b8b24f98d4cb8d4955b66bdfc7725b315e5fd9c06e83d83787d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): bitwindow/server/api/utils/utils.go:137-151 | bitwindow/server/api/utils/utils.go:154-170 \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":"bitwindow/server/api/utils/utils.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c601f52b4d2d9dee4a33b2e2868d574bb436c13d49df0e50ecef03090fb02d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): bitwindow/server/engines/deniability_engine.go:624-650 | bitwindow/server/engines/deniability_engine.go:661-689 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/deniability_engine.go"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e0295442b2ddec54fc25d73ec9aed693d0d2093b8795aff4b69212d2fbf10a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): bitassets/lib/widgets/amm_analytics_widget.dart:419-428 | bitassets/lib/widgets/amm_analytics_widget.dart:540-550 \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":"bitassets/lib/widgets/amm_analytics_widget.dart"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2ea25b9b76ddc646fd51c386be1f9bf2a131ce5a7fd5de61234db7628cc4ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): sidechain-orchestrator/api/enforcer_conf_handler.go:25-52 | sidechain-orchestrator/api/sidechain_conf_handler.go:36-58 \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":"sidechain-orchestrator/api/enforcer_conf_handler.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ec0904e0ee52e897447c3739aee4c976ac0ec388da32492a0bd99057db767c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): sidechain-orchestrator/config/bitcoin_config_syncer.go:360-381 | sidechain-orchestrator/config/bitcoin_config_syncer.go:413-428 \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":"sidechain-orchestrator/config/bitcoin_config_syncer.go"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffa1297cbc9ab55815ccf8a79c8ff73d4961fde6e54a66f81b2ba5c9a60f84e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): bitassets/lib/pages/tabs/asset_explorer_page.dart:578-605 | bitwindow/lib/pages/wallet/timestamp_detail_page.dart:199-224 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/asset_explorer_page.dart"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e24070e4bee18080c4a54becf05a1f2d84acd4df1a22a2eac8d7b0f3e6e7a8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): sail_ui/lib/pages/bitcoin_conf_editor_page.dart:99-116 | sail_ui/lib/pages/enforcer_conf_editor_page.dart:125-142 \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":"sail_ui/lib/pages/bitcoin_conf_editor_page.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f6300b767207bed23fc741f9c972ee791bb61045ef575c08bea01e15e45eb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): sail_ui/lib/widgets/config_editor/configurator_panel.dart:322-348 | sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart:249-271 \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":"sail_ui/lib/widgets/config_editor/configurator_panel.dart"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b8bf4455c63a8ea396dcbe88d47afd3a7364dac23280dc5d9d509ec9c809fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): sidechain_core/lib/rpcs/bitwindow_api.dart:348-367 | sidechain_core/lib/rpcs/enforcer_rpc.dart:234-258 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa786e0773c518838309327483438aae4492e4c47da2627d55ffe325a86a817f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): bitwindow/server/api/multisig/multisig.go:34-50 | bitwindow/server/api/multisig/multisig.go:179-195 | bitwindow/server/api/walletpsbt/walletpsbt.go:32-51 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/api/multisig/multisig.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d4e9890f685f359d5a9f4eb8a2bbfb8b6889ca4261629f48ea5b99b83e1370"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): bitwindow/lib/widgets/hash_calculator_modal.dart:197-218 | bitwindow/lib/widgets/hash_calculator_modal.dart:367-383 \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":"bitwindow/lib/widgets/hash_calculator_modal.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd21336704f65f1dce53cbd0d11351470e634914140c58389b2f94747ce9924d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): sidechain-orchestrator/api/stratum_handler.go:472-486 | sidechain-orchestrator/stratum/poolblocks.go:86-104 \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":"sidechain-orchestrator/api/stratum_handler.go"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b9aa2bec3a9af700663c231446dd47aba5cd87cb5e630e3bdf3a349c00d8c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): sidechain-orchestrator/sidechain/zside/history.go:116-141 | sidechain-orchestrator/sidechain/zside/history.go:144-164 \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":"sidechain-orchestrator/sidechain/zside/history.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"389bcd27a5d0337d790ca9907a64a43c17bc9a5c0a7678353857f07940b06d8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): sail_ui/lib/widgets/core/sail_text.dart:157-183 | sail_ui/lib/widgets/core/sail_text.dart:185-208 \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":"sail_ui/lib/widgets/core/sail_text.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ca70b42165931d8e96ca7fa1861536bc254288cd7d2428e2c2219e75ea8bfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): sail_ui/lib/routing/node_mode_guard.dart:20-43 | sail_ui/lib/routing/wallet_guard.dart:22-48 \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":"sail_ui/lib/routing/node_mode_guard.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ebff6e58565c1dbddf9a08b3b05eea588e2edc43cdc1897270b1237e3058b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): bitwindow/server/api/bitwindowd/bitwindowd.go:1241-1262 | bitwindow/server/engines/deniability_engine.go:707-727 \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":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"40829f4db3979de06e5164f961de65914b142dba64ce9bb7ee14dad3b32edcd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): sidechain-orchestrator/api/orchestrator_handler.go:1000-1018 | sidechain-orchestrator/api/orchestrator_handler.go:1032-1049 \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":"sidechain-orchestrator/api/orchestrator_handler.go"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1d69527279fc3d564aab565d2b14d0156ae494848426267e23a1f7f0c6976b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): sail_ui/lib/pages/sidechains/explorer/explorer_model.dart:110-134 | sail_ui/lib/pages/sidechains/explorer/explorer_model.dart:193-214 \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":"sail_ui/lib/pages/sidechains/explorer/explorer_model.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7e02bfd59a90f8a6a085069d1b0fe7135ad0ddb25bbcc5badf7f242ea57dbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): sidechain-orchestrator/walletfile/lock_unix.go:14-27 | sidechain-orchestrator/walletfile/lock_windows.go:14-28 \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":"sidechain-orchestrator/walletfile/lock_unix.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d9f5cdc0e75e1790d18af5ddc1c0b587a990b5359ca2346b30c3fc0c9fc4db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): bitwindow/lib/widgets/ecash_migration_dialog.dart:273-295 | bitwindow/lib/widgets/ecash_migration_dialog.dart:297-319 \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":"bitwindow/lib/widgets/ecash_migration_dialog.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81caa1c89daed739775909e2b6db5529245b8ea9e382233a3a3a771707e6ada"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): bitwindow/server/api/enforcer/enforcer.go:99-120 | dc-hub/server/api/validator/api_validator.go:206-226 \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":"bitwindow/server/api/enforcer/enforcer.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36f58d1282bd2645e318cdeeafa8f3708386ad05a0628cd514382890d1647ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): sidechain-orchestrator/corewalletfile/convert.go:718-734 | sidechain-orchestrator/walletfile/walletfile.go:260-276 \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":"sidechain-orchestrator/corewalletfile/convert.go"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81066e8e89e03c73919306a7f7cd65306358052c6612b2446929bbe1e889d2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): sidechain_core/lib/rpcs/bitwindow_api.dart:1676-1698 | sidechain_core/lib/rpcs/bitwindow_api.dart:1767-1785 \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":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":1676}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb9e7f93217fd67c57febac82f61fe9845ee73f22a9c3ae1f9b39b5367f618b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): zside/lib/pages/tabs/zside/zside_transfer_page.dart:181-199 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:216-234 \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":"zside/lib/pages/tabs/zside/zside_transfer_page.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bd6720ecd2e87a78a21c50fef78c97359bd9409f5ec89b3ccf51b015d927d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): bitwindow/lib/pages/sidechain_activation_management_page.dart:214-236 | bitwindow/lib/pages/sidechain_activation_management_page.dart:343-385 \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":"bitwindow/lib/pages/sidechain_activation_management_page.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"888bf95c49faa58450a596c3ecf37d53c8eb54c3fdb9101bb7a4ac23718d7b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): bitwindow/server/models/cheques/cheques.go:152-163 | bitwindow/server/models/cheques/cheques.go:165-176 \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":"bitwindow/server/models/cheques/cheques.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"605b4903c0204e912f2d8b84801492e68a94d9b71a49fc903d214e3be31c40eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): sidechain-orchestrator/blockfile/convert.go:241-259 | sidechain-orchestrator/corewalletfile/convert.go:348-363 \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":"sidechain-orchestrator/blockfile/convert.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f707a829acdaac647596642bb874cbb66b452570562b5a49ee7fd4d2a837391"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): bitwindow/lib/pages/message_signer.dart:54-72 | bitwindow/lib/pages/message_signer.dart:141-164 \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":"bitwindow/lib/pages/message_signer.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13e4a2bbb39d37908ecefade3c713090efcd1e5f978a396b711f645e47334b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): sail_ui/lib/widgets/config_editor/actual_config_panel.dart:35-54 | sail_ui/lib/widgets/enforcer_config_editor/actual_config_panel.dart:35-54 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/config_editor/actual_config_panel.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f800ee4cea5512a87ea57dda66a3c79017a900d35cb21f02cc5ad4ef1c18272a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): bitwindow/server/service/service.go:132-150 | sidechain-orchestrator/wallet/service.go:127-144 \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":"bitwindow/server/service/service.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf99305d8ba8583ad08b98e6e99a120823f8e1cd9b68fd1789138e8fa811deff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): sidechain-orchestrator/api/wallet_handler.go:931-942 | sidechain-orchestrator/api/wallet_handler.go:946-957 \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":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ad6976cf66c118632e1ceaedb7c81d5ac5d48e09e93eeb35ad1123b95a273f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): sidechain-orchestrator/sidechain/bitassets/handler.go:86-99 | sidechain-orchestrator/sidechain/bitnames/handler.go:81-94 \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":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d684a93c43c625c0185a865079c06307ffb26dfea0c447239de0c0def1434b4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): sidechain-orchestrator/wallet/bip47state/store.go:117-137 | sidechain-orchestrator/wallet/bip47state/store.go:142-167 \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":"sidechain-orchestrator/wallet/bip47state/store.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f587787906bcb44b20972b51e3b5b59c2e3063beae66c0534822db70abef59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): sidechain-orchestrator/api/bid_source_core.go:154-168 | sidechain-orchestrator/api/bmm_frozen.go:175-187 \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":"sidechain-orchestrator/api/bid_source_core.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa1d387d0a253975300b054127bc7362cbd2f977a0599d82ee15d56fe9a1046"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): sidechain-orchestrator/api/bmm_cancel.go:148-163 | sidechain-orchestrator/wallet/core_rpc.go:808-823 \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":"sidechain-orchestrator/api/bmm_cancel.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"86114292a33190ffa9bd6fd8e1a26bab7e0d128079a3fc479f98dd15cf5ca7fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): bitassets/lib/pages/tabs/reserve_register_page.dart:601-621 | bitnames/lib/pages/tabs/reserve_register_page.dart:657-677 \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":"bitassets/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9275071b3a0cd5fc0df70563d32e753e3cca3c1113f0049d937d9802b52c92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:546-568 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:387-413 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:576-598 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zside/lib/pages/tabs/zside/zside_melt_cast_page.dart"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"116b93f0aaf9094785bf4c366b8643a2d86513421cee41bdb0ea57254b2e2dc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): sidechain-orchestrator/api/explorer_core.go:163-176 | sidechain-orchestrator/sidechain/mempool.go:169-182 \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":"sidechain-orchestrator/api/explorer_core.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"239925cb109cdc022a736bebc47cb9480d1a962f603a056dbc55c8fe71589b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): sidechain-orchestrator/engines/bmmstate/store.go:108-121 | sidechain-orchestrator/engines/bmmstate/store.go:252-265 \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":"sidechain-orchestrator/engines/bmmstate/store.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fc96e508c5dcc56d11b5da23be6946f7691a13e799e63eb39b4aebaf2f8d0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): sidechain-orchestrator/replay/replay.go:52-67 | sidechain-orchestrator/wallet/core_backend.go:1248-1262 \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":"sidechain-orchestrator/replay/replay.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71112ec12ace7994f0a8c34dbe602c146b633fdc4cdac64ebc98c3279b2aee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): bitassets/lib/bitassets_module.dart:76-105 | bitnames/lib/bitnames_module.dart:55-81 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/bitassets_module.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"874e6199448476886fadd37bde8bb1318ab97fb12921ab9ff0db69c4ae7935ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): sidechain-orchestrator/wallet/core_rpc.go:345-365 | sidechain-orchestrator/wallet/core_rpc.go:369-390 \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":"sidechain-orchestrator/wallet/core_rpc.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5cb7c00223d56ad1692e1e382be9511cdd13a56e7eb3c2bdc5ad12551427d1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): bitwindow/lib/providers/bitdrive_provider.dart:221-242 | bitwindow/lib/providers/bitdrive_provider.dart:244-264 \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":"bitwindow/lib/providers/bitdrive_provider.dart"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6130cabad50be314a687b960ad4c00cb807d48e6d0802a6b88f65e1037c850"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): coinshift/lib/widgets/swap_scheduler_widget.dart:11-41 | sail_ui/lib/pages/sidechains/bmm_tab.dart:174-199 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinshift/lib/widgets/swap_scheduler_widget.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d73e188c9a73ebd4a82f1352cc4c945157b8a57a1d6588286ed9890584a7066"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): sidechain-orchestrator/engines/bmmstate/store.go:89-106 | sidechain-orchestrator/wallet/bip47state/inbound.go:62-83 | sidechain-orchestrator/wallet/bip47state/store.go:53-74 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/engines/bmmstate/store.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"72409775834bc88612d27e36c3cced62da0debcfe76461086ba820471d2038ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): bitwindow/lib/pages/wallet/wallet_overview.dart:657-673 | bitwindow/lib/pages/wallet/wallet_receive.dart:509-529 \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":"bitwindow/lib/pages/wallet/wallet_overview.dart"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"658c122745f6b5057392d9966117ff4e2358f73e74a9ba395d8b501be2b448a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): bitassets/lib/pages/tabs/auction_browser_page.dart:483-492 | bitassets/lib/widgets/amm_analytics_widget.dart:430-439 | bitassets/lib/widgets/transaction_history.dart:242-251 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/auction_browser_page.dart"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89f18ec70e6449b6378dc44c4f22adf498867c2b9c7510b7ccd10dc5ab0b334"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): bitwindow/server/dial/dial.go:98-115 | bitwindow/server/dial/dial.go:122-139 | bitwindow/server/dial/dial.go:160-182 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/dial/dial.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eae512ca18a32c1c5e5150974219b6ea26b9356acc8aa65760819c4b562755f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): sidechain-orchestrator/download.go:818-836 | sidechain-orchestrator/download.go:906-926 \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":"sidechain-orchestrator/download.go"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bd02c559b247b9363e33dd22f73a38e8227fe908f920abb8622d0569fea457"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): sidechain-orchestrator/sidechain/truthcoin/handler.go:283-296 | sidechain-orchestrator/sidechain/truthcoin/handler.go:346-363 | sidechain-orchestrator/sidechain/truthcoin/handler.go:365-383 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 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":"sidechain-orchestrator/sidechain/truthcoin/handler.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"c604f7fd36da2f310b22b0c6a52f6743397732621bdabfb776fed9f112c80220"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 19\u002B corresponding lines): sail_ui/lib/shell/sidechain_conf_editor_viewmodel.dart:48-66 | sail_ui/lib/viewmodels/bitcoin_config_editor_viewmodel.dart:56-75 | sail_ui/lib/viewmodels/bitcoin_config_editor_viewmodel.dart:94-123 | sail_ui/lib/viewmodels/enforcer_config_editor_viewmodel.dart:48-66 | sail_ui/lib/viewmodels/enforcer_config_editor_viewmodel.dart:84-109 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/shell/sidechain_conf_editor_viewmodel.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb734d1c415f95256f976c5dcb7c9fe656021e2598894bfc094e9d6a91ffd676"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): sidechain-orchestrator/config/enforcer_conf.go:170-184 | sidechain-orchestrator/config/enforcer_conf.go:264-277 | sidechain-orchestrator/config/sidechain_conf.go:351-364 | sidechain-orchestrator/config/sidechain_conf.go:475-488 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/config/enforcer_conf.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61da7ebf24f4600a6afa8fbd7db2f5dc82fdf07e4b0ebb0d5ea727e31ee2d8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): sidechain-orchestrator/config/enforcer_conf.go:583-601 | sidechain-orchestrator/config/sidechain_conf.go:599-615 \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":"sidechain-orchestrator/config/enforcer_conf.go"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d07cfd25635ac636700cc4f2c373fe7e44d01328f2fcdb59b4a0f66ce3ce1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): sidechain_core/lib/rpcs/coinshift_rpc.dart:373-395 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:725-749 \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":"sidechain_core/lib/rpcs/coinshift_rpc.dart"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6a430acfd931328de711e20fd81db734d726948948f1363aa1039c58d3eed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): sidechain_core/lib/models/enforcer_config.dart:95-117 | sidechain_core/lib/models/generic_app_config.dart:72-91 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/models/enforcer_config.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c1fb5f6e7c45492dd05fab91decd2d44080f5f6bcbddca0f31ead3f137859c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sidechain-orchestrator/api/ecash_migration_handler.go:12-22 | sidechain-orchestrator/api/ecash_migration_handler.go:24-34 \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":"sidechain-orchestrator/api/ecash_migration_handler.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bddf3f6ea61afd9a1712eb155b824e319b9a34cb371a9406f15e23dd46b6b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): sidechain-orchestrator/blockfile/convert.go:200-217 | sidechain-orchestrator/corewalletfile/convert.go:240-257 \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":"sidechain-orchestrator/blockfile/convert.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"a018cb702ec9b9d67a93fb6a0bfc42c42a25bbbce07613b3e3ee39e763c55d79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): bitwindow/lib/pages/settings/settings_network.dart:121-137 | bitwindow/lib/pages/settings/settings_network.dart:139-156 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/settings/settings_network.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f583b0008398bb33f74b85d05aba00214485a59872b66ca07a87acbb3f3fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): sidechain_core/lib/rpcs/bitassets_rpc.dart:402-410 | sidechain_core/lib/rpcs/bitnames_rpc.dart:340-348 \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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"e594d29f2bf6f3af161442329b3297f798b1f1f1eb9502da2fa62a256ab0f619"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): coinnews/server/api/api.go:30-40 | coinnews/server/api/api.go:42-52 | coinnews/server/api/api.go:99-114 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/server/api/api.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e749437dc698d110da41e44245681387d6ff187c5aae58e2ff5014052e4bc898"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): sidechain-orchestrator/api/bid_source_core.go:170-182 | sidechain-orchestrator/api/bid_source_core.go:192-204 \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":"sidechain-orchestrator/api/bid_source_core.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffc679f865139bb83831d66b3b97bf24972d7c1f5ca004253b796b09fdc26c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): bitwindow/lib/widgets/address_list.dart:42-62 | bitwindow/lib/widgets/address_list.dart:64-83 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/address_list.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e27d42ab9ef273e5c75f65a62d2f38858663d2ba6f2a1f88b3a11fd2e17b628"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 19\u002B corresponding lines): sail_ui/lib/widgets/core/sail_text.dart:42-62 | sail_ui/lib/widgets/core/sail_text.dart:64-83 | sail_ui/lib/widgets/core/sail_text.dart:85-104 | sail_ui/lib/widgets/core/sail_text.dart:106-125 | sail_ui/lib/widgets/core/sail_text.dart:263-281 | sail_ui/lib/widgets/core/sail_text.dart:347-366 | sail_ui/lib/widgets/core/sail_text.dart:368-387 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/core/sail_text.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"805e9ab90748ea9f8c845c0cbaffb02eb123c2ec43cad18f7e7278f88103f5d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): sidechain_core/lib/rpcs/bitwindow_api.dart:174-187 | sidechain_core/lib/rpcs/enforcer_rpc.dart:205-222 \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":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"753475ad366c5e265e3ee5ccc0102311bbf40824828796dcac993d8e16d7ea28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sidechain-orchestrator/sidechain/bitassets/handler.go:250-260 | sidechain-orchestrator/sidechain/bitnames/handler.go:231-241 \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":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4af534df753c30c1bdd95741183d992f7498320af8c0863c357a6a664e0f00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): sidechain_core/lib/rpcs/bitassets_rpc.dart:470-478 | sidechain_core/lib/rpcs/bitassets_rpc.dart:490-498 | sidechain_core/lib/rpcs/bitnames_rpc.dart:589-597 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"5946ab5f36371b2ec3e6e1d7127256b53b8467ea9ee3f952203e34d7aad9762a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): sidechain_core/lib/rpcs/coinshift_rpc.dart:417-426 | sidechain_core/lib/rpcs/coinshift_rpc.dart:428-437 \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":"sidechain_core/lib/rpcs/coinshift_rpc.dart"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"412bf430caa42da3472a4bdc376eb7e308b4a256e5965ee16bdb7366d986b479"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): bitwindow/server/engines/wallet_engine.go:384-400 | bitwindow/server/engines/wallet_engine.go:740-762 \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":"bitwindow/server/engines/wallet_engine.go"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cdcb99d494f0c999f44edb12f24b94ed2edf473cbc0e5911e6ec6a72880d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): bitwindow/lib/pages/wallet/widgets/utxo_distribution_chart.dart:45-68 | bitwindow/lib/widgets/ecash_upgrade_banner.dart:379-397 \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":"bitwindow/lib/pages/wallet/widgets/utxo_distribution_chart.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1757ffdf7e9a7cf12c5feb2b8172fbb3e507df1ca969af2ed90f581a7456fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): bitwindow/lib/providers/check_provider.dart:117-141 | bitwindow/lib/providers/timestamp_provider.dart:48-65 \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":"bitwindow/lib/providers/check_provider.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"daba36c12e9ed900207901eaaca97d262dd8cf025edc21943a65b7f1aa099cc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): sail_ui/lib/widgets/core/sail_shadow.dart:16-45 | sail_ui/lib/widgets/core/sail_shadow.dart:60-87 \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":"sail_ui/lib/widgets/core/sail_shadow.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"196b980e4608052236a2e7af005be6fbd1de6a6b6e9e011400f5eec1d1e50c40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): bitwindow/server/service/service.go:57-71 | dc-hub/server/connector/connector.go:49-66 \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":"bitwindow/server/service/service.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfe85de8b1d5fd5378d3874333fb9f77aed259bf26095e14bb9e16fad4d4959"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): sidechain-orchestrator/engines/deposit_watch_engine.go:152-162 | sidechain-orchestrator/engines/deposit_watch_engine.go:165-174 \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":"sidechain-orchestrator/engines/deposit_watch_engine.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f4e59cdaf5731dbfdefddde775d13038bf3e66ee48b1aed30560dbb46800d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sidechain-orchestrator/stratum/work.go:148-154 | sidechain-orchestrator/stratum/work.go:156-165 \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":"sidechain-orchestrator/stratum/work.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"167f25d32f39f6c1f0845af20f555f42acf0d4c768d7eb31cbe466a6d8ff3915"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): sidechain-orchestrator/wallet/service.go:858-867 | sidechain-orchestrator/wallet/service.go:872-883 \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":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d4a6709caf51668ebfec7909fcc6256d83db6d469beaf0f64c64ede67eb018"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): bitassets/lib/pages/tabs/auction_browser_page.dart:501-516 | bitwindow/lib/widgets/tx_flow_diagram.dart:260-271 | coinshift/lib/widgets/swap/swap_status_badge.dart:10-27 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/auction_browser_page.dart"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad711c7a3977b6474bab564a937605081136ab16eb32e6550d7cd0093ebbbd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): bitwindow/lib/widgets/ecash_migration_dialog.dart:236-251 | bitwindow/lib/widgets/ecash_migration_dialog.dart:253-271 \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":"bitwindow/lib/widgets/ecash_migration_dialog.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d913391d040f7d50cd247d3fc10ab7adddb3bdf76d83e05e85a7c6af09b2223"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): bitwindow/lib/widgets/peers_table_widget.dart:109-128 | bitwindow/lib/widgets/traffic_graph_widget.dart:53-72 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/peers_table_widget.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f98c92ec62611d92b88be09ec715784931f35bb0d02fbd0a92498f3c4b2599"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): sail_ui/lib/widgets/feedback/sail_toast.dart:248-261 | sail_ui/lib/widgets/feedback/sail_toast.dart:263-276 \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":"sail_ui/lib/widgets/feedback/sail_toast.dart"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9561728cae20ded5587e3a175254769c72fb59ef66cfcfc71f2cf2b70b4972f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): sidechain_core/lib/rpcs/truthcoin_rpc.dart:835-852 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:860-877 \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":"sidechain_core/lib/rpcs/truthcoin_rpc.dart"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9aa1cb1f499adec37f857ec9201bb9fe75ec192f505ecb9f026c345c902d91b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): bitwindow/server/api/wallet/wallet.go:1062-1082 | bitwindow/server/api/wallet/wallet.go:1085-1105 \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":"bitwindow/server/api/wallet/wallet.go"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"437428794db33f6f3cfe60fc9e5d5f9f0faaefbe60294558f4c450e71c0399e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): bitwindow/server/engines/deniability_engine.go:42-64 | bitwindow/server/engines/notification_engine.go:75-93 \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":"bitwindow/server/engines/deniability_engine.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e4cc96fc075d8e3b73c6dfda68fda2c0f6e0b72695163a986c1615bc6122bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): sidechain-orchestrator/engines/bmm_engine.go:485-503 | sidechain-orchestrator/engines/wallet_sync_engine.go:56-73 \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":"sidechain-orchestrator/engines/bmm_engine.go"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d74f86cd908dd905054cbb9c6b053ea4d43340a7301995eff585d372bbcf529"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): sidechain-orchestrator/wallet/scancache.go:315-326 | sidechain-orchestrator/wallet/scancache.go:332-344 | sidechain-orchestrator/wallet/scancache.go:347-358 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/scancache.go"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a11f3b9a96b52e790bbfb0868278e71420ae88fc895b02363c13a7ee6cf943"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): sail_ui/lib/routing/network_guard.dart:14-33 | sail_ui/lib/routing/password_guard.dart:14-41 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/routing/network_guard.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e898a198ce9ff106f1b78df3499e618bb779f4f1b01b11444c9855952c28c280"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): bitwindow/server/api/bitwindowd/bitwindowd.go:351-361 | bitwindow/server/api/bitwindowd/bitwindowd.go:366-376 | bitwindow/server/api/bitwindowd/bitwindowd.go:381-391 | bitwindow/server/api/bitwindowd/bitwindowd.go:525-535 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a745b2fa406bb1b84d4d14e5d0ff3efa5ea9639c0fb71ca9a6a7dca213c9dbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): coinnews/server/scanner/client.go:33-43 | sidechain-orchestrator/config/bitcoin_conf.go:269-279 | sidechain-orchestrator/wallet/ecx_burn_core.go:17-27 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/server/scanner/client.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2a247febe9649a123200cba14aa7a9777d25a5064dbf177baf6427fcbc41b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): sidechain_core/lib/models/enforcer_config.dart:57-77 | sidechain_core/lib/models/generic_app_config.dart:40-54 \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":"sidechain_core/lib/models/enforcer_config.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"206eb7b799060f742466baf7dfcbefe34cd8b85216b9452aabb85c3c9e690f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): sidechain-orchestrator/api/wallet_handler.go:2469-2478 | sidechain-orchestrator/api/wallet_handler.go:2480-2489 \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":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":2469}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f6cd6460d3170e8536f4e9b78b913e124860dbe0331ed222146c52ebfe59fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): bitwindow/lib/services/chat_file_storage.dart:139-153 | bitwindow/lib/services/chat_file_storage.dart:155-170 \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":"bitwindow/lib/services/chat_file_storage.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9f327105b31e362f6afcfa3bb47aa4c12eee4cfe9afcd636a703fc2ae011fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): sail_ui/lib/theme/theme_data.dart:24-39 | sail_ui/lib/theme/theme_data.dart:41-56 \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":"sail_ui/lib/theme/theme_data.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa9762a8e755e280cc0c45c2b2349d3279253efe865d80c589f66dd7ab86ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): sidechain-orchestrator/api/bid_source_wallet.go:24-36 | sidechain-orchestrator/api/bid_source_wallet.go:183-192 \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":"sidechain-orchestrator/api/bid_source_wallet.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"467cec6f43b0800d0ca1a48f602ce35dbd2d403b73c3483a8522d43c17fce18b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): bitwindow/lib/widgets/draft_panel.dart:135-151 | bitwindow/lib/widgets/import_descriptor_dialog.dart:40-59 \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":"bitwindow/lib/widgets/draft_panel.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"67926e5b7759d7fc3e4d7393cfb40218473ede6ab33d0226c03343d3a69bdd06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): sidechain-orchestrator/api/bmm_handler.go:248-256 | sidechain-orchestrator/api/bmm_handler.go:260-268 \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":"sidechain-orchestrator/api/bmm_handler.go"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c05d666986d3621cd6b3b724e4b19f263fc86471d916ae4e84e08a708c58f90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): sidechain-orchestrator/engines/bmmstate/store.go:155-169 | sidechain-orchestrator/engines/bmmstate/store.go:172-183 | sidechain-orchestrator/engines/bmmstate/store.go:203-218 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/engines/bmmstate/store.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ded029893a8e2cc7c4023ee23df3c0f01ac247035a4da903d3c9d8b3d83522"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sidechain-orchestrator/sidechain/truthcoin/handler.go:558-565 | sidechain-orchestrator/sidechain/truthcoin/handler.go:584-591 \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":"sidechain-orchestrator/sidechain/truthcoin/handler.go"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac04a4e16a38b996f1ccd3bc80ee4a206a25f7a1acca9ffb07ff217df80b198b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sidechain_core/lib/rpcs/coinshift_rpc.dart:212-222 | sidechain_core/lib/rpcs/coinshift_rpc.dart:230-240 \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":"sidechain_core/lib/rpcs/coinshift_rpc.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3842c0c70baab06bcfa5685601cfacc2d03ab10c7a00582d424475ac0a7b99bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): sidechain-orchestrator/api/orchestrator_handler.go:384-396 | sidechain-orchestrator/api/wallet_handler.go:700-709 \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":"sidechain-orchestrator/api/orchestrator_handler.go"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc12145236afd13e06be3453e2a983c1b70d4b739e5bf7853e7b4c0f1706ec11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): bitwindow/lib/pages/wallet/timestamp_detail_page.dart:168-184 | bitwindow/lib/pages/wallet/timestamp_detail_page.dart:235-251 \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":"bitwindow/lib/pages/wallet/timestamp_detail_page.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecf1e561c45207491e9c235f2e84a0167f89497ae4d159729689f213e756b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): sail_ui/lib/shell/sidechain_conf_editor_viewmodel.dart:68-81 | sail_ui/lib/viewmodels/bitcoin_config_editor_viewmodel.dart:77-92 | sail_ui/lib/viewmodels/enforcer_config_editor_viewmodel.dart:68-82 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 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":"sail_ui/lib/shell/sidechain_conf_editor_viewmodel.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a6be87ef0621bb2f213daa28088481cc3db7c35cfae1d50fc6d06b2200d8ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sidechain_core/lib/config/binaries.dart:1286-1299 | sidechain_core/lib/providers/sync_provider.dart:472-482 \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":"sidechain_core/lib/config/binaries.dart"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef914534f42e275f2ec43c2926df9de8b5982a6db1f3e2a4d6b835265fae2d5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): sidechain_core/lib/providers/core_variant_provider.dart:33-48 | sidechain_core/lib/providers/electrum_server_provider.dart:27-40 | sidechain_core/lib/providers/tor_config_provider.dart:27-40 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 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":"sidechain_core/lib/providers/core_variant_provider.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"666fca68ce2eabdde81f8a2bdde4ed654ca3a48c2b8331600c911014d0b219f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): sidechain_core/lib/providers/window_provider.dart:257-273 | sidechain_core/lib/providers/window_provider.dart:291-303 \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":"sidechain_core/lib/providers/window_provider.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87b1f49a7478a38d1d569519f9ba921b61adc582f39ffa92c2007b891578c2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): bitwindow/server/models/multisig/multisig.go:304-317 | bitwindow/server/models/multisig/multisig.go:328-342 | bitwindow/server/models/multisig/multisig.go:474-487 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 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":"bitwindow/server/models/multisig/multisig.go"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"4562cb8065171d7d399b0f382a1140c940b051be42124e446c9609090202f09b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): bitwindow/lib/widgets/burn_ecx_card.dart:408-417 | bitwindow/lib/widgets/fork_mode_banner.dart:397-406 \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":"bitwindow/lib/widgets/burn_ecx_card.dart"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48327d029b687466461d2dc32683d3b59246e55aa0ebbbf621bd8edb57d3a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): sidechain_core/lib/providers/window_provider.dart:224-237 | sidechain_core/lib/providers/window_provider.dart:246-255 \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":"sidechain_core/lib/providers/window_provider.dart"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ced1e3d308cd619b8796c65bdf2d515f2c785d6d7ac7fa96477d55d86983a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): sidechain_core/lib/rpcs/bitassets_rpc.dart:537-553 | sidechain_core/lib/rpcs/bitnames_rpc.dart:649-665 \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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde60491b2cbe8cb7bc3cb7a2ae83b0c0c7da3cadfb5b36c35728faf490fd89b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): sidechain_core/lib/rpcs/bitassets_rpc.dart:960-967 | sidechain_core/lib/rpcs/bitnames_rpc.dart:745-752 | sidechain_core/lib/rpcs/bitnames_rpc.dart:853-862 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"1494599911debdb687cfd3c8b84f9b77ef0f55f888c7f528bba7a4c3fead4a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sidechain_core/lib/rpcs/bitwindow_api.dart:1886-1896 | sidechain_core/lib/rpcs/bitwindow_api.dart:1898-1908 \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":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9ba85522f44385ae414d1e0da7dfa40c2e9e482b7a36ac9a80b18c98a2505c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): bitwindow/server/api/bitdrive/bitdrive.go:38-53 | bitwindow/server/api/bitdrive/bitdrive.go:193-206 \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":"bitwindow/server/api/bitdrive/bitdrive.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f07abe38a91512f27a32d256d911322853c8a67499f0521b9f9899ba9136d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): bitwindow/server/api/enforcer/enforcer.go:132-145 | bitwindow/server/api/enforcer/enforcer.go:350-363 | dc-hub/server/api/validator/api_validator.go:124-136 | dc-hub/server/api/validator/api_validator.go:139-151 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/api/enforcer/enforcer.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f4171268602031016b19519815d0304dfb306703932559061d144310c3522d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): sidechain-orchestrator/api/sidechain_conf_handler.go:60-71 | sidechain-orchestrator/api/sidechain_conf_handler.go:73-84 \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":"sidechain-orchestrator/api/sidechain_conf_handler.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1a2f7f5126b1258c9d8703877f10d6daa33f93e24b8a6d05ff27acd6593b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sidechain-orchestrator/sidechain/coinshift/handler.go:293-304 | sidechain-orchestrator/sidechain/coinshift/handler.go:334-344 \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":"sidechain-orchestrator/sidechain/coinshift/handler.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afcce96bdbb78e9935dcd15a1a9147c33238ca3f723ed10f5b21b7ac1c77245"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 14\u002B corresponding lines): sidechain-orchestrator/sqliteguard/sqliteguard.go:173-186 | sidechain-orchestrator/sqliteguard/sqliteguard.go:188-201 | sidechain-orchestrator/sqliteguard/sqliteguard.go:203-216 | sidechain-orchestrator/sqliteguard/sqliteguard.go:229-242 | sidechain-orchestrator/sqliteguard/sqliteguard.go:282-295 | sidechain-orchestrator/sqliteguard/sqliteguard.go:297-310 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sqliteguard/sqliteguard.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec3010ebc42d27619f39c5c1ecf9cc9ea487c0137ecc891317bbd3cef7f8539"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): sail_ui/lib/widgets/debug/sidechain_debug_window.dart:97-111 | sail_ui/lib/widgets/debug/sidechain_debug_window.dart:400-414 \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":"sail_ui/lib/widgets/debug/sidechain_debug_window.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"719557055f07204fd9d8a7cfc9c60a1d3880464bec88745751a995d0d63186c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): bitwindow/server/models/addressbook/addressbook.go:65-77 | sidechain-orchestrator/wallet/electrum_backend.go:586-601 \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":"bitwindow/server/models/addressbook/addressbook.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f115cb0a59223cd8efe5d3e96f7fe08ed71f49127f054cc81814aa1629f1e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): truthcoin/lib/models/voting.dart:178-185 | truthcoin/lib/models/voting.dart:299-306 \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":"truthcoin/lib/models/voting.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d21720667d940c3804174b6547411e2759850a7d6c484f1cb2bf566a8cd04aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sidechain-orchestrator/sidechain/bitassets/handler.go:382-390 | sidechain-orchestrator/sidechain/truthcoin/handler.go:653-660 \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":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f352cd479dc5f789a529593a9fb6e24d3d769d2beaa02d59d24200e3395bf82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): sidechain-orchestrator/wallet/deposits.go:96-111 | sidechain-orchestrator/wallet/deposits.go:115-128 \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":"sidechain-orchestrator/wallet/deposits.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f8a6a8043cc372aa26fb4e6349053105e22840073aca4bf7cf57ad4b4e3810"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): sidechain_core/lib/rpcs/bitassets_rpc.dart:342-350 | sidechain_core/lib/rpcs/bitnames_rpc.dart:269-277 \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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"4416ff3efd07775b54d601a7f380649974884aa827b211e4ecc55248e8fde1f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sidechain-orchestrator/commands/commands.go:113-123 | sidechain-orchestrator/commands/wallet.go:27-37 \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":"sidechain-orchestrator/commands/commands.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f4c9837f29a0a62a5c4c8b2f3b51757dc9d7c18d61eaee94d10a4db9c6a510"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): sidechain-orchestrator/corewalletfile/convert.go:671-682 | sidechain-orchestrator/ecash_migration.go:713-724 | sidechain-orchestrator/snapshot.go:564-575 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/corewalletfile/convert.go"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"77062894601e4df8d9985a3285af9265a9b869f98c2ee990d8a87972d4b05e1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:347-361 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:652-668 | zside/lib/widgets/homepage_widget_catalog.dart:538-552 | zside/lib/widgets/homepage_widget_catalog.dart:880-896 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/sidechains/sidechain_overview_page.dart"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"854f4b6c5dda6ef14469c726a437732ee187abbd856009209f9927b5effbd3f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): sidechain_core/lib/rpcs/zside_rpc.dart:398-407 | sidechain_core/lib/rpcs/zside_rpc.dart:433-442 \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":"sidechain_core/lib/rpcs/zside_rpc.dart"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"1503a0ac014bb90581fd06d4112a416ce53c958e7290aea0675d02ef3d092d79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): sidechain-orchestrator/orchestrator.go:3101-3114 | sidechain-orchestrator/orchestrator.go:3124-3136 \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":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":3101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1f0364fd13b899e31cc9955ac6cf014edd0f844d8bcfcb6dcf4dfa99280a55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sidechain-orchestrator/sidechain/truthcoin/handler.go:426-436 | sidechain-orchestrator/sidechain/truthcoin/handler.go:535-546 \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":"sidechain-orchestrator/sidechain/truthcoin/handler.go"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"07cfefd77e8871847206e7fe565a6f5f2d16879fdc4869516aa6f1ffc29d51b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sidechain-orchestrator/wallet/core_backend.go:618-632 | sidechain-orchestrator/wallet/core_rpc.go:756-766 \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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8334c9f4d00bec8b635473e766145ff083b99dc73f9a5d53d6909bf7560b10f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sidechain-orchestrator/wallet/core_rpc.go:411-421 | sidechain-orchestrator/wallet/core_rpc.go:426-436 \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":"sidechain-orchestrator/wallet/core_rpc.go"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ad51672c67c1c0c232b3f413904beed67a4b9c9427f319f1ef6eecdfe2b628"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): bitassets/lib/providers/price_alert_provider.dart:58-66 | bitassets/lib/providers/price_alert_provider.dart:68-75 \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":"bitassets/lib/providers/price_alert_provider.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f115333f472eb9369d3f6691325cdceb0baf1dd34b16440672735291263f8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): bitwindow/lib/pages/settings/settings_network.dart:685-701 | bitwindow/lib/widgets/traffic_graph_widget.dart:288-307 \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":"bitwindow/lib/pages/settings/settings_network.dart"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"18178cda8d6090463377732f6a852b0a8791d531bcbac24844468a752cd48ea1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:1023-1044 | bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:1046-1060 \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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c2e3953dcf2b32752d406380921c25a4f5b2cc67fbc8ab806609db6693235a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sidechain_core/lib/rpcs/zside_rpc.dart:409-419 | sidechain_core/lib/rpcs/zside_rpc.dart:421-431 \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":"sidechain_core/lib/rpcs/zside_rpc.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d19f4c4a9b2e1e443ee63deaa91017b4cef2201e3bde913f8bfa83baddbe258"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sidechain_core/lib/settings/secure_store.dart:33-43 | sidechain_core/lib/settings/secure_store.dart:45-55 \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":"sidechain_core/lib/settings/secure_store.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"840f8edb3e3a2319f49fd41038b25c40adf319c03ca0c18d8aae7669b773eac3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:952-974 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:980-1010 \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":"zside/lib/widgets/containers/tabs/zside_tab_widgets.dart"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"401144a2e5852a7f1773041203ee0260953ef99da392634f2596e76d541011f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): bitwindow/server/engines/wallet_engine.go:136-149 | sidechain-orchestrator/stranded_release.go:19-32 \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":"bitwindow/server/engines/wallet_engine.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1de333f30a628182436447479824aa1bb3dc0692868d2cbd59482bff9c2c9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): bitassets/lib/pages/tabs/reserve_register_page.dart:790-801 | bitnames/lib/pages/tabs/reserve_register_page.dart:951-963 \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":"bitassets/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cb3d6539dc7d98fb49a264dc8c7b843102e66678c3adfd86e7caf32353431d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): bitwindow/lib/pages/explorer/widgets/transaction_flow_diagram.dart:126-129 | bitwindow/lib/pages/explorer/widgets/transaction_flow_diagram.dart:132-135 \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":"bitwindow/lib/pages/explorer/widgets/transaction_flow_diagram.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ef73a8e7fa119380ad20e55541dc8326824458a096bebf3a03d00465ea2b8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sidechain_core/lib/rpcs/bbc_rpc.dart:102-109 | sidechain_core/lib/rpcs/coinshift_rpc.dart:125-131 \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":"sidechain_core/lib/rpcs/bbc_rpc.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f990e599d882ecad9053c63fa01d8a14bf9f0374c1bba33d5c4eaf5c75cb7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sidechain_core/lib/rpcs/bitassets_rpc.dart:952-958 | sidechain_core/lib/rpcs/bitnames_rpc.dart:736-743 \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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58c62599324058cfb9186844bc27868cd198d65d7acca8ef31b0c709cb1a3f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): bitwindow/server/engines/wallet_engine.go:216-226 | sidechain-orchestrator/api/explorer_core.go:267-277 \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":"bitwindow/server/engines/wallet_engine.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ef018c3e2396aae1ec1e04ea379a93345e06c23d96ac1e4b090a8476717181"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): bitwindow/server/models/blocks/processed_blocks.go:125-132 | bitwindow/server/models/blocks/processed_blocks.go:136-143 \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":"bitwindow/server/models/blocks/processed_blocks.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3b79e7fa53bde42d5e32ece3265e40b9fa7455ca3f6db26a867b40b47c7655"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 14\u002B corresponding lines): sidechain-orchestrator/orchestrator_settings.go:201-215 | sidechain-orchestrator/orchestrator_settings.go:225-239 | sidechain-orchestrator/orchestrator_settings.go:275-289 | sidechain-orchestrator/orchestrator_settings.go:298-311 | sidechain-orchestrator/orchestrator_settings.go:340-353 | sidechain-orchestrator/orchestrator_settings.go:363-376 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator_settings.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"250495956108b53ac65998db66b98237a001d45ced17dbc7930db985b17e72e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sidechain-orchestrator/sidechain/bitassets/handler.go:418-425 | sidechain-orchestrator/sidechain/bitassets/handler.go:427-434 \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":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94efbe78cc22c8811a16cd2273b85bc7c8b5a09319d59ad2bbb878ef2ddfb40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): sidechain-orchestrator/sidechain/zside/handler.go:29-46 | sidechain-orchestrator/sidechain/zside/node.go:25-37 \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":"sidechain-orchestrator/sidechain/zside/handler.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f455d3a6f11f51ed6a1aae8a3ab06a2f3c826242c8f2333ca691b57c809bcef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): sail_ui/lib/widgets/config_editor/actual_config_panel.dart:90-99 | sail_ui/lib/widgets/enforcer_config_editor/actual_config_panel.dart:90-99 \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":"sail_ui/lib/widgets/config_editor/actual_config_panel.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7024fa66ebfdbe6ba6e6bda5c8db6a0dbb6a895e4658535d8ef7b28e7d9666"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): sidechain_core/lib/rpcs/bitwindow_api.dart:1475-1489 | sidechain_core/lib/rpcs/bitwindow_api.dart:1513-1526 | sidechain_core/lib/rpcs/bitwindow_api.dart:1539-1552 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 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":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6283c5506351ce9efb3aced6ebdcae88a56a39d525365971e9222bac5a93dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): sidechain-orchestrator/cmd/drivechain-cli/main.go:15-29 | sidechain-orchestrator/cmd/drivechaind/main.go:72-152 \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":"sidechain-orchestrator/cmd/drivechain-cli/main.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacbfabe645f30cf7bbe1efeb4f4634fa123f9fabca1cf321c9415c65c817ecc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): sidechain-orchestrator/sidechain/bitassets/handler.go:340-347 | sidechain-orchestrator/sidechain/bitnames/handler.go:304-311 | sidechain-orchestrator/sidechain/truthcoin/handler.go:620-627 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87cba9cc11053f6c9941e40bf2e9e05f0e3885070c31ffa756f24e686b3e90b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): sidechain-orchestrator/sidechain/bitassets/handler.go:349-356 | sidechain-orchestrator/sidechain/bitnames/handler.go:313-320 | sidechain-orchestrator/sidechain/truthcoin/handler.go:611-618 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47ee5b2603e447da6279d7fd8b2b99ee1854d6d29c66955ef066ea5021a4680"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): sidechain-orchestrator/sidechain/bitassets/handler.go:358-365 | sidechain-orchestrator/sidechain/bitnames/handler.go:414-421 | sidechain-orchestrator/sidechain/truthcoin/handler.go:629-636 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66d2641b6e15fa98f27e086d38b4ec7cec9f6e2abb05043da82302f2adf77a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): sidechain-orchestrator/wallet/core_rpc.go:299-310 | sidechain-orchestrator/wallet/core_rpc.go:454-464 | sidechain-orchestrator/wallet/core_rpc.go:546-556 | sidechain-orchestrator/wallet/core_rpc.go:558-568 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/core_rpc.go"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46532bc6e51c2efe91ca7291739180daeb278460533683dbc13eee19892a9e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): photon/lib/widgets/miner_widget.dart:63-76 | photon/lib/widgets/parent_chain_info_widget.dart:67-82 \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":"photon/lib/widgets/miner_widget.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd038ab28dec523ba67fc7014275d69f4554bbfc714b3297d91bdd8a26bdfb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): truthcoin/lib/models/market.dart:22-29 | truthcoin/lib/models/voting.dart:35-42 \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":"truthcoin/lib/models/market.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b79c6f9ea328fa7fb4797e414a1b40646ec38f6cf3b20a69dec660d13dedb90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): bitwindow/server/api/enforcer/enforcer.go:51-59 | dc-hub/server/api/validator/api_validator.go:158-166 \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":"bitwindow/server/api/enforcer/enforcer.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65225325f009c9d7724cfc4003403deed029ed7fa3b0abca783ca1fda2ef4b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): sidechain-orchestrator/platform_unix.go:122-141 | sidechain-orchestrator/platform_unix.go:144-162 | sidechain-orchestrator/platform_windows.go:140-153 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 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":"sidechain-orchestrator/platform_unix.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0dc7e751502b6e14c86099a2407df7031b3467b3f1a2543373e1f75bcaf4435"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): sidechain-orchestrator/sidechain/zside/node.go:54-64 | sidechain-orchestrator/wallet/core_rpc.go:192-202 | sidechain-orchestrator/wallet/core_rpc.go:876-886 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/zside/node.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ac29186a95dcda2aec89ec6d097d8e8566a8e9ac379acf3e59ae379add2233"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): sidechain-orchestrator/wallet/network_chain_source.go:302-314 | sidechain-orchestrator/wallet/network_chain_source.go:317-329 \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":"sidechain-orchestrator/wallet/network_chain_source.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"61291ab7b8502cd513e14b405276a62f46f10409d3fea1188b76c30657994d3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): bitassets/lib/providers/bitassets_provider.dart:78-90 | sidechain_core/lib/providers/sidechain/address_provider.dart:34-48 \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":"bitassets/lib/providers/bitassets_provider.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ad98dd23946467e3f8132b2895d32cf20d41fa55ed8651f24cb695a4f1c826"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): photon/lib/pages/tabs/block_explorer_page.dart:231-241 | photon/lib/pages/tabs/block_explorer_page.dart:291-301 \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":"photon/lib/pages/tabs/block_explorer_page.dart"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bd308a5cd89184451a175c63e81872481e3549e57f84d1a3d75f1642b00d03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): sidechain_core/lib/classes/rpc_connection.dart:168-182 | sidechain_core/lib/mocks/mocks.dart:259-274 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/classes/rpc_connection.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"87798c1368a4bb9e4dba90ce87851c6d8ecc2bc33449079583934de85ca146e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): bitwindow/server/models/bitdrive/bitdrive.go:127-137 | bitwindow/server/models/blocks/processed_blocks.go:18-28 | bitwindow/server/models/multisig/multisig.go:392-402 | bitwindow/server/models/timestamps/timestamps.go:151-161 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/models/bitdrive/bitdrive.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b5f719334d2f19d679b7fd02c5892be5ace01d91bc76672e7e35635ce0c7fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sidechain-orchestrator/health.go:339-351 | sidechain-orchestrator/wallet/core_rpc.go:895-905 \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":"sidechain-orchestrator/health.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a0fbe6dcb8be72d5650e24a178067f45e85b2636d778bd6e0819ecf4ae22e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 8\u002B corresponding lines): sidechain-orchestrator/sidechain/zside/handler.go:73-80 | sidechain-orchestrator/sidechain/zside/handler.go:312-319 | sidechain-orchestrator/sidechain/zside/handler.go:321-328 | sidechain-orchestrator/sidechain/zside/handler.go:330-337 | sidechain-orchestrator/sidechain/zside/handler.go:339-346 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/zside/handler.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea41dc9cfea3d256446e1d112ee1b339203943709460d71596f423697ca766e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): bitwindow/lib/widgets/fee_coinnews.dart:113-120 | bitwindow/lib/widgets/fee_coinnews.dart:278-285 \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":"bitwindow/lib/widgets/fee_coinnews.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad204b049d1c46b5c308ab69291a94e005aa5ad0c31a23c0a6b74fda0f122aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): sidechain_core/lib/providers/stratum_provider.dart:109-124 | sidechain_core/lib/rpcs/orchestrator_stratum_rpc.dart:40-56 \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":"sidechain_core/lib/providers/stratum_provider.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"06dc5b2f6ec232c69917c2c422953d2d3e62cffbe07b63fc7b7bd093876e9b69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): sidechain_core/lib/rpcs/bitwindow_api.dart:1285-1295 | sidechain_core/lib/rpcs/bitwindow_api.dart:1700-1710 | sidechain_core/lib/rpcs/bitwindow_api.dart:1745-1755 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cb681fe280436d1fe7ec460810165db135f4c90ea81ca2ffb3908b5aa96831"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 10\u002B corresponding lines): sidechain_core/lib/rpcs/bitwindow_api.dart:2029-2038 | sidechain_core/lib/rpcs/bitwindow_api.dart:2040-2049 | sidechain_core/lib/rpcs/bitwindow_api.dart:2051-2060 | sidechain_core/lib/rpcs/bitwindow_api.dart:2062-2071 | sidechain_core/lib/rpcs/bitwindow_api.dart:2073-2082 | sidechain_core/lib/rpcs/bitwindow_api.dart:2094-2103 | sidechain_core/lib/rpcs/bitwindow_api.dart:2105-2114 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":2029}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab548af460dd0d8daa8510945dd96916daef23a7f8f33daf917e1dafa46e3528"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): sidechain_core/lib/rpcs/truthcoin_rpc.dart:936-952 | sidechain_core/lib/rpcs/bitassets_rpc.dart:592-606 \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":"sidechain_core/lib/rpcs/truthcoin_rpc.dart"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"3956b81a3a08d21323d4ed48f7960dead31d7ee09ab99a76aec0e70e766a9e0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): bitwindow/server/models/bip47/store.go:23-36 | bitwindow/server/models/opreturns/opreturns.go:126-141 \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":"bitwindow/server/models/bip47/store.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"428719fde9dc2ec373f439235bed148d353f01c85e14ec64753267256f04c626"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): bitwindow/server/models/cheques/cheques.go:309-321 | bitwindow/server/models/cheques/cheques.go:323-337 \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":"bitwindow/server/models/cheques/cheques.go"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b214a51c0bdba5a0641898cc99c47c7a9cb5a20d4a00d46073d3de7b4db9f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): sidechain-orchestrator/api/hardware_handler.go:58-68 | sidechain-orchestrator/api/hardware_handler.go:73-83 | sidechain-orchestrator/api/hardware_handler.go:102-111 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/hardware_handler.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdffe877a43f762f43a2d42d54788de511c2ca055419c58bf219fa4e1c7506bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): sidechain-orchestrator/commands/bmm.go:23-31 | sidechain-orchestrator/commands/mining.go:21-29 | sidechain-orchestrator/commands/thunder.go:19-27 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 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":"sidechain-orchestrator/commands/bmm.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b86e4b1c906bb7d9c98679c16c93f3ed799780a484157f9c7ca935cfd66ce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): sidechain_core/lib/rpcs/bitwindow_api.dart:789-798 | sidechain_core/lib/rpcs/bitwindow_api.dart:800-809 | sidechain_core/lib/rpcs/bitwindow_api.dart:811-820 | sidechain_core/lib/rpcs/bitwindow_api.dart:822-831 | sidechain_core/lib/rpcs/bitwindow_api.dart:833-846 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a7601b54c523d3c7af07a5b857483502dc6665764e5702e7d24ee18523fea0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): sidechain-orchestrator/sqliteguard/sqliteguard.go:162-171 | sidechain-orchestrator/sqliteguard/sqliteguard.go:218-227 \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":"sidechain-orchestrator/sqliteguard/sqliteguard.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b825e11d82bed219d71d1c3ef00ec1ddaedf550ce8208f2693600bc26fcd0ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): sidechain_core/lib/rpcs/bitassets_rpc.dart:610-624 | sidechain_core/lib/rpcs/bitassets_rpc.dart:644-658 \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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f891d0a0cd16e5db6e0e2828435813643dc77aa2ea41c85a3dc5d9207630df8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): sidechain_core/lib/rpcs/bitwindow_api.dart:952-963 | sidechain_core/lib/rpcs/bitwindow_api.dart:987-996 | sidechain_core/lib/rpcs/bitwindow_api.dart:1105-1116 | sidechain_core/lib/rpcs/bitwindow_api.dart:1179-1188 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"092650c1b63e98663ef7ddc90c502fd510ad20fa13523d4e54085a35f2b1092a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): bitwindow/server/engines/deposit_dropped_engine.go:47-64 | sidechain-orchestrator/engines/bip47_engine.go:87-99 | sidechain-orchestrator/engines/deposit_watch_engine.go:74-89 | sidechain-orchestrator/engines/seed_peer_engine.go:50-64 | sidechain-orchestrator/engines/split_engine.go:101-115 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/deposit_dropped_engine.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3545cddf880183b986734aff4e3d2fccde3752aa11cc7f1e8556ef742c41e6bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): bitwindow/server/engines/mempool_watch_engine.go:455-464 | sidechain-orchestrator/ecash_migration.go:935-947 \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":"bitwindow/server/engines/mempool_watch_engine.go"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b08e9a7659d88586187a87a75fd1b42baa7813b54337c055f07968788c38b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): bitwindow/server/models/deniability/deniability.go:221-235 | bitwindow/server/models/deniability/deniability.go:344-357 \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":"bitwindow/server/models/deniability/deniability.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1d7f22733dfb4e4310e87638ff2542aa2af0624e27878b00b723eb560b0578"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): bitwindow/server/models/opreturns/opreturns.go:417-427 | bitwindow/server/models/coinnews/identity.go:56-66 \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":"bitwindow/server/models/opreturns/opreturns.go"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7d45971febdcceb746019bb64fe35752fbad8fe2cbd8a6342fe0543d930a57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): bitwindow/lib/widgets/claim_ecx_card.dart:623-632 | bitwindow/lib/widgets/claim_ecx_card.dart:642-651 \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":"bitwindow/lib/widgets/claim_ecx_card.dart"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"d241d18c5dc4ef2da9ba64a5e8787bd5bb8b6f60e8b168a02c9701b98b909372"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): coinshift/lib/pages/swap_analytics_page.dart:173-186 | truthcoin/lib/widgets/market_stat_tile.dart:19-31 \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":"coinshift/lib/pages/swap_analytics_page.dart"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fba1068d22e43d25966e42e43228b4a88f931f50ea4f5844ae99f1157b942b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): sidechain_core/lib/rpcs/bitwindow_api.dart:1972-1980 | sidechain_core/lib/rpcs/bitwindow_api.dart:1982-1990 \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":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":1972}}}],"partialFingerprints":{"codehealthFindingId/v1":"8924cf0eda6afdbce8dd7c40679285655b61725cd6087f9a096b2a35e27fbed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sidechain-orchestrator/api/deposit_balance.go:99-109 | sidechain-orchestrator/api/multisiglounge_handler.go:911-922 \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":"sidechain-orchestrator/api/deposit_balance.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff271bc4e240d00c61ef70abb18b743d8d7afc6a881092b42c3c3866ea2eda84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): sidechain-orchestrator/api/orchestrator_handler.go:94-108 | sidechain-orchestrator/api/orchestrator_handler.go:175-188 \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":"sidechain-orchestrator/api/orchestrator_handler.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f741715f9f8d855fee0a68a70d66fdca189d56aa73d9acb51384059d0f694e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): bitwindow/lib/pages/explorer/m4_explorer_page.dart:290-299 | bitwindow/lib/pages/explorer/m4_explorer_page.dart:301-310 \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":"bitwindow/lib/pages/explorer/m4_explorer_page.dart"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bfcaae09e06a259b20e0dc01b6fb754bbe5da63e2147998cfb590d051bd225"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): sidechain_core/lib/rpcs/bitwindow_api.dart:1216-1225 | sidechain_core/lib/rpcs/bitwindow_api.dart:1227-1236 \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":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b99fe4b5a3ba059ecc74c2bb9b477900859d41655c0afc150ee29f60013889"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sidechain_core/lib/rpcs/truthcoin_rpc.dart:522-529 | sidechain_core/lib/rpcs/bitnames_rpc.dart:609-616 \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":"sidechain_core/lib/rpcs/truthcoin_rpc.dart"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"619f4274b4517a96bdc78b824ba627723b513f2a2465984136e5f18ae8a3c201"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): sidechain_core/lib/rpcs/bitassets_rpc.dart:431-447 | sidechain_core/lib/rpcs/bitassets_rpc.dart:626-642 | sidechain_core/lib/rpcs/orchestrator_wallet_rpc.dart:805-821 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9ea75c3f9b231fe83ce469983f56ff55c3ab85aadb62d9058e796fd46841e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): sidechain_core/lib/rpcs/bitwindow_api.dart:1857-1865 | sidechain_core/lib/rpcs/bitwindow_api.dart:1876-1884 | sidechain_core/lib/rpcs/bitwindow_api.dart:1910-1918 | sidechain_core/lib/rpcs/bitwindow_api.dart:1939-1949 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87b4f01bee5073e337a8351e0eeb0502b229f4b600e5406851842f4b0a36f81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): bitwindow/server/api/wallet/wallet.go:1376-1382 | bitwindow/server/api/multisig/multisig.go:167-172 \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":"bitwindow/server/api/wallet/wallet.go"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"98037d8a47bf0f6b6fa93767801bd4b2ef71e4d388473c47c9dd0d4012993944"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): bitwindow/server/models/timestamps/timestamps.go:164-180 | bitwindow/server/models/bitdrive/bitdrive.go:139-153 \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":"bitwindow/server/models/timestamps/timestamps.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cb7de181c860bb487d1ce610edad7349d9a90dca09e57f0d3ba359fcbdbbfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): sidechain-orchestrator/sidechain/bitassets/handler.go:30-40 | sidechain-orchestrator/sidechain/jsonrpc_proxy.go:34-43 | sidechain-orchestrator/sidechain/truthcoin/handler.go:27-36 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"287a945ebe2ea70bdbc4e002ad493ec54f43b2bf8a2c32ff9f4c8091579e5e66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sidechain-orchestrator/sidechain/bitassets/handler.go:306-312 | sidechain-orchestrator/sidechain/bitnames/handler.go:280-286 \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":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb03e662d3814801b9be6248cad6a70dc6de6ad429246f882b21532d1240f373"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sidechain-orchestrator/wallet/core_backend.go:783-794 | sidechain-orchestrator/wallet/core_backend.go:1265-1275 \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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbbff73c6100cd961c2a561692cc32bc5a49c1e4e826b2d26988cb62e53d0e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): bitassets/lib/bitassets_module.dart:107-137 | bitnames/lib/bitnames_module.dart:83-112 \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":"bitassets/lib/bitassets_module.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad3b633dba2a3cbde4c1e35a54f526820ae9382903904eff86aaae646ef3884"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): bitassets/lib/pages/tabs/amm_page.dart:440-444 | bitassets/lib/pages/tabs/auction_browser_page.dart:590-594 | bitassets/lib/widgets/portfolio_dashboard.dart:525-531 \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":"bitassets/lib/pages/tabs/amm_page.dart"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80a367396917878722fbc10a8f468b614c1b785e0285789945b2d7a4c5f5af7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): sidechain_core/lib/rpcs/bitwindow_api.dart:1042-1050 | sidechain_core/lib/rpcs/bitwindow_api.dart:1052-1060 | sidechain_core/lib/rpcs/bitwindow_api.dart:1169-1177 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 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":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adb50d5393eaf66e7d9769c07ad6d8c4bd54afaae6de28830fbdf2d834ed7c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): truthcoin/lib/pages/market_creation_page.dart:762-771 | truthcoin/lib/pages/voting_dashboard_page.dart:784-793 \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":"truthcoin/lib/pages/market_creation_page.dart"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b21627f3a3373879f06b427690a4e723ae3e172de82935b2f6b1332a298c8b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): sail_ui/lib/shell/sidechain_conf_editor_page.dart:355-370 | sail_ui/lib/shell/sidechain_conf_editor_page.dart:384-401 | sail_ui/lib/shell/sidechain_conf_editor_page.dart:501-514 | sail_ui/lib/widgets/components/setting_row.dart:116-128 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/shell/sidechain_conf_editor_page.dart"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"3348395ffbc467026af8b476b11d0f4732ada2f19f8fe00ae7329a9b75c975fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): bitwindow/lib/pages/sidechain_proposal_page.dart:200-211 | bitwindow/lib/widgets/hash_calculator_modal.dart:180-191 \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":"bitwindow/lib/pages/sidechain_proposal_page.dart"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"003d724c61d09d47ad75f2dfcb5001a39e7cc9eed2382b008da1f6dc6da17e06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): sidechain-orchestrator/config/binaries.go:292-302 | sidechain-orchestrator/config/sidechain_conf.go:33-41 \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":"sidechain-orchestrator/config/binaries.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"984ad510b455d2acf36b93a6b0f3431c0fc2276ce9b93d7dcbb1072f4d992ae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 8\u002B corresponding lines): sidechain-orchestrator/sidechain/bitnames/handler.go:72-79 | sidechain-orchestrator/sidechain/photon/handler.go:68-75 | sidechain-orchestrator/sidechain/thunder/backend.go:44-51 | sidechain-orchestrator/sidechain/truthcoin/handler.go:74-81 | sidechain-orchestrator/sidechain/zside/handler.go:63-70 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitnames/handler.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c6550c2c5d65ce2c3c9d38e82b98deb8e3a5429f80ed26cf3cb18c083a26d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): sail_ui/lib/widgets/config_editor/configurator_panel.dart:454-463 | sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart:324-335 \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":"sail_ui/lib/widgets/config_editor/configurator_panel.dart"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e26a0b85718a4332614190abbd7ff53e5b45b05cf92bb6c8e2a3e9a847a00b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): sidechain_core/lib/rpcs/bitassets_rpc.dart:697-709 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:681-693 \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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8093641e64870fc61f9e440e72cdf02c1e23d69b7388a03814143d72eee9b6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): sidechain-orchestrator/wallet/electrum_own_outputs.go:126-137 | sidechain-orchestrator/process.go:736-745 \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":"sidechain-orchestrator/wallet/electrum_own_outputs.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafef86862df73e93c3fd6c8cea30d2482161dc980b039780d193ed50bc6e27e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): sidechain_core/lib/providers/bitcoin_conf_provider.dart:397-405 | sidechain_core/lib/providers/enforcer_conf_provider.dart:180-190 \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":"sidechain_core/lib/providers/bitcoin_conf_provider.dart"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"7793f8dec85f897ec5539d6f738f58d8644126e85cc191a83c907e699f04447c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): sidechain_core/lib/providers/wallet_reader_provider.dart:425-434 | sidechain_core/lib/providers/wallet_reader_provider.dart:476-492 | sidechain_core/lib/providers/wallet_writer_provider.dart:290-306 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/wallet_reader_provider.dart"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"266a16878f7b460572e9c728c3d0c8349f4835a5f671e5474cad31e69e0549a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sidechain-orchestrator/sidechain/coinshift/handler.go:79-85 | sidechain-orchestrator/sidechain/thunder/handler.go:95-101 \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":"sidechain-orchestrator/sidechain/coinshift/handler.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"675acbd0e6f3159cb0ebbcec5eed336d791653b2b6c4c76f5fed440f60e269a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): sidechain-orchestrator/sidechain/photon/handler.go:77-84 | sidechain-orchestrator/sidechain/thunder/backend.go:33-40 | sidechain-orchestrator/sidechain/truthcoin/handler.go:83-90 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/photon/handler.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"110e0182305a1ec54266a3808c6d47cc95a1fec1d6bc2c062aad2eb1b4366489"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): bitassets/lib/pages/tabs/asset_explorer_page.dart:684-692 | bitassets/lib/pages/tabs/auction_browser_page.dart:851-860 \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":"bitassets/lib/pages/tabs/asset_explorer_page.dart"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"94410bbb49c5aafd3bf7cfe8170f2e91dd214c041595387abe5289d602eeb8ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): bitwindow/lib/pages/explorer/widgets/transaction_flow_diagram.dart:335-343 | bitwindow/lib/pages/wallet/wallet_checks.dart:269-274 | bitwindow/lib/providers/notification_stream_provider.dart:168-173 | bitwindow/lib/widgets/draft_panel.dart:808-813 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/explorer/widgets/transaction_flow_diagram.dart"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4db7ccbdb4f7dd81e3dccee33df87755d749326bd6501ce45527cc607b4063"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): sidechain-orchestrator/api/datadir_network_handler.go:10-32 | sidechain-orchestrator/api/orchestrator_handler.go:278-283 \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":"sidechain-orchestrator/api/datadir_network_handler.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15f232c58a549f1d3630d95f86e226956d84747876c020ebce99b2175f86fe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): sidechain-orchestrator/wallet/network_chain_source.go:287-299 | sidechain-orchestrator/wallet/fallback_chain_source.go:256-264 \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":"sidechain-orchestrator/wallet/network_chain_source.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca3e42f95f126ba24ba1b0975fa6809e2f6c6014d996538af31da78bd6a6d38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sidechain-orchestrator/wallet/bip47state/inbound.go:191-197 | sidechain-orchestrator/wallet/bip47state/store.go:192-198 \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":"sidechain-orchestrator/wallet/bip47state/inbound.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"7129828c0f4292696c579c6114ecdc9bbfd448f63c5924e8734ab7e29ee14eb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): sidechain-orchestrator/wallet/scripttype.go:85-104 | sidechain-orchestrator/wallet/types.go:112-131 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/scripttype.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e213ae57e7e094465b692265746f4e2c8342307710bd7ea1e102cb8da275439b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): bitwindow/lib/pages/overview_page.dart:143-155 | bitwindow/lib/pages/wallet/wallet_overview.dart:882-894 \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":"bitwindow/lib/pages/overview_page.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"0250a5b372272d882a279311ecad5c5637e572e43f468142e17c02c7066da899"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): photon/lib/pages/tabs/mempool_explorer_page.dart:134-137 | truthcoin/lib/pages/tabs/portfolio_page.dart:424-427 | truthcoin/lib/pages/voting_dashboard_page.dart:770-773 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"photon/lib/pages/tabs/mempool_explorer_page.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd7c72ce619f040937930412557ce08cdc2ef1375411c32f225243d39f6c22a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): sidechain-orchestrator/blockfile/file_unix.go:13-16 | sidechain-orchestrator/corewalletfile/file_unix.go:13-16 \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":"sidechain-orchestrator/blockfile/file_unix.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f595ab3ca5b43ad43f2faf25e2fc807d76057750fa30280e746196f334d414d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sidechain-orchestrator/sidechain/bitnames/handler.go:446-452 | sidechain-orchestrator/sidechain/truthcoin/handler.go:265-271 \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":"sidechain-orchestrator/sidechain/bitnames/handler.go"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"665087cbb0b170a2f4ac2b8029e3449d71eac58ea015ff797a7725f1dd3941fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): sidechain-orchestrator/sidechain/truthcoin/types.go:5-26 | sidechain-orchestrator/sidechain/zside/types.go:5-20 \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":"sidechain-orchestrator/sidechain/truthcoin/types.go"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a2ea0237889a537de3911969e9d1dd694b800a9c4172489f2a80f466f277a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): sidechain_core/lib/rpcs/thunder_rpc.dart:145-150 | sidechain_core/lib/rpcs/zside_rpc.dart:193-197 \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":"sidechain_core/lib/rpcs/thunder_rpc.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b415293b5677078df0064222641f30ffe75455e68b191f9f5155ae3758db3ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): bitwindow/server/service/service.go:15-30 | dc-hub/server/connector/connector.go:13-25 \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":"bitwindow/server/service/service.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5b24ef3d4e4432854544170a3b6e399de2801a4542578d7b6c65cb8703a3f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): sidechain-orchestrator/sidechain/corenode/client.go:48-64 | sidechain-orchestrator/wallet/core_rpc.go:66-81 \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":"sidechain-orchestrator/sidechain/corenode/client.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0880393f172b4344d145bd70843e847606706acf8de038de2e5d17bc303d06c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sidechain-orchestrator/sidechain/jsonrpc_proxy.go:121-127 | sidechain-orchestrator/sidechain/solana/client.go:85-91 \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":"sidechain-orchestrator/sidechain/jsonrpc_proxy.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4053482a97fadb555b30c4b76b11028e533195c9014b0263ecb2c40b4ec573b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sidechain-orchestrator/sidechain/jsonrpc_proxy.go:129-135 | sidechain-orchestrator/sidechain/solana/client.go:94-100 \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":"sidechain-orchestrator/sidechain/jsonrpc_proxy.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9890fd273df6a1caf4ff91b3c3185ba37dd4bb4341cadbbdc702cc9bc1b11870"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): truthcoin/lib/pages/market_detail_page.dart:1361-1365 | truthcoin/lib/widgets/market_card.dart:40-44 \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":"truthcoin/lib/pages/market_detail_page.dart"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b878076fd22727ad09436356d076056c4592a7eefbcb07d6338066f50cc547a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): bitwindow/server/api/runtime.go:85-92 | sidechain-orchestrator/cmd/drivechaind/main.go:828-835 \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":"bitwindow/server/api/runtime.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0c74b5cf39c6be4f1a8931ba7487b52ee6ab8740e6646a12b71ac9a6d8d335"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): bitwindow/server/models/bitdrive/bitdrive.go:111-117 | bitwindow/server/models/timestamps/timestamps.go:130-136 \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":"bitwindow/server/models/bitdrive/bitdrive.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"826f82c78a6859e1df5aae1b8872e5a56ed70145fb729d033fe72fcb92aa809f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sidechain-orchestrator/wallet/core_backend.go:1280-1287 | sidechain-orchestrator/wallet/descriptor.go:574-581 \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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fec04c1817ce56d7ec51503a07d72e7f3dbe6d23fc6797dbbe61e9748c1b5e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): sidechain-orchestrator/blockfile/file_windows.go:9-12 | sidechain-orchestrator/corewalletfile/file_windows.go:9-11 \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":"sidechain-orchestrator/blockfile/file_windows.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d4d0194dec61ec69402c8afe3e4e55da8c8f962c1ec900426437d12e2f06e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sidechain-orchestrator/wallet/metadata.go:422-432 | sidechain-orchestrator/wallet/network_chain_source.go:164-174 \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":"sidechain-orchestrator/wallet/metadata.go"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff8d06668c433614aeecc7760de054d3dae2ef125dd275553d092cfc074ff1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sail_ui/lib/widgets/containers/edit_wallet_dialog.dart:90-98 | sail_ui/lib/widgets/containers/rename_wallet_dialog.dart:40-46 \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":"sail_ui/lib/widgets/containers/edit_wallet_dialog.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb3ab56829b7d8b759157ff5b95f04cdea5b45d6f993fa2ba464dfc8529b8f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sail_ui/lib/widgets/inputs/dropdown_menu.dart:55-62 | sail_ui/lib/widgets/platform_menu.dart:265-272 \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":"sail_ui/lib/widgets/inputs/dropdown_menu.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b63437bce9146e78abcb218a53dbf2ed27970049fa2ab958e6f747733508784"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sidechain-orchestrator/blockfile/detect.go:102-108 | sidechain-orchestrator/stratum/server.go:936-942 \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":"sidechain-orchestrator/blockfile/detect.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"852ccc528d71a47d0cb814e4ee49dcbd8be6c365f3716349a3ebd5e9c61a87af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): bitwindow/server/api/bitwindowd/bitwindowd.go:64-78 | bitwindow/server/engines/bitcoind_engine.go:48-59 \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":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"907f34a8da2774ebf7216941c0e0869eb6b930428b2dfd165367b66eb95a9d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): bitwindow/server/engines/notification_engine.go:414-422 | bitwindow/server/engines/zmq_engine.go:110-117 \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":"bitwindow/server/engines/notification_engine.go"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78e3b739ca5473918429dd7b23d9090885b193fc2d28e20a0e93eb7578fc6da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sail_ui/lib/pages/sidechains/parent_chain_page.dart:119-126 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:202-210 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/sidechains/parent_chain_page.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e008fc59d0575f0c581b917b768078c0de9f80b8d4fb67c590a38e1b0e338f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): zside/lib/widgets/containers/tabs/dashboard_tab_widgets.dart:82-87 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:82-85 | zside/lib/widgets/homepage_widget_catalog.dart:279-282 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"zside/lib/widgets/containers/tabs/dashboard_tab_widgets.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3c10a9ddd317499b000a3afe5cf31ce9a44171cd1b17d990f21afd50cc1443"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sidechain_core/lib/providers/balance_provider.dart:183-191 | sidechain_core/lib/providers/parentchain/parent_chain_provider.dart:89-96 \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":"sidechain_core/lib/providers/balance_provider.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8257b2d8370b405b08f53b9d6bc5056b90d44fdb4cefedca01531306a83b2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:348-355 | zside/lib/pages/tabs/zside/zside_shield_deshield_page.dart:129-136 \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":"zside/lib/pages/tabs/zside/zside_melt_cast_page.dart"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3eb16565a3e654a97aa67bbedf30f182ed74a14c702ec606ebe104d13481e10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:357-364 | zside/lib/pages/tabs/zside/zside_shield_deshield_page.dart:138-145 \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":"zside/lib/pages/tabs/zside/zside_melt_cast_page.dart"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"a523ffdaa1ced973f9f02f57dcf31cd70a50b82bd7dc416fffe56180bea4e248"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sidechain-orchestrator/sidechain/jsonrpc_proxy.go:113-119 | sidechain-orchestrator/sidechain/solana/client.go:75-81 \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":"sidechain-orchestrator/sidechain/jsonrpc_proxy.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe280d3d3013977e7ca28e350adb64d7102354f5602bc14ab1e334ad117ccd83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): bitwindow/lib/pages/console_page.dart:14-25 | sail_ui/lib/pages/console_tab_page.dart:14-21 \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":"bitwindow/lib/pages/console_page.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b97de5d71a01674467d57ffdf466f0f9036b82d6ca509612c5da8a3df872d50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:310-318 | bitwindow/lib/widgets/peers_table_widget.dart:19-27 | zside/lib/pages/tabs/zside/zside_shield_deshield_page.dart:179-188 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"e198b53b90f8ae6b45224725137132b365f2d2e41065b5f5c3ba89f0b16c244b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:561-569 | zside/lib/pages/tabs/zside/zside_shield_deshield_page.dart:275-284 \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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"f203e99117e81f3cffe90b872bb0f9b9f98d43fd47fe70391bb1c4e4d5ad05ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): sidechain_core/lib/models/bitcoin_config_options.dart:1220-1222 | sidechain_core/lib/models/enforcer_config_options.dart:303-305 \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":"sidechain_core/lib/models/bitcoin_config_options.dart"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e0a4e282f6b4feff5a4055063fd3ac38e9a46463fecac7db6d29e558c5ac50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sidechain-orchestrator/sidechain/bbc/handler.go:101-107 | sidechain-orchestrator/sidechain/thunder/handler.go:78-84 \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":"sidechain-orchestrator/sidechain/bbc/handler.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"34df3e19600707898483e41b06b38d92ee6aeb6b9102e344711a1d6e22c7f9b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): bitassets/lib/pages/tabs/reserve_register_page.dart:675-677 | bitnames/lib/pages/tabs/reserve_register_page.dart:722-724 \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":"bitassets/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8e649cba6c254a72956268fe9846b686333d4f7fe532f8aba43249d5fd91e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): bitwindow/lib/providers/blockchain_provider.dart:136-144 | bitwindow/lib/providers/transactions_provider.dart:98-108 \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":"bitwindow/lib/providers/blockchain_provider.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cc830962a9f4add4f605dd5ea6e10ab3abe89b9b94ba70024c7df109b48686"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): bitwindow/lib/providers/multisig_provider.dart:195-201 | sidechain_core/lib/providers/window_provider.dart:358-364 \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":"bitwindow/lib/providers/multisig_provider.dart"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d29703b05c804ddaed383252950da61fbdffb59a69872b2bf73542bd73b6be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): bitwindow/lib/services/chat_file_storage.dart:10-13 | sidechain_core/lib/settings/secure_store.dart:21-24 \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":"bitwindow/lib/services/chat_file_storage.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e03f64461e63c0c01f8c0329e37bfdae19046d9d64c0f6edb3ace029647bcfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): sidechain_core/lib/rpcs/bitassets_rpc.dart:976-979 | sidechain_core/lib/rpcs/bitnames_rpc.dart:815-818 \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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"9062ee94046e5d06df3378b024e24a7964bc231d5b63c4d9c65faf33a4bdcf77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): bitwindow/server/models/preferences/preferences.go:17-26 | bitwindow/server/models/utxometadata/utxometadata.go:21-33 \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":"bitwindow/server/models/preferences/preferences.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f932d25e6ac6d12043c67958bae5031b479eea1dfebe21ba023a05662e6ef97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sidechain-orchestrator/api/multisiglounge_handler.go:78-88 | sidechain-orchestrator/api/wallet_handler.go:102-109 \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":"sidechain-orchestrator/api/multisiglounge_handler.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec86215f880984884f624d3980b89d85d09337acae480d10e61e9857c3915b01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): sidechain-orchestrator/sidechain/bitassets/client.go:148-151 | sidechain-orchestrator/sidechain/coinshift/client.go:163-166 \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":"sidechain-orchestrator/sidechain/bitassets/client.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc02cfab59ed847137206b39d8202c53ebb75c6e3f7ab69383ae8fd21c3e7c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): bitwindow/lib/pages/chat_page.dart:424-429 | bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:1006-1011 \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":"bitwindow/lib/pages/chat_page.dart"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"80768453e52cd14bd736728ab76a0f9437250a71f520c8a5b52ba8c0f0b43728"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): bitwindow/lib/providers/m4_provider.dart:173-180 | bitwindow/lib/providers/timestamp_provider.dart:132-138 \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":"bitwindow/lib/providers/m4_provider.dart"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d21a4a9035b8b3b507d367d15a16442a4f90e5e8faddd2ff17fa13f56f7d69f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sail_ui/lib/widgets/containers/sail_collapsible.dart:107-114 | sail_ui/lib/widgets/containers/sail_popover.dart:103-110 \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":"sail_ui/lib/widgets/containers/sail_collapsible.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eae3b45543182ea326fd7cef60e6d17b9c64ff48bf71c9bf48a2c4fc376601d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): truthcoin/lib/pages/market_explorer_page.dart:362-366 | truthcoin/lib/pages/tabs/portfolio_page.dart:545-549 \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":"truthcoin/lib/pages/market_explorer_page.dart"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9eefb990029424a2ad8fa7395cd92ac44a00b0268b07628ee7abd46bbb9da1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): bitassets/lib/settings/price_alerts_settings.dart:82-85 | bitwindow/lib/providers/chat_provider.dart:1084-1095 \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":"bitassets/lib/settings/price_alerts_settings.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb64348acb1e81d404c842da7f905a62c80a1bd1858c34176f33216ec344607"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): photon/lib/pages/tabs/mempool_explorer_page.dart:181-184 | photon/lib/pages/tabs/withdrawals_page.dart:208-211 \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":"photon/lib/pages/tabs/mempool_explorer_page.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"171b5a1c44c2312bb3d2e0aaac6dec74c14688fd7017f5adddc4377d231977c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): sidechain_core/lib/models/bitcoin_config_options.dart:1224-1226 | sidechain_core/lib/models/enforcer_config_options.dart:307-309 \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":"sidechain_core/lib/models/bitcoin_config_options.dart"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e290511daf6a663c411f83d3bbeaec420413cf665910d247a3524a7931c399"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:299-300 | zside/lib/pages/tabs/zside/zside_shield_deshield_page.dart:90-91 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zside/lib/pages/tabs/zside/zside_melt_cast_page.dart"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfd939b858e6ade7a2e09b46ad0645a7abc32a2e737e4056328fd1544a3c7af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): bitwindow/server/api/enforcer/enforcer.go:82-87 | dc-hub/server/api/validator/api_validator.go:189-194 \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":"bitwindow/server/api/enforcer/enforcer.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e462324d2e8f0b030b1e66ff7559e2a62d7d487ddd4ae1662bc5e3e9df826ff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): sidechain-orchestrator/sidechain/bitnames/client.go:158-161 | sidechain-orchestrator/sidechain/photon/client.go:148-151 | sidechain-orchestrator/sidechain/thunder/client.go:148-151 | sidechain-orchestrator/sidechain/truthcoin/client.go:158-161 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitnames/client.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"24dca92d1dd0a561f2840982ef8ecc0512dc3e7e84ee1bbb0deedc852ab5622a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): bitwindow/server/api/bitwindowd/bitwindowd.go:1275-1280 | bitwindow/server/api/wallet/wallet.go:1006-1011 \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":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"186d2105de6fcda04b27de2d957e671448275fde99508bd8227867a7f533af5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sidechain-orchestrator/wallet/address_reads.go:98-104 | sidechain-orchestrator/wallet/engine.go:137-143 \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":"sidechain-orchestrator/wallet/address_reads.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c354365e92c7d3b80a7361c39ecc9a4a33cb014ebf5d95645e8fb80784a251"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): bitassets/lib/providers/bitassets_provider.dart:271-274 | bitwindow/lib/providers/chat_provider.dart:1145-1148 \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":"bitassets/lib/providers/bitassets_provider.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0595577204ddbd38afbbe0ffdaf988ef51d3d132f2f2eb3eeacf4ded248621"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): bitwindow/lib/pages/wallet/check_detail_page.dart:69-72 | coinshift/lib/widgets/swap_failure_recovery.dart:227-234 \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":"bitwindow/lib/pages/wallet/check_detail_page.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d924f85eab83e5132176d133a7ce80e994384ce4548e492b0aaaab38d13d0dcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): bitwindow/server/api/drivechain/drivechain.go:54-63 | bitwindow/server/api/enforcer/enforcer.go:31-41 \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":"bitwindow/server/api/drivechain/drivechain.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"043029e83c2c82717a02813e774940d0a1576be810d2ce47c79c6cedf41dda4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): sidechain-orchestrator/feerate/feerate.go:65-70 | sidechain-orchestrator/sidechain/sidechainesplora/client.go:27-32 \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":"sidechain-orchestrator/feerate/feerate.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2f86080b46320f90dbba04fc9167d91001006b594c187c377d75b7ba910665"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): bitassets/lib/widgets/portfolio_dashboard.dart:503-506 | bitwindow/lib/pages/wallet/wallet_checks.dart:276-279 \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":"bitassets/lib/widgets/portfolio_dashboard.dart"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75d7a906846142a8c4583d19ef056f23de989a00e1838dd9c3e4b02c751ee5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (110 lines \u00D7 2): bitwindow/lib/dialogs/paper_check_dialog.dart:580-689 | bitwindow/lib/dialogs/paper_wallet_dialog.dart:358-467 \u2014 before extracting anything, compare \u0060bitwindow/lib/dialogs/paper_check_dialog.dart\u0060 and \u0060bitwindow/lib/dialogs/paper_wallet_dialog.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/dialogs/paper_check_dialog.dart"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"f402b9037e0797e9d7d78eac5a369ff8ab816e5c9e28da81827107c089fd6bcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2): sail_ui/lib/widgets/config_editor/working_config_panel.dart:58-121 | sail_ui/lib/widgets/enforcer_config_editor/working_config_panel.dart:58-121 \u2014 \u0060sail_ui/lib/widgets/config_editor/working_config_panel.dart\u0060 and \u0060sail_ui/lib/widgets/enforcer_config_editor/working_config_panel.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 77 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"sail_ui/lib/widgets/config_editor/working_config_panel.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"03673b0fa73ff3e791486ebfbd49003d645f06ecff67a245705c09a7b11c5ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): bitwindow/lib/dialogs/paper_check_dialog.dart:499-553 | bitwindow/lib/dialogs/paper_wallet_dialog.dart:277-331 \u2014 before extracting anything, compare \u0060bitwindow/lib/dialogs/paper_check_dialog.dart\u0060 and \u0060bitwindow/lib/dialogs/paper_wallet_dialog.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/dialogs/paper_check_dialog.dart:499\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":"bitwindow/lib/dialogs/paper_check_dialog.dart"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a2d8463a083c2549e8941ea1e791ef225d5df77732a566e7e9a830626b64b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 3): bitwindow/lib/pages/wallet/cash_check_page.dart:158-211 | bitwindow/lib/pages/wallet/check_detail_page.dart:195-248 | bitwindow/lib/pages/wallet/create_check_page.dart:142-195 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/wallet/cash_check_page.dart\u0060 and \u0060bitwindow/lib/pages/wallet/check_detail_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"bitwindow/lib/pages/wallet/cash_check_page.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f87523e44815041a361ca780538734b58ea551f7870b53ef55e83ef2f5f586"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46\u201350 lines \u00D7 2): zside/lib/pages/tabs/zside/zside_transfer_page.dart:415-464 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:600-645 \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 \u0060zside/lib/pages/tabs/zside/zside_transfer_page.dart:415\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, \u0060zside/lib/pages/tabs/zside/zside_transfer_page.dart:646\u0060 calls \u0060getCastColor\u0060, \u0060of\u0060 and \u0060zside/lib/pages/tabs/zside/zside_transfer_page.dart:465\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":"zside/lib/pages/tabs/zside/zside_transfer_page.dart"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee90b990bf8bd1d8c55f074f9dc52a5a8ab44e6ad11f5c0fefff938bf8b19c7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): bitwindow/lib/pages/explorer/m4_explorer_page.dart:25-73 | bitwindow/lib/pages/sidechain_activation_management_page.dart:14-62 \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 \u0060bitwindow/lib/pages/explorer/m4_explorer_page.dart:25\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"bitwindow/lib/pages/explorer/m4_explorer_page.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f87df5e87850c605bdf3fdfcdd203023d16a53a3e6b5725a4e109850e5aa6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201340 lines \u00D7 3): bitwindow/lib/dialogs/merkle_tree_dialog.dart:103-142 | bitwindow/lib/dialogs/paper_check_dialog.dart:171-209 | bitwindow/lib/dialogs/paper_wallet_dialog.dart:86-125 \u2014 before extracting anything, compare \u0060bitwindow/lib/dialogs/paper_check_dialog.dart\u0060 and \u0060bitwindow/lib/dialogs/paper_wallet_dialog.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/dialogs/merkle_tree_dialog.dart:103\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":"bitwindow/lib/dialogs/merkle_tree_dialog.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6f9dce805fbf104d7675d683cdcf8bce76b19a0c222f2aea2e787fb7acbfa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201340 lines \u00D7 2): sail_ui/lib/pages/enforcer_conf_editor_page.dart:53-92 | sail_ui/lib/shell/sidechain_conf_editor_page.dart:61-97 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/enforcer_conf_editor_page.dart\u0060 and \u0060sail_ui/lib/shell/sidechain_conf_editor_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/pages/enforcer_conf_editor_page.dart:53\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/enforcer_conf_editor_page.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa683a4b682f589526baaa5d3bcc34687d3f2183fccd05c7111e71a5a56aed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): truthcoin/lib/widgets/homepage_widget_catalog.dart:546-585 | truthcoin/lib/widgets/trading_position_widget.dart:248-287 \u2014 before extracting anything, compare \u0060truthcoin/lib/widgets/homepage_widget_catalog.dart\u0060 and \u0060truthcoin/lib/widgets/trading_position_widget.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060truthcoin/lib/widgets/homepage_widget_catalog.dart:546\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":"truthcoin/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"347e39b0353531bc5a95e745dca47f3c8cc41a09b6d5e12cbce979dc34721f7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): bitnames/lib/pages/tabs/reserve_register_page.dart:32-70 | bitnames/lib/pages/tabs/reserve_register_page.dart:339-377 \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 \u0060bitnames/lib/pages/tabs/reserve_register_page.dart:32\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":"bitnames/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfade7ea05d20d4666257b16e5d59d415e84cb674c667aaf5b7e0d1596f14374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): sail_ui/lib/pages/l1_restart_page.dart:93-130 | sail_ui/lib/pages/utxo_snapshot_page.dart:113-150 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/l1_restart_page.dart\u0060 and \u0060sail_ui/lib/pages/utxo_snapshot_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/pages/l1_restart_page.dart:93\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":"sail_ui/lib/pages/l1_restart_page.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f3438049624c32b207e91c3bbf4d9e5a681cef34826ee8b1af8efd0f2b8c16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201337 lines \u00D7 2): sail_ui/lib/widgets/config_editor/configurator_panel.dart:94-130 | sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart:68-103 \u2014 \u0060sail_ui/lib/widgets/config_editor/configurator_panel.dart\u0060 and \u0060sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 147 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/widgets/config_editor/configurator_panel.dart:94\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/config_editor/configurator_panel.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"003e0e83c26580d16cceb4fc60007727818e08bbdab91d6a2401b051b4b9168c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:1128-1164 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:1247-1283 \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 \u0060zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:1128\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":"zside/lib/widgets/containers/tabs/zside_tab_widgets.dart"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3039e24c227208e876c9bffd79de0ad0f5525dbd8c38732c781090b29f58f733"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): sail_ui/lib/pages/bitcoin_conf_editor_page.dart:24-58 | sail_ui/lib/pages/enforcer_conf_editor_page.dart:25-59 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/bitcoin_conf_editor_page.dart\u0060 and \u0060sail_ui/lib/pages/enforcer_conf_editor_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/pages/bitcoin_conf_editor_page.dart: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. 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":"sail_ui/lib/pages/bitcoin_conf_editor_page.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedf84188ad245b189ce23b7268d1919c35b89a4cc6c9f61ef714f24fca2ca10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201334 lines \u00D7 12): bbc/lib/widgets/homepage_widget_catalog.dart:302-335 | bitwindow/lib/pages/overview_page.dart:1635-1638 | bitwindow/lib/pages/wallet/wallet_receive.dart:322-323 | bitwindow/lib/pages/wallet/wallet_receive.dart:325-328 | bitwindow/lib/pages/wallet/wallet_utxos.dart:441-442 | bitwindow/lib/pages/wallet/wallet_utxos.dart:444-447 | bitwindow/lib/widgets/peers_table_widget.dart:153-154 | bitwindow/lib/widgets/peers_table_widget.dart:155-158 | coinshift/lib/widgets/homepage_widget_catalog.dart:445-478 | photon/lib/widgets/homepage_widget_catalog.dart:322-355 | thunder/lib/widgets/homepage_widget_catalog.dart:325-358 | truthcoin/lib/widgets/homepage_widget_catalog.dart:335-368 \u2014 before extracting anything, compare \u0060bbc/lib/widgets/homepage_widget_catalog.dart\u0060 and \u0060coinshift/lib/widgets/homepage_widget_catalog.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 187 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bbc/lib/widgets/homepage_widget_catalog.dart:302\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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060name\u0060 to \u0060\u0027Address\u0027\u0060 in one and \u0060\u0027Height\u0027\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060bitwindow/lib/pages/wallet/wallet_receive.dart:322\u0060 calls \u0060SailTableHeaderCell\u0060, \u0060onSort\u0060 and \u0060bitwindow/lib/pages/wallet/wallet_receive.dart:321\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":"bbc/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"21780c98b0785c4a9189a31f09553166e91afd8a5a7901c0eafaf792818ef43f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201334 lines \u00D7 3): sail_ui/lib/shell/sidechain_conf_editor_viewmodel.dart:137-168 | sail_ui/lib/viewmodels/bitcoin_config_editor_viewmodel.dart:249-282 | sail_ui/lib/viewmodels/enforcer_config_editor_viewmodel.dart:157-188 \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. 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":"sail_ui/lib/shell/sidechain_conf_editor_viewmodel.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d13351946947b0b618fc231559f9735d7428c15086ac8c9f523c25cd8cf717"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): sail_ui/lib/widgets/config_editor/actual_config_panel.dart:56-88 | sail_ui/lib/widgets/enforcer_config_editor/actual_config_panel.dart:56-88 \u2014 \u0060sail_ui/lib/widgets/config_editor/actual_config_panel.dart\u0060 and \u0060sail_ui/lib/widgets/enforcer_config_editor/actual_config_panel.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 75 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"sail_ui/lib/widgets/config_editor/actual_config_panel.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c573d83449220d5499681b9b784af21d738681f3ce761f772a29179935ac57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): bitwindow/lib/pages/debug_window.dart:536-567 | sail_ui/lib/widgets/debug/sidechain_debug_window.dart:321-352 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/debug_window.dart\u0060 and \u0060sail_ui/lib/widgets/debug/sidechain_debug_window.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 76 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 \u0060bitwindow/lib/pages/debug_window.dart:536\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":"bitwindow/lib/pages/debug_window.dart"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d21ee7ad1646c77e7b3fc8c86b7b578b5da3ff275b5e20fbd2243337321667"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:1197-1228 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:1316-1347 \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 \u0060zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:1197\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":"zside/lib/widgets/containers/tabs/zside_tab_widgets.dart"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f37373271596a1a05c06b29b048652ebfcf4449bf69a8510921ce0db16b2831"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201331 lines \u00D7 2): bitwindow/lib/pages/root_page.dart:1471-1499 | bitwindow/lib/pages/root_page.dart:1524-1554 \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 \u0060bitwindow/lib/pages/root_page.dart:1471\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":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"479365e6ef1a18a1583fef65b64c960eb0ee793a56d069d1ce00ff4c39145ca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): bitwindow/lib/widgets/hash_calculator_modal.dart:609-638 | bitwindow/lib/widgets/hash_calculator_modal.dart:642-671 \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 \u0060bitwindow/lib/widgets/hash_calculator_modal.dart:609\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":"bitwindow/lib/widgets/hash_calculator_modal.dart"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"82fdb1af24fd2e7f0f96a02d96d63fd4ead9098b2e584ab3a7f86fd2b0a80694"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): sail_ui/lib/widgets/components/progress_step_tile.dart:34-63 | sail_ui/lib/widgets/dialogs/network_swap_progress_dialog.dart:170-199 \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 \u0060sail_ui/lib/widgets/components/progress_step_tile.dart:34\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":"sail_ui/lib/widgets/components/progress_step_tile.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5264e17bb79cdd93deac6e08f0b247cdcf86428edb3423a0933326cd6f3d5b53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:702-729 | bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:832-859 \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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"22db80ecc6ce06c420d6b84cccd7c3f6a0d3678c68652221a0e23c7d98bdb120"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): sail_ui/lib/widgets/config_editor/configurator_panel.dart:263-290 | sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart:208-235 \u2014 \u0060sail_ui/lib/widgets/config_editor/configurator_panel.dart\u0060 and \u0060sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 147 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/widgets/config_editor/configurator_panel.dart:263\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":"sail_ui/lib/widgets/config_editor/configurator_panel.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb09056be874696111d688941a1869594a3aff68c01ec1ac82dd7ab8a3b5b5a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): sail_ui/lib/pages/bitcoin_conf_editor_page.dart:124-150 | sail_ui/lib/pages/enforcer_conf_editor_page.dart:150-176 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/bitcoin_conf_editor_page.dart\u0060 and \u0060sail_ui/lib/pages/enforcer_conf_editor_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/pages/bitcoin_conf_editor_page.dart:124\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":"sail_ui/lib/pages/bitcoin_conf_editor_page.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c133b06217d2e835903dbc536ac82bf8cc38475e52c350f970e2502da23f650"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): zside/lib/pages/tabs/zside/zside_shield_deshield_page.dart:210-236 | zside/lib/pages/tabs/zside/zside_shield_deshield_page.dart:306-332 \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 \u0060zside/lib/pages/tabs/zside/zside_shield_deshield_page.dart:210\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":"zside/lib/pages/tabs/zside/zside_shield_deshield_page.dart"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"563c15edaefe6abf2f4f5a48b40d3e86b510abbbce7fb4d026fde31f914200ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 6): bbc/lib/widgets/homepage_widget_catalog.dart:342-367 | coinshift/lib/widgets/homepage_widget_catalog.dart:485-510 | photon/lib/widgets/homepage_widget_catalog.dart:362-387 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:836-861 | thunder/lib/widgets/homepage_widget_catalog.dart:365-390 | truthcoin/lib/widgets/homepage_widget_catalog.dart:375-400 \u2014 before extracting anything, compare \u0060bbc/lib/widgets/homepage_widget_catalog.dart\u0060 and \u0060coinshift/lib/widgets/homepage_widget_catalog.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 187 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bbc/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79ef1ab0cc16d0cb11a4af3e38dd78f7b6c406d81304c8e085d8b64fb78fa47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): bitassets/lib/pages/tabs/auction_browser_page.dart:663-688 | bitassets/lib/pages/tabs/auction_browser_page.dart:788-813 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitassets/lib/pages/tabs/auction_browser_page.dart: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/auction_browser_page.dart"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d81e98fc6849c84e3d82dfba83bd6f000f19241cb53dd324a7e409052f1903d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): bitwindow/lib/utils/ur_key.dart:407-432 | sidechain_core/lib/utils/ur_psbt.dart:282-307 \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":"bitwindow/lib/utils/ur_key.dart"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeaa730e7ef8ceaf72a94fa44459e5eb7e639ca6503d930eb3f26f81d2086421"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): bitassets/lib/pages/tabs/asset_explorer_page.dart:332-356 | bitassets/lib/pages/tabs/auction_browser_page.dart:310-334 \u2014 before extracting anything, compare \u0060bitassets/lib/pages/tabs/asset_explorer_page.dart\u0060 and \u0060bitassets/lib/pages/tabs/auction_browser_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitassets/lib/pages/tabs/asset_explorer_page.dart:332\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060bitassets/lib/pages/tabs/asset_explorer_page.dart:331\u0060 calls \u0060withValues\u0060 and \u0060bitassets/lib/pages/tabs/auction_browser_page.dart:309\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/asset_explorer_page.dart"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e329b0bad2e630e911a0bbecd66c2a9553cede76f4d4e73128c900e0ee1919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201325 lines \u00D7 2): bitwindow/lib/pages/explorer/block_explorer_dialog.dart:718-742 | bitwindow/lib/pages/explorer/widgets/transaction_flow_diagram.dart:346-364 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/explorer/block_explorer_dialog.dart:718\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/explorer/block_explorer_dialog.dart"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"11352a9d26aa0e3476af7ed6ec0aa3199ef85d0f4b29c74fd4f36b1d737869d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): sail_ui/lib/pages/datadir_setup_page.dart:125-148 | sail_ui/lib/pages/network_switch_page.dart:79-103 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/pages/datadir_setup_page.dart:125\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/datadir_setup_page.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7b493bfcec2a61be1e8af89538ef27505221ccea4f9045a255b63714321b3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): sail_ui/lib/widgets/config_editor/actual_config_panel.dart:9-33 | sail_ui/lib/widgets/enforcer_config_editor/actual_config_panel.dart:9-33 \u2014 \u0060sail_ui/lib/widgets/config_editor/actual_config_panel.dart\u0060 and \u0060sail_ui/lib/widgets/enforcer_config_editor/actual_config_panel.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 75 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060viewModel\u0060 to \u0060BitcoinConfigEditorViewModel\u0060 in one and \u0060EnforcerConfigEditorViewModel\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/config_editor/actual_config_panel.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b025e459e5f8b8ff889e653b03bbf53352154f36c0f0baf1a34ddc023d2167"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 2): sail_ui/lib/widgets/config_editor/configurator_panel.dart:214-238 | sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart:166-187 \u2014 \u0060sail_ui/lib/widgets/config_editor/configurator_panel.dart\u0060 and \u0060sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 147 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/widgets/config_editor/configurator_panel.dart:214\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":"sail_ui/lib/widgets/config_editor/configurator_panel.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf6448ad243357012c6adb32e0d2177bb4f9ec1ddc265263d9bb7c371bc05c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 6): bbc/lib/bbc_module.dart:44-67 | coinshift/lib/coinshift_module.dart:59-82 | photon/lib/photon_module.dart:41-64 | thunder/lib/thunder_module.dart:41-64 | truthcoin/lib/truthcoin_module.dart:82-105 | zside/lib/zside_module.dart:74-97 \u2014 before extracting anything, compare \u0060bbc/lib/bbc_module.dart\u0060 and \u0060coinshift/lib/coinshift_module.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 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":"bbc/lib/bbc_module.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d326c63001a3cd77682f37b85ad32dc9ce62897582ab9496fcb15f9b71d85ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): bitwindow/lib/pages/wallet/cash_check_page.dart:187-210 | bitwindow/lib/pages/wallet/check_detail_page.dart:224-247 | bitwindow/lib/pages/wallet/create_check_page.dart:171-194 | bitwindow/lib/widgets/claim_ecx_card.dart:247-270 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/wallet/cash_check_page.dart\u0060 and \u0060bitwindow/lib/pages/wallet/check_detail_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/wallet/cash_check_page.dart:187\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":"bitwindow/lib/pages/wallet/cash_check_page.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"388d6adb6a2c3cbf5d878e070f7c37dd389aeb71859f3c7e53eedbca33a54f2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): bitwindow/lib/pages/settings/settings_reset.dart:82-105 | sail_ui/lib/pages/settings_reset.dart:63-86 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/settings/settings_reset.dart\u0060 and \u0060sail_ui/lib/pages/settings_reset.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 60 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 \u0060bitwindow/lib/pages/settings/settings_reset.dart:82\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":"bitwindow/lib/pages/settings/settings_reset.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"288bd590f7478c4b7b4c87886f2f1849f8a218c1829b38418981dc8eab55218b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): sail_ui/lib/pages/sidechains/bmm_tab.dart:530-553 | sail_ui/lib/pages/sidechains/bmm_tab.dart:889-912 \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 \u0060sail_ui/lib/pages/sidechains/bmm_tab.dart:530\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060context\u0060 to \u0060BuildContext\u0060 in one and \u0060context\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/sidechains/bmm_tab.dart"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f14e20d9d90fe62338858d3769f0c7e205729afeb0b64109a4c94a83adaaa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 5): bbc/lib/widgets/homepage_widget_catalog.dart:257-279 | coinshift/lib/widgets/homepage_widget_catalog.dart:400-422 | photon/lib/widgets/homepage_widget_catalog.dart:277-299 | thunder/lib/widgets/homepage_widget_catalog.dart:280-302 | truthcoin/lib/widgets/homepage_widget_catalog.dart:290-312 \u2014 before extracting anything, compare \u0060bbc/lib/widgets/homepage_widget_catalog.dart\u0060 and \u0060coinshift/lib/widgets/homepage_widget_catalog.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 187 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bbc/lib/widgets/homepage_widget_catalog.dart:257\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bbc/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c7825e1ced756b2f54dcadddc38fb4c718c762da48f07052adfa898cd22d68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:395-417 | bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:491-513 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:395\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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeec12669e6735961657bc0cc136bc217da1f9477f3a8144fbd9fc16bb30f49a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 6): bitassets/lib/pages/tabs/dutch_auction_page.dart:332-352 | bitassets/lib/pages/tabs/reserve_register_page.dart:537-557 | bitnames/lib/pages/tabs/reserve_register_page.dart:574-594 | bitwindow/lib/pages/explorer/block_explorer_dialog.dart:227-247 | bitwindow/lib/pages/wallet/wallet_page.dart:408-428 | zside/lib/widgets/homepage_widget_catalog.dart:722-742 \u2014 before extracting anything, compare \u0060bitassets/lib/pages/tabs/dutch_auction_page.dart\u0060 and \u0060bitassets/lib/pages/tabs/reserve_register_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitassets/lib/pages/tabs/dutch_auction_page.dart:332\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":"bitassets/lib/pages/tabs/dutch_auction_page.dart"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19abfc7521a08a728f1ce883af0ff35ba434b81a1fb0fc409fca9b57f6f3043"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): bitwindow/lib/pages/debug_window.dart:521-541 | bitwindow/lib/pages/debug_window.dart:573-593 | sail_ui/lib/widgets/debug/sidechain_debug_window.dart:306-326 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/debug_window.dart\u0060 and \u0060sail_ui/lib/widgets/debug/sidechain_debug_window.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 76 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 \u0060bitwindow/lib/pages/debug_window.dart:521\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bitwindow/lib/pages/debug_window.dart:593\u0060 calls \u0060SailTableHeaderCell\u0060 and \u0060bitwindow/lib/pages/debug_window.dart:541\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":"bitwindow/lib/pages/debug_window.dart"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"912e7b8e38e549e1bc262ce30fbdca46e42fc353acceb8fe8b0d8d57acf4182c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): bitassets/lib/widgets/asset_issuance_wizard.dart:215-235 | bitassets/lib/widgets/asset_issuance_wizard.dart:390-410 \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 \u0060bitassets/lib/widgets/asset_issuance_wizard.dart:215\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":"bitassets/lib/widgets/asset_issuance_wizard.dart"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"759d38be19bf8fd63af17a8184bfcc058dc31b4b30d378ceb7eb94aa119cc1ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): bitwindow/lib/main.dart:662-679 | sail_ui/lib/pages/shutdown_page.dart:138-158 \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 \u0060bitwindow/lib/main.dart:662\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":"bitwindow/lib/main.dart"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1803a24cc767495386c14a29eb36aad3762239faa76a556035523dfd04815a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): bitwindow/lib/pages/root_page.dart:957-977 | sail_ui/lib/shell/sidechain_home_page.dart:370-389 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/root_page.dart\u0060 and \u0060sail_ui/lib/shell/sidechain_home_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/root_page.dart:957\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":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb2f8fd0aecfcd97b6d5766ac91bc22796f2471ced60cd85c4494b6bbf4cbef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): bitwindow/lib/pages/settings/settings_reset.dart:148-168 | sail_ui/lib/pages/settings_reset.dart:118-138 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/settings/settings_reset.dart\u0060 and \u0060sail_ui/lib/pages/settings_reset.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 60 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 \u0060bitwindow/lib/pages/settings/settings_reset.dart:148\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":"bitwindow/lib/pages/settings/settings_reset.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a7b7fbaab60bab623b91f6d41383985eb231e3aed875a314e88e853413d3cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): sail_ui/lib/pages/l1_restart_page.dart:65-85 | sail_ui/lib/pages/utxo_snapshot_page.dart:87-107 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/l1_restart_page.dart\u0060 and \u0060sail_ui/lib/pages/utxo_snapshot_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/pages/l1_restart_page.dart:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"sail_ui/lib/pages/l1_restart_page.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9c6814daea95ce6df477c5b9f99c499983f1fc3be43e7d47a11d6ebc574e2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:247-267 | zside/lib/widgets/homepage_widget_catalog.dart:430-450 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/sidechains/sidechain_overview_page.dart\u0060 and \u0060zside/lib/widgets/homepage_widget_catalog.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 153 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 \u0060sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:247\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":"sail_ui/lib/pages/sidechains/sidechain_overview_page.dart"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"17721372936161b54ef984f5a7b80ff94aa6bbd97e71e53ea9c7f620e63d6c78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 2): sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:445-465 | zside/lib/widgets/homepage_widget_catalog.dart:630-646 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/sidechains/sidechain_overview_page.dart\u0060 and \u0060zside/lib/widgets/homepage_widget_catalog.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 153 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 \u0060sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:445\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":"sail_ui/lib/pages/sidechains/sidechain_overview_page.dart"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6883d60480cfe2549a32ca62ed81b127233f08b4772b0bebc3f52da2dd1925c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201321 lines \u00D7 2): sail_ui/lib/shell/sidechain_home_page.dart:182-194 | sail_ui/lib/shell/sidechain_home_page.dart:218-238 \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 \u0060sail_ui/lib/shell/sidechain_home_page.dart:182\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060label\u0060 to \u0060\u0027Console\u0027\u0060 in one and \u0060\u0027Settings\u0027\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/shell/sidechain_home_page.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ccaaa79c0269cdfcc53f778af5bd0260c653c08281349aaa594427ffeb0af9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): sail_ui/lib/style/color.dart:151-171 | sail_ui/lib/style/color.dart:200-220 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/style/color.dart:151\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, \u0060sail_ui/lib/style/color.dart:148\u0060 calls \u0060withValues\u0060 and \u0060sail_ui/lib/style/color.dart:197\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":"sail_ui/lib/style/color.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6abf333cc48986f0da11da83dcb484719b1a9e415cb4a8eb307da3635f9b495b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): sail_ui/lib/widgets/wallet_backup_restore.dart:167-186 | sail_ui/lib/widgets/wallet_backup_restore.dart:1042-1062 \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 \u0060sail_ui/lib/widgets/wallet_backup_restore.dart:167\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"sail_ui/lib/widgets/wallet_backup_restore.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4028440fb06703534bb50d05f9e2ffefea6cc7a1322c89d2c0b1d537400664f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 5): bbc/lib/widgets/homepage_widget_catalog.dart:281-305 | coinshift/lib/widgets/homepage_widget_catalog.dart:424-448 | photon/lib/widgets/homepage_widget_catalog.dart:301-325 | thunder/lib/widgets/homepage_widget_catalog.dart:304-328 | truthcoin/lib/widgets/homepage_widget_catalog.dart:314-338 \u2014 before extracting anything, compare \u0060bbc/lib/widgets/homepage_widget_catalog.dart\u0060 and \u0060coinshift/lib/widgets/homepage_widget_catalog.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 187 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bbc/lib/widgets/homepage_widget_catalog.dart:281\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bbc/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fccad9c588cf7172f28e0313b08f21fb8b5fa0d5966bfce4455ef48d8e71f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): sail_ui/lib/pages/bitcoin_conf_editor_page.dart:45-64 | sail_ui/lib/pages/enforcer_conf_editor_page.dart:46-65 | sail_ui/lib/shell/sidechain_conf_editor_page.dart:54-72 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/bitcoin_conf_editor_page.dart\u0060 and \u0060sail_ui/lib/pages/enforcer_conf_editor_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/shell/sidechain_conf_editor_page.dart:54\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/bitcoin_conf_editor_page.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b0af84a5d6ef0a353f0d6f6c822f0ead3fafb2e50e8bc6e311e71dc23f83bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): bitwindow/lib/dialogs/merkle_tree_dialog.dart:513-532 | bitwindow/lib/dialogs/merkle_tree_dialog.dart:536-555 \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 \u0060bitwindow/lib/dialogs/merkle_tree_dialog.dart:513\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/dialogs/merkle_tree_dialog.dart"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d008169c5681878e6c8df661222a33165216879977698308b9d19743385be8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): sail_ui/lib/widgets/debug/sidechain_debug_window.dart:164-183 | sail_ui/lib/widgets/debug/sidechain_debug_window.dart:479-496 \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 \u0060sail_ui/lib/widgets/debug/sidechain_debug_window.dart:164\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/debug/sidechain_debug_window.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0bcb99a8a7e91b7da77c6361932cde9cc3daa362ce4040816da944dc47dd325"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): sail_ui/lib/widgets/inputs/dropdown_menu.dart:207-226 | sail_ui/lib/widgets/inputs/dropdown_menu.dart:480-499 \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 \u0060sail_ui/lib/widgets/inputs/dropdown_menu.dart:207\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/inputs/dropdown_menu.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"79153fb33f0c11f92ae3abb492fbf7cf317635cbd5bcf952f2cb665939de4b37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5): sidechain_core/lib/rpcs/coinshift_rpc.dart:148-166 | sidechain_core/lib/rpcs/photon_rpc.dart:106-124 | sidechain_core/lib/rpcs/thunder_rpc.dart:100-118 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:299-317 | sidechain_core/lib/rpcs/zside_rpc.dart:148-166 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/coinshift_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/photon_rpc.dart\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sidechain_core/lib/rpcs/coinshift_rpc.dart:148\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":"sidechain_core/lib/rpcs/coinshift_rpc.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3daeab5cc319b3ccc1127cdb2a00fcb4634810c50d906f2c328c6fc5cf4069b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): bitwindow/lib/pages/settings/network_swap_page.dart:208-226 | sail_ui/lib/pages/l1_restart_page.dart:172-190 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/settings/network_swap_page.dart\u0060 and \u0060sail_ui/lib/pages/l1_restart_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 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 \u0060bitwindow/lib/pages/settings/network_swap_page.dart:208\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":"bitwindow/lib/pages/settings/network_swap_page.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb3724f32a5e7fb95721425805c72b04190faba1fb28d8a4cdb751f5d8a4b69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:660-678 | bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:738-756 \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 \u0060bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:660\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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a378123c7f3059b443ca15c8f6782568346ca16cc33fdd28353576cc2ec5433"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): sail_ui/lib/widgets/inputs/checkbox.dart:138-155 | sail_ui/lib/widgets/inputs/radio_button.dart:146-164 \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 \u0060sail_ui/lib/widgets/inputs/checkbox.dart:138\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":"sail_ui/lib/widgets/inputs/checkbox.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c536b114a0f5f6312ca7dfb9a20e1ae656d2c0498208db7c4a3f33fcc98afe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): sail_ui/lib/widgets/wallet_backup_restore.dart:225-243 | sail_ui/lib/widgets/wallet_backup_restore.dart:1101-1119 \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 \u0060sail_ui/lib/widgets/wallet_backup_restore.dart:225\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":"sail_ui/lib/widgets/wallet_backup_restore.dart"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5d5c3b94dbcfc63114cca534a83231591625c8102a5c4727d2662df8f2a12b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): sidechain_core/lib/rpcs/bitassets_rpc.dart:268-286 | sidechain_core/lib/rpcs/bitnames_rpc.dart:195-213 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart:268\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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a3bfb622bfe4e8bdf607a163e159e718527511443d86425f0ed30f9f2ecba9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): zside/lib/pages/tabs/zside/zside_shield_deshield_page.dart:190-208 | zside/lib/pages/tabs/zside/zside_shield_deshield_page.dart:286-304 \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":"zside/lib/pages/tabs/zside/zside_shield_deshield_page.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"344e8b0643725d569914411283f60f215fab283eae7776a45b52e958bb753985"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 7): bitassets/lib/pages/tabs/dutch_auction_page.dart:328-345 | bitassets/lib/pages/tabs/reserve_register_page.dart:533-550 | bitnames/lib/pages/tabs/reserve_register_page.dart:570-587 | bitwindow/lib/pages/explorer/block_explorer_dialog.dart:223-240 | bitwindow/lib/pages/wallet/wallet_page.dart:404-421 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:558-572 | zside/lib/widgets/homepage_widget_catalog.dart:718-735 \u2014 before extracting anything, compare \u0060bitassets/lib/pages/tabs/dutch_auction_page.dart\u0060 and \u0060bitassets/lib/pages/tabs/reserve_register_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitassets/lib/pages/tabs/dutch_auction_page.dart:328\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/dutch_auction_page.dart"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbf7c3d29dbb1e85ad1d5318872539eefb8a0893d3f8c7c01a4ec5ee89c1538"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): bbc/lib/widgets/homepage_widget_catalog.dart:182-199 | coinshift/lib/widgets/homepage_widget_catalog.dart:326-343 | photon/lib/widgets/homepage_widget_catalog.dart:202-219 | thunder/lib/widgets/homepage_widget_catalog.dart:205-222 | truthcoin/lib/widgets/homepage_widget_catalog.dart:215-232 \u2014 before extracting anything, compare \u0060bbc/lib/widgets/homepage_widget_catalog.dart\u0060 and \u0060coinshift/lib/widgets/homepage_widget_catalog.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 187 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bbc/lib/widgets/homepage_widget_catalog.dart:182\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":"bbc/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e088f91b08feeee3c74dad9866ead89585aa1749eb076b6ae15ea2b0d6ab6ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 4): bitwindow/lib/pages/overview_page.dart:316-329 | bitwindow/lib/pages/wallet/denability_page.dart:187-200 | bitwindow/lib/pages/wallet/wallet_overview.dart:289-306 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:771-784 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/overview_page.dart\u0060 and \u0060bitwindow/lib/pages/wallet/denability_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/overview_page.dart:316\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, \u0060bitwindow/lib/pages/wallet/denability_page.dart:200\u0060 calls \u0060SailTableHeaderCell\u0060, \u0060onSort\u0060 and \u0060bitwindow/lib/pages/wallet/wallet_overview.dart:306\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":"bitwindow/lib/pages/overview_page.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac75109034dfa2519a9a2f0b7133e3ef3f02a24aae6a0a5f28e1b424f62d12fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): bitwindow/lib/dialogs/paper_check_dialog.dart:52-69 | bitwindow/lib/dialogs/paper_wallet_dialog.dart:35-52 \u2014 before extracting anything, compare \u0060bitwindow/lib/dialogs/paper_check_dialog.dart\u0060 and \u0060bitwindow/lib/dialogs/paper_wallet_dialog.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/dialogs/paper_check_dialog.dart:52\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":"bitwindow/lib/dialogs/paper_check_dialog.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"288b1d2e1320e39563ac1227e88beaaace6ee57cf30474b19ab60461ab8a5d19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): bitwindow/lib/dialogs/remove_encryption_dialog.dart:34-51 | bitwindow/lib/pages/remove_encryption_page.dart:27-44 \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 \u0060bitwindow/lib/dialogs/remove_encryption_dialog.dart:34\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":"bitwindow/lib/dialogs/remove_encryption_dialog.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9c508d5472aaa020108bc3f1cfe3bfe92622fb8e732f1111439a90300fe2e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:1359-1375 | bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:1448-1465 \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 \u0060bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:1448\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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"95aacbef5e066572ced27bb6032fbf2eaa6843080579f432479961c6544c88ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): bitwindow/lib/widgets/coinnews.dart:23-40 | bitwindow/lib/widgets/fee_coinnews.dart:34-51 \u2014 before extracting anything, compare \u0060bitwindow/lib/widgets/coinnews.dart\u0060 and \u0060bitwindow/lib/widgets/fee_coinnews.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/widgets/coinnews.dart:23\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/coinnews.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e77680317cd4ecfe83fc01acd4fd78fd06027972766566ad80bbb2f71f37d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): bitwindow/lib/widgets/import_txid_modal.dart:50-66 | bitwindow/lib/widgets/multisig_key_modal.dart:91-108 \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 \u0060bitwindow/lib/widgets/import_txid_modal.dart:50\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":"bitwindow/lib/widgets/import_txid_modal.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1066c168da76c7b0a9243067b6091251b095f620306cae3d7aaaef6c1aea353"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): bitwindow/lib/widgets/starters_tab.dart:234-250 | bitwindow/lib/widgets/starters_tab.dart:266-283 \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 \u0060bitwindow/lib/widgets/starters_tab.dart:234\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":"bitwindow/lib/widgets/starters_tab.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e09896d99028ed3bd16a7f4c07c2d9cd32465eb4d382a2070f3727d4d94485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): sail_ui/lib/pages/l1_restart_page.dart:42-59 | sail_ui/lib/pages/utxo_snapshot_page.dart:64-81 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/l1_restart_page.dart\u0060 and \u0060sail_ui/lib/pages/utxo_snapshot_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/pages/l1_restart_page.dart:42\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":"sail_ui/lib/pages/l1_restart_page.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1a090aa5d57db04087e041ebe7ce6dc9621164167b5e532fc549c08f6931c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:282-299 | zside/lib/widgets/homepage_widget_catalog.dart:461-478 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/sidechains/sidechain_overview_page.dart\u0060 and \u0060zside/lib/widgets/homepage_widget_catalog.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 153 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 \u0060sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:282\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":"sail_ui/lib/pages/sidechains/sidechain_overview_page.dart"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"b142545a443bf834df6fab7156e2f35cc97412c67963c83fc1d878697b13952c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): sail_ui/lib/widgets/components/table.dart:293-310 | sail_ui/lib/widgets/components/table.dart:320-337 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/components/table.dart"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09f1d3606d4ca849bac6d2c3b8321509e754dac086800307a617933890d7b30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6): bbc/lib/widgets/homepage_widget_catalog.dart:253-269 | coinshift/lib/widgets/homepage_widget_catalog.dart:396-412 | photon/lib/widgets/homepage_widget_catalog.dart:273-289 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:721-737 | thunder/lib/widgets/homepage_widget_catalog.dart:276-292 | truthcoin/lib/widgets/homepage_widget_catalog.dart:286-302 \u2014 before extracting anything, compare \u0060bbc/lib/widgets/homepage_widget_catalog.dart\u0060 and \u0060coinshift/lib/widgets/homepage_widget_catalog.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 187 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bbc/lib/widgets/homepage_widget_catalog.dart:253\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":"bbc/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33ff9c06a45befa6abcc2ad93716fdf14be52c42e7383acc338c6c2df8d03bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6): bitwindow/lib/widgets/hash_calculator_modal.dart:407-423 | bitwindow/lib/widgets/hash_calculator_modal.dart:439-455 | bitwindow/lib/widgets/hash_calculator_modal.dart:471-487 | bitwindow/lib/widgets/hash_calculator_modal.dart:503-519 | bitwindow/lib/widgets/hash_calculator_modal.dart:535-551 | bitwindow/lib/widgets/hash_calculator_modal.dart:628-644 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/widgets/hash_calculator_modal.dart:407\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":"bitwindow/lib/widgets/hash_calculator_modal.dart"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd00443f21b5cc91abb89535866fb3b6dc3d694c44a79c9041c437d9cadb45ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): bitassets/lib/pages/tabs/dutch_auction_page.dart:29-45 | bitnames/lib/pages/tabs/reserve_register_page.dart:39-55 | bitnames/lib/pages/tabs/reserve_register_page.dart:346-362 \u2014 before extracting anything, compare \u0060bitassets/lib/pages/tabs/dutch_auction_page.dart\u0060 and \u0060bitnames/lib/pages/tabs/reserve_register_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 56 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 \u0060bitassets/lib/pages/tabs/dutch_auction_page.dart:29\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":"bitassets/lib/pages/tabs/dutch_auction_page.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0455c89c9cbc4d6cb2e44d5fb7916998d961d75da83b5d135eb69781069c7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): bitassets/lib/widgets/amm_analytics_widget.dart:89-105 | bitassets/lib/widgets/portfolio_dashboard.dart:148-164 | bitassets/lib/widgets/transaction_history.dart:87-103 \u2014 before extracting anything, compare \u0060bitassets/lib/widgets/amm_analytics_widget.dart\u0060 and \u0060bitassets/lib/widgets/portfolio_dashboard.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitassets/lib/widgets/amm_analytics_widget.dart:89\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, \u0060bitassets/lib/widgets/portfolio_dashboard.dart:165\u0060 calls \u0060SizedBox\u0060 and \u0060bitassets/lib/widgets/amm_analytics_widget.dart:106\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":"bitassets/lib/widgets/amm_analytics_widget.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d2209bd467b5384230b44f35bcdca083f539144ba2ed6a49b7dd669c43ce26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): zside/lib/widgets/containers/tabs/dashboard_tab_widgets.dart:186-202 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:157-173 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:326-342 \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 \u0060zside/lib/widgets/containers/tabs/dashboard_tab_widgets.dart:186\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":"zside/lib/widgets/containers/tabs/dashboard_tab_widgets.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef09f30c9917b16baad24c13cc506a728397861d6a6ec9351d596067ea06bb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): bitassets/lib/pages/tabs/reserve_register_page.dart:59-75 | bitassets/lib/pages/tabs/reserve_register_page.dart:313-329 \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 \u0060bitassets/lib/pages/tabs/reserve_register_page.dart:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"801da5adbff81dd1975d7b19f863803107a7d764d3c9e30a7e8ca0970a2d37cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): bitnames/lib/pages/tabs/reserve_register_page.dart:84-100 | bitnames/lib/pages/tabs/reserve_register_page.dart:391-407 \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 \u0060bitnames/lib/pages/tabs/reserve_register_page.dart:84\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":"bitnames/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26c9a52a762b6deffe370d92c86e431b344bb1455faee145b4aca13d23956a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): bitwindow/lib/dialogs/paper_check_dialog.dart:450-466 | bitwindow/lib/dialogs/paper_wallet_dialog.dart:228-244 \u2014 before extracting anything, compare \u0060bitwindow/lib/dialogs/paper_check_dialog.dart\u0060 and \u0060bitwindow/lib/dialogs/paper_wallet_dialog.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/dialogs/paper_check_dialog.dart:450\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":"bitwindow/lib/dialogs/paper_check_dialog.dart"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dae2509bb70bc716b50adc6e7a36072b5f3e58668163b7136fbf479d9bfd172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): bitwindow/lib/pages/wallet/cash_check_page.dart:123-139 | bitwindow/lib/pages/wallet/create_check_page.dart:108-123 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/wallet/cash_check_page.dart\u0060 and \u0060bitwindow/lib/pages/wallet/create_check_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/wallet/cash_check_page.dart:123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/cash_check_page.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6375fb583a934c9214ff84f9f350ffcbe8627bae141455af04c5f6760e0108ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): sail_ui/lib/widgets/config_editor/actual_config_panel.dart:38-54 | sail_ui/lib/widgets/enforcer_config_editor/actual_config_panel.dart:38-54 \u2014 \u0060sail_ui/lib/widgets/config_editor/actual_config_panel.dart\u0060 and \u0060sail_ui/lib/widgets/enforcer_config_editor/actual_config_panel.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 75 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/widgets/config_editor/actual_config_panel.dart:38\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060viewModel\u0060 to \u0060BitcoinConfigEditorViewModel\u0060 in one and \u0060EnforcerConfigEditorViewModel\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/config_editor/actual_config_panel.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8afc1d88c18f76599c23e4dc489f914c6d91d92473b92afe63ad91a5fd70f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): sidechain_core/lib/rpcs/bitassets_rpc.dart:519-535 | sidechain_core/lib/rpcs/bitnames_rpc.dart:631-647 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"3288ad9af0aa5c2f540f57232b9d0f2dbddbad2c67ae86a2c026aa4af9f81ee6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:139-155 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:308-324 \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 \u0060zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:139\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":"zside/lib/widgets/containers/tabs/zside_tab_widgets.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ecd8da52edabb0424a6df09b2f289abec8d311a46da37e91ceddc778c3eb8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 8): bitwindow/lib/widgets/hash_calculator_modal.dart:389-404 | bitwindow/lib/widgets/hash_calculator_modal.dart:421-436 | bitwindow/lib/widgets/hash_calculator_modal.dart:453-468 | bitwindow/lib/widgets/hash_calculator_modal.dart:485-500 | bitwindow/lib/widgets/hash_calculator_modal.dart:517-532 | bitwindow/lib/widgets/hash_calculator_modal.dart:549-564 | bitwindow/lib/widgets/hash_calculator_modal.dart:567-582 | bitwindow/lib/widgets/hash_calculator_modal.dart:585-600 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060bitwindow/lib/widgets/hash_calculator_modal.dart:385\u0060 calls \u0060_buildHashResults\u0060 and \u0060bitwindow/lib/widgets/hash_calculator_modal.dart:418\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":"bitwindow/lib/widgets/hash_calculator_modal.dart"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20a1f4b7646808d92491993945ad9f037eff0c2c48f5b62ee6c4a9f50611d5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7): sidechain_core/lib/rpcs/bitassets_rpc.dart:264-279 | sidechain_core/lib/rpcs/bitnames_rpc.dart:191-206 | sidechain_core/lib/rpcs/coinshift_rpc.dart:144-159 | sidechain_core/lib/rpcs/photon_rpc.dart:102-117 | sidechain_core/lib/rpcs/thunder_rpc.dart:96-111 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:295-310 | sidechain_core/lib/rpcs/zside_rpc.dart:144-159 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart:264\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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde179678aaff965038a3c3537360a601bae2bed95e0fd6168293998d3252a03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): bitwindow/lib/pages/overview_page.dart:313-328 | bitwindow/lib/pages/wallet/denability_page.dart:184-199 | bitwindow/lib/pages/wallet/wallet_overview.dart:291-306 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:447-462 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:768-783 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:439-454 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/overview_page.dart\u0060 and \u0060bitwindow/lib/pages/wallet/denability_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/overview_page.dart"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"16255c6d8ff04fa8066d78cd8f1301b566a634588bd1ccfd813ec03d8fc7ab7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): bitwindow/lib/pages/wallet/cash_check_page.dart:161-176 | bitwindow/lib/pages/wallet/check_detail_page.dart:198-213 | bitwindow/lib/pages/wallet/create_check_page.dart:145-160 | bitwindow/lib/widgets/claim_ecx_card.dart:221-236 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/wallet/cash_check_page.dart\u0060 and \u0060bitwindow/lib/pages/wallet/check_detail_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/wallet/cash_check_page.dart:161\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":"bitwindow/lib/pages/wallet/cash_check_page.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8a672bfe12dcb566a228541c489b480343aba8e8038322d6f034aec82dbbb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): zside/lib/widgets/containers/tabs/dashboard_tab_widgets.dart:186-201 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:157-172 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:326-341 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:768-782 \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 \u0060zside/lib/widgets/containers/tabs/dashboard_tab_widgets.dart:186\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:784\u0060 calls \u0060setBusy\u0060 and \u0060zside/lib/widgets/containers/tabs/dashboard_tab_widgets.dart:201\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":"zside/lib/widgets/containers/tabs/dashboard_tab_widgets.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c11f1af234f1d06bf7674cde73838e3f4dbbf40a3103e4f2433dae62aa36ccf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): bitwindow/lib/dialogs/change_password_dialog.dart:72-87 | bitwindow/lib/dialogs/remove_encryption_dialog.dart:49-61 \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 \u0060bitwindow/lib/dialogs/change_password_dialog.dart:72\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":"bitwindow/lib/dialogs/change_password_dialog.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ed6bf071079e7eb60fe762c60058a47eee1bbd9a3b320c529869c1327e5e87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): bitwindow/lib/dialogs/network_statistics_dialog.dart:335-350 | bitwindow/lib/widgets/traffic_graph_widget.dart:189-204 \u2014 before extracting anything, compare \u0060bitwindow/lib/dialogs/network_statistics_dialog.dart\u0060 and \u0060bitwindow/lib/widgets/traffic_graph_widget.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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 \u0060bitwindow/lib/dialogs/network_statistics_dialog.dart:335\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":"bitwindow/lib/dialogs/network_statistics_dialog.dart"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbd3d775d6e36d1207a3899aae6e960538e7ff6f2d6228d771117a19b875c26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): bitwindow/lib/pages/root_page.dart:1487-1502 | bitwindow/lib/pages/root_page.dart:1505-1520 \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 \u0060bitwindow/lib/pages/root_page.dart:1487\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060bitwindow/lib/pages/root_page.dart:1486\u0060 calls \u0060TextSpan\u0060 and \u0060bitwindow/lib/pages/root_page.dart:1504\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":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d3c516d6834fc14acde05fa7b3e70f0dd64fa211e452ba4b61fbeacd04f99e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): bitwindow/lib/pages/wallet/cash_check_page.dart:29-44 | bitwindow/lib/pages/wallet/create_check_page.dart:29-44 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/wallet/cash_check_page.dart\u0060 and \u0060bitwindow/lib/pages/wallet/create_check_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/wallet/cash_check_page.dart:29\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/cash_check_page.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f89a23c28b69fd9cd5026316a8fe160b77020a5532fb92d8e5f29499af7af00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): bitwindow/lib/pages/wallet/create_timestamp_page.dart:103-118 | bitwindow/lib/pages/wallet/verify_timestamp_page.dart:70-84 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/wallet/create_timestamp_page.dart\u0060 and \u0060bitwindow/lib/pages/wallet/verify_timestamp_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/wallet/create_timestamp_page.dart:103\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/create_timestamp_page.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b08fae2b7d16c73c91cb5e75968837efbf03511e9ee049c5cdc54da83d2565"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:358-372 | bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:651-666 \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 \u0060bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:358\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:666\u0060 calls \u0060SailTableHeaderCell\u0060, \u0060onSort\u0060 and \u0060bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:372\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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"323c0cf5afa483c48a97daf7b86433b59e08ee0b100f6af4eb40f2a87eba8194"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:1343-1357 | bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:1430-1445 \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 \u0060bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:1343\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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7383647cbcab900ee3998a51113dd615d8d8614289544934045979e108c72b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): bitwindow/lib/pages/welcome/multisig_config_step.dart:996-1011 | bitwindow/lib/pages/welcome/multisig_config_step.dart:1593-1608 \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 \u0060bitwindow/lib/pages/welcome/multisig_config_step.dart:996\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":"bitwindow/lib/pages/welcome/multisig_config_step.dart"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a138b42421de3e66640780decddb5af5adfcb0545675633273d0c12dfdfee7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): bitwindow/lib/widgets/hash_calculator_modal.dart:200-214 | bitwindow/lib/widgets/hash_calculator_modal.dart:368-383 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"bitwindow/lib/widgets/hash_calculator_modal.dart"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1a536a34a90ce556246b024b3b9f08d48c2ae6fa26e90716049bb03e9ee4ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sidechain_core/lib/rpcs/bitassets_rpc.dart:575-590 | sidechain_core/lib/rpcs/bitnames_rpc.dart:557-572 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38223af31875b052ab6b75a9b5b96a146c485ed860c44406fdb675ee172581c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sidechain_core/lib/rpcs/bitassets_rpc.dart:754-769 | sidechain_core/lib/rpcs/bitnames_rpc.dart:461-476 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a45e659573f45ecb5d3ee2a60406873ec7a2bff1cf98a8919f0aadabad2c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:579-594 | zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:869-884 \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 \u0060zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:579\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":"zside/lib/pages/tabs/zside/zside_melt_cast_page.dart"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"5043d06ddb65471192f78cdc96ea6266109f4fda4900829cf3b2539ea9ddda0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): zside/lib/pages/tabs/zside/zside_transfer_page.dart:486-501 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:664-679 \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 \u0060zside/lib/pages/tabs/zside/zside_transfer_page.dart:486\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":"zside/lib/pages/tabs/zside/zside_transfer_page.dart"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"6826e24a391200a841dd87b0bfc2535a01268c971284f47098bd3c5e1aca63ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): bitwindow/lib/dialogs/paper_check_dialog.dart:519-533 | bitwindow/lib/dialogs/paper_check_dialog.dart:633-647 | bitwindow/lib/dialogs/paper_wallet_dialog.dart:297-311 | bitwindow/lib/dialogs/paper_wallet_dialog.dart:411-425 \u2014 before extracting anything, compare \u0060bitwindow/lib/dialogs/paper_check_dialog.dart\u0060 and \u0060bitwindow/lib/dialogs/paper_wallet_dialog.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/dialogs/paper_check_dialog.dart:519\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":"bitwindow/lib/dialogs/paper_check_dialog.dart"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bf74b070c94c7d9056181375d7627409d3b44c78c9fd3ed36acb576d6e4291"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): bitwindow/lib/dialogs/paper_check_dialog.dart:535-549 | bitwindow/lib/dialogs/paper_check_dialog.dart:649-663 | bitwindow/lib/dialogs/paper_wallet_dialog.dart:313-327 | bitwindow/lib/dialogs/paper_wallet_dialog.dart:427-441 \u2014 before extracting anything, compare \u0060bitwindow/lib/dialogs/paper_check_dialog.dart\u0060 and \u0060bitwindow/lib/dialogs/paper_wallet_dialog.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/dialogs/paper_check_dialog.dart:535\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":"bitwindow/lib/dialogs/paper_check_dialog.dart"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"25647be8f9b328be820860b60e72eca2553fd653af343ba2de97aab772a2a02d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 3): bitwindow/lib/pages/debug_window.dart:167-181 | bitwindow/lib/pages/debug_window.dart:484-498 | sail_ui/lib/widgets/debug/sidechain_debug_window.dart:279-290 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/debug_window.dart\u0060 and \u0060sail_ui/lib/widgets/debug/sidechain_debug_window.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 76 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 \u0060bitwindow/lib/pages/debug_window.dart:167\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"bitwindow/lib/pages/debug_window.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"456f25ba599a812fea1bfc663db3fd56f1820f55f52f5a89eb7cce59a5529e7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): bitwindow/lib/pages/settings/network_swap_page.dart:117-131 | sail_ui/lib/pages/datadir_select_page.dart:75-89 | sail_ui/lib/pages/l1_restart_page.dart:83-97 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/settings/network_swap_page.dart\u0060 and \u0060sail_ui/lib/pages/l1_restart_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 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 \u0060bitwindow/lib/pages/settings/network_swap_page.dart:117\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":"bitwindow/lib/pages/settings/network_swap_page.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c211237c7a7f4ea78cd0b2b4729d10a1ef924e4ccc41bd6f1eabbfdd190f7a34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): bitwindow/lib/widgets/coinnews.dart:27-40 | bitwindow/lib/widgets/fee_coinnews.dart:38-51 | bitwindow/lib/widgets/fee_coinnews.dart:215-229 \u2014 before extracting anything, compare \u0060bitwindow/lib/widgets/coinnews.dart\u0060 and \u0060bitwindow/lib/widgets/fee_coinnews.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/widgets/coinnews.dart:27\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":"bitwindow/lib/widgets/coinnews.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b76524f241c8886f605bf2189f3f5870ece7b52368c2ae0077b45cc2b984c42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): bitwindow/lib/pages/root_page.dart:403-418 | sail_ui/lib/shell/sidechain_home_page.dart:88-103 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/root_page.dart\u0060 and \u0060sail_ui/lib/shell/sidechain_home_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/root_page.dart:403\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":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e5d14b85d7d5b73008cabac887cfb6f453e2ac320e534289556364bee9098f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): bitwindow/lib/pages/settings/settings_reset.dart:46-60 | sail_ui/lib/pages/settings_reset.dart:36-50 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/settings/settings_reset.dart\u0060 and \u0060sail_ui/lib/pages/settings_reset.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 60 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":"bitwindow/lib/pages/settings/settings_reset.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad64b281995c63dad91e8f190f7f069b600e208a8004e09aad2a4241b7f8c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): bitwindow/lib/pages/wallet/bump_fee_dialog.dart:151-165 | bitwindow/lib/pages/wallet/bump_fee_dialog.dart:187-201 \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 \u0060bitwindow/lib/pages/wallet/bump_fee_dialog.dart:151\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":"bitwindow/lib/pages/wallet/bump_fee_dialog.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c990c218c1031b24d0e610afb3a572e6bfcac88b20b2dee4b57d0a20abdcc7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): bitwindow/lib/pages/wallet/cash_check_page.dart:54-68 | bitwindow/lib/pages/wallet/create_check_page.dart:50-64 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/wallet/cash_check_page.dart\u0060 and \u0060bitwindow/lib/pages/wallet/create_check_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/wallet/cash_check_page.dart:54\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":"bitwindow/lib/pages/wallet/cash_check_page.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08f943cb0280bc967fb33f74eecb75d3482bc3ffdb9a1840a353607f0148a4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:367-381 | bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:434-448 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:367\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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f1f93272705b92710df1a4fad87b9f23ed234314f67ad56c2e027b63acb700"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:1322-1335 | bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:1380-1394 \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 \u0060bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:1322\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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":1322}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c9945388d3d3fa19ffdb7c33e8ab02de56c7494e880d829f720f6f94444f03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): bitwindow/lib/widgets/create_multisig_modal.dart:400-414 | bitwindow/lib/widgets/create_multisig_modal.dart:1059-1073 \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 \u0060bitwindow/lib/widgets/create_multisig_modal.dart:400\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":"bitwindow/lib/widgets/create_multisig_modal.dart"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9ebc521e550988e2e48ecd8cdd796131e06a84d702c7e042f8d71fe314adf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): bitwindow/lib/widgets/draft_panel.dart:403-417 | bitwindow/lib/widgets/draft_panel.dart:752-766 \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 \u0060bitwindow/lib/widgets/draft_panel.dart:403\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":"bitwindow/lib/widgets/draft_panel.dart"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7efcd828f1d67adf3962c797239bbb252817941c76b9eba0ddbdd5f7d28ee6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): bitwindow/lib/widgets/proof_of_funds_modal.dart:256-270 | bitwindow/lib/widgets/proof_of_funds_modal.dart:460-474 \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 \u0060bitwindow/lib/widgets/proof_of_funds_modal.dart:256\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":"bitwindow/lib/widgets/proof_of_funds_modal.dart"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b6838fbe489a3cffc22e7b0f3e84f79e5e706384afb8b23ae767752a1657f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sail_ui/lib/pages/sidechains/explorer/explorer_detail.dart:615-629 | sail_ui/lib/pages/sidechains/explorer/withdrawals_tab.dart:147-161 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/sidechains/explorer/explorer_detail.dart\u0060 and \u0060sail_ui/lib/pages/sidechains/explorer/withdrawals_tab.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/pages/sidechains/explorer/explorer_detail.dart:615\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":"sail_ui/lib/pages/sidechains/explorer/explorer_detail.dart"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8918dd3d09a8c996659ed8070950c10bef9fa4f72252b146081c833340529c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sail_ui/lib/widgets/containers/sail_card.dart:137-151 | sail_ui/lib/widgets/containers/sail_card.dart:236-250 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060sail_ui/lib/widgets/containers/sail_card.dart:152\u0060 calls \u0060SizedBox\u0060 and \u0060sail_ui/lib/widgets/containers/sail_card.dart:251\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":"sail_ui/lib/widgets/containers/sail_card.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d10f17bd62fea956a72dbc1701877005ba5b5854057e00c2e9e297a3006d8be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sidechain_core/lib/rpcs/bitassets_rpc.dart:845-859 | sidechain_core/lib/rpcs/bitnames_rpc.dart:445-459 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"384b998e65336be1fb41b95a434a3523f7d86d4a48351fcc8bb8092d3cd13a6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): zside/lib/pages/tabs/zside/zside_transfer_page.dart:387-401 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:576-590 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zside/lib/pages/tabs/zside/zside_transfer_page.dart:387\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":"zside/lib/pages/tabs/zside/zside_transfer_page.dart"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ced59ff57aa85ad85f0ba2869f2a5f43f23fb781167c283efd829387d11fbe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 6): bitwindow/lib/pages/explorer/block_explorer_dialog.dart:123-133 | bitwindow/lib/pages/wallet/denability_page.dart:458-469 | zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:631-642 | zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:982-995 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:505-516 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:683-694 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/wallet/denability_page.dart\u0060 and \u0060zside/lib/pages/tabs/zside/zside_melt_cast_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bitwindow/lib/pages/explorer/block_explorer_dialog.dart:123\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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, \u0060zside/lib/pages/tabs/zside/zside_transfer_page.dart:519\u0060 calls \u0060DetailRow\u0060 and \u0060zside/lib/pages/tabs/zside/zside_transfer_page.dart:697\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":"bitwindow/lib/pages/explorer/block_explorer_dialog.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d48ecdf9989e00e2f4d48a8f2f1ff3ffd4cba1ebd4050524a3a2e8fe994dc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): bitwindow/lib/pages/overview_page.dart:321-334 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:451-464 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:776-789 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:443-456 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:624-637 | zside/lib/widgets/homepage_widget_catalog.dart:632-645 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/overview_page.dart\u0060 and \u0060sail_ui/lib/pages/sidechains/sidechain_overview_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 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 \u0060bitwindow/lib/pages/overview_page.dart:321\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":"bitwindow/lib/pages/overview_page.dart"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f37e2296d0a0b282ef3b34918db135998a46e8e686851de353f79bd657dc61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): sail_ui/lib/pages/sidechains/explorer/chain_explorer_tab.dart:487-500 | sail_ui/lib/pages/sidechains/explorer/explorer_detail.dart:608-621 | sail_ui/lib/pages/sidechains/explorer/withdrawals_tab.dart:140-153 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/sidechains/explorer/explorer_detail.dart\u0060 and \u0060sail_ui/lib/pages/sidechains/explorer/withdrawals_tab.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/pages/sidechains/explorer/chain_explorer_tab.dart:487\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/sidechains/explorer/chain_explorer_tab.dart"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a6edbf24d03ef5f94cce9cb717a9cb65851c906254e44d541ccee58cdff5be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bitwindow/lib/dialogs/paper_check_dialog.dart:269-282 | bitwindow/lib/dialogs/paper_wallet_dialog.dart:158-171 \u2014 before extracting anything, compare \u0060bitwindow/lib/dialogs/paper_check_dialog.dart\u0060 and \u0060bitwindow/lib/dialogs/paper_wallet_dialog.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/dialogs/paper_check_dialog.dart"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"798fa158549b0863c98a7e5ec90515a083067f6148e0a1e6cdb4ece62d5477dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bitwindow/lib/dialogs/paper_check_dialog.dart:376-389 | bitwindow/lib/dialogs/paper_wallet_dialog.dart:188-201 \u2014 before extracting anything, compare \u0060bitwindow/lib/dialogs/paper_check_dialog.dart\u0060 and \u0060bitwindow/lib/dialogs/paper_wallet_dialog.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/dialogs/paper_check_dialog.dart:376\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":"bitwindow/lib/dialogs/paper_check_dialog.dart"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0087b354969ef1f3497155b1ea00771450c97521c9622ba4a77b4d1c8717fd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bitwindow/lib/pages/explorer/widgets/transaction_flow_diagram.dart:155-168 | bitwindow/lib/pages/explorer/widgets/transaction_flow_diagram.dart:187-200 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/explorer/widgets/transaction_flow_diagram.dart:155\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":"bitwindow/lib/pages/explorer/widgets/transaction_flow_diagram.dart"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"64422debd261be6ea38b2e48263b4d40d6223566c55bb9e16d6c023cb8f9cca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bitwindow/lib/pages/success_page.dart:22-35 | sail_ui/lib/pages/unlock_wallet_page.dart:156-169 \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 \u0060bitwindow/lib/pages/success_page.dart:22\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/success_page.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5631883941f807888a2ad0204744495916f3332ca395c728d3605d14c6d3f5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bitwindow/lib/pages/wallet/check_detail_page.dart:446-459 | bitwindow/lib/pages/wallet/check_detail_page.dart:482-495 \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 \u0060bitwindow/lib/pages/wallet/check_detail_page.dart:446\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":"bitwindow/lib/pages/wallet/check_detail_page.dart"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7d528440590c1fb1569463d8f9381eea07273ec859edcd63e803bf17eed099"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bitwindow/lib/pages/wallet/create_timestamp_page.dart:34-47 | bitwindow/lib/pages/wallet/verify_timestamp_page.dart:21-34 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/wallet/create_timestamp_page.dart\u0060 and \u0060bitwindow/lib/pages/wallet/verify_timestamp_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/wallet/create_timestamp_page.dart:34\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":"bitwindow/lib/pages/wallet/create_timestamp_page.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"146a69825d2eaf6c897517130ce5638072a3242e78b449bedd8a78f1e41c337e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bitwindow/lib/pages/wallet/wallet_overview.dart:303-316 | bitwindow/lib/widgets/address_list.dart:318-331 \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 \u0060bitwindow/lib/pages/wallet/wallet_overview.dart:303\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":"bitwindow/lib/pages/wallet/wallet_overview.dart"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5bb76fb2d7841a52612bb2c6f8ea719b842617123349463bce2e400d9c46f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): bitwindow/lib/pages/wallet/wallet_overview.dart:691-704 | bitwindow/lib/widgets/address_list.dart:115-127 \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 \u0060bitwindow/lib/pages/wallet/wallet_overview.dart:691\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060bitwindow/lib/pages/wallet/wallet_overview.dart:689\u0060 calls \u0060_generateCSV\u0060 and \u0060bitwindow/lib/widgets/address_list.dart:114\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":"bitwindow/lib/pages/wallet/wallet_overview.dart"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"da58f9627a4067e254bbf5f8a95786e5f13d852264aa3f449b8d3ff813e5b444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bitwindow/lib/pages/welcome/multisig_config_step.dart:1876-1889 | bitwindow/lib/widgets/draft_panel.dart:931-944 \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 \u0060bitwindow/lib/pages/welcome/multisig_config_step.dart:1876\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":"bitwindow/lib/pages/welcome/multisig_config_step.dart"},"region":{"startLine":1876}}}],"partialFingerprints":{"codehealthFindingId/v1":"13500afdfa48b2e7fe501e282bce32ff6ac19007b5353a372a75bc358941240e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): sail_ui/lib/pages/sidechains/bmm_tab.dart:536-548 | sail_ui/lib/pages/sidechains/bmm_tab.dart:633-646 \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 \u0060sail_ui/lib/pages/sidechains/bmm_tab.dart:536\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":"sail_ui/lib/pages/sidechains/bmm_tab.dart"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"91de7caddfd92087ab2b9aba468973a4a1f93f33f756bc6b22c9e45f7ad7373c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): sail_ui/lib/widgets/config_editor/configurator_panel.dart:329-342 | sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart:253-266 \u2014 \u0060sail_ui/lib/widgets/config_editor/configurator_panel.dart\u0060 and \u0060sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 147 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/widgets/config_editor/configurator_panel.dart:329\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":"sail_ui/lib/widgets/config_editor/configurator_panel.dart"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedb1053400be56f7b433c3761f3532ed4ffa00ba4d243ef2322867782473473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): sail_ui/lib/widgets/core/sail_text.dart:128-141 | sail_ui/lib/widgets/core/sail_text.dart:211-224 \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 \u0060sail_ui/lib/widgets/core/sail_text.dart:128\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"sail_ui/lib/widgets/core/sail_text.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eac9708e141e767c741966b2370393ded9ff98cafdad5f996bded7ea2a05c47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 9): bitwindow/lib/pages/overview_page.dart:312-324 | bitwindow/lib/pages/wallet/denability_page.dart:183-195 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:446-458 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:767-779 | zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:578-590 | zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:868-880 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:438-450 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:623-635 | zside/lib/widgets/homepage_widget_catalog.dart:631-643 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/overview_page.dart\u0060 and \u0060bitwindow/lib/pages/wallet/denability_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/overview_page.dart: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:591\u0060 calls \u0060SailTableHeaderCell\u0060 and \u0060zside/lib/pages/tabs/zside/zside_transfer_page.dart:636\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":"bitwindow/lib/pages/overview_page.dart"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"18907dd48e612c363987eb8e3a67e576c5457ae3af89ce5bcf0da4e596c521e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): bbc/lib/widgets/homepage_widget_catalog.dart:206-218 | coinshift/lib/widgets/homepage_widget_catalog.dart:349-361 | photon/lib/widgets/homepage_widget_catalog.dart:226-238 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:674-686 | thunder/lib/widgets/homepage_widget_catalog.dart:229-241 | truthcoin/lib/widgets/homepage_widget_catalog.dart:239-251 \u2014 before extracting anything, compare \u0060bbc/lib/widgets/homepage_widget_catalog.dart\u0060 and \u0060coinshift/lib/widgets/homepage_widget_catalog.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 187 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"bbc/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee0a57ea7b13c8a531df199e851e2012ccc53927f2104d49c2f9bca85b28982"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): sail_ui/lib/pages/sidechains/explorer/chain_explorer_tab.dart:491-503 | sail_ui/lib/pages/sidechains/explorer/explorer_detail.dart:581-593 | sail_ui/lib/pages/sidechains/explorer/explorer_detail.dart:612-624 | sail_ui/lib/pages/sidechains/explorer/withdrawals_tab.dart:144-156 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/sidechains/explorer/explorer_detail.dart\u0060 and \u0060sail_ui/lib/pages/sidechains/explorer/withdrawals_tab.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/pages/sidechains/explorer/chain_explorer_tab.dart:491\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":"sail_ui/lib/pages/sidechains/explorer/chain_explorer_tab.dart"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e5584182f637b536b425f53c9ef6ad1414339edb752af9b77355793cf1cbd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): bitwindow/lib/pages/settings/network_swap_page.dart:124-136 | sail_ui/lib/pages/l1_restart_page.dart:90-102 | sail_ui/lib/pages/utxo_snapshot_page.dart:110-122 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/settings/network_swap_page.dart\u0060 and \u0060sail_ui/lib/pages/l1_restart_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 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 \u0060bitwindow/lib/pages/settings/network_swap_page.dart:124\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":"bitwindow/lib/pages/settings/network_swap_page.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48809ac09ec6f8ca1507f2163a37fb790dd89b126982b8dac86247c6975f0da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): bitwindow/lib/pages/wallet/denability_page.dart:201-213 | zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:580-592 | zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:870-882 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/wallet/denability_page.dart\u0060 and \u0060zside/lib/pages/tabs/zside/zside_melt_cast_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bitwindow/lib/pages/wallet/denability_page.dart:201\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":"bitwindow/lib/pages/wallet/denability_page.dart"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"77abaef4384a697af5df99212f493e7aeda73d3947b38d8c42af3d9417615e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): bitwindow/lib/pages/wallet/timestamp_detail_page.dart:143-155 | bitwindow/lib/pages/wallet/verify_timestamp_page.dart:162-174 | bitwindow/lib/pages/wallet/wallet_timestamps.dart:163-175 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/timestamp_detail_page.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a323965a8954df09db6e8009c1a1df8e33a8b0f7fd38e0f064a43e8c560102"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): bitwindow/lib/pages/welcome/multisig_config_step.dart:998-1010 | bitwindow/lib/pages/welcome/multisig_config_step.dart:1595-1607 | bitwindow/lib/widgets/import_descriptor_dialog.dart:64-76 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/welcome/multisig_config_step.dart"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de6cf04d33ed2be64de24733eefa42e18c95ff9e39b8e1f6082e009c5beb1d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): sail_ui/lib/shell/sidechain_home_page.dart:181-192 | sail_ui/lib/shell/sidechain_home_page.dart:225-236 | sail_ui/lib/shell/sidechain_home_page.dart:257-269 \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 \u0060sail_ui/lib/shell/sidechain_home_page.dart:181\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060category\u0060 to \u0060\u0027Navigation\u0027\u0060 in one and \u0060\u0027Settings\u0027\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/shell/sidechain_home_page.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"33474007fe6cc90042df6ac54611446f70290bfda7eadf4da905ea3cfd20d79e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): truthcoin/lib/pages/market_detail_page.dart:1344-1356 | truthcoin/lib/pages/market_detail_page.dart:1694-1706 | truthcoin/lib/pages/market_detail_page.dart:1730-1742 \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 \u0060truthcoin/lib/pages/market_detail_page.dart:1344\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, \u0060truthcoin/lib/pages/market_detail_page.dart:1693\u0060 calls \u0060loadPositions\u0060 and \u0060truthcoin/lib/pages/market_detail_page.dart:1343\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":"truthcoin/lib/pages/market_detail_page.dart"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f21fee6cf993a9708abd64f4d5d7a9b58f4554a1ad199cfa848f9e2fce64ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): bitassets/lib/pages/tabs/asset_explorer_page.dart:126-139 | bitassets/lib/pages/tabs/auction_browser_page.dart:143-155 \u2014 before extracting anything, compare \u0060bitassets/lib/pages/tabs/asset_explorer_page.dart\u0060 and \u0060bitassets/lib/pages/tabs/auction_browser_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitassets/lib/pages/tabs/asset_explorer_page.dart:126\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 before the matched lines, \u0060bitassets/lib/pages/tabs/asset_explorer_page.dart:125\u0060 calls \u0060secondary12\u0060 and \u0060bitassets/lib/pages/tabs/auction_browser_page.dart:142\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":"bitassets/lib/pages/tabs/asset_explorer_page.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e545355a566962af850906df6ab5ab94ca582e11d2b22dadedd08621c6bfafd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): bitassets/lib/pages/tabs/asset_explorer_page.dart:225-237 | bitassets/lib/widgets/amm_analytics_widget.dart:300-312 \u2014 before extracting anything, compare \u0060bitassets/lib/pages/tabs/asset_explorer_page.dart\u0060 and \u0060bitassets/lib/widgets/amm_analytics_widget.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bitassets/lib/pages/tabs/asset_explorer_page.dart:225\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":"bitassets/lib/pages/tabs/asset_explorer_page.dart"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfccbc62f9b8cbcd3667ea797c0652a2ef8271be3a313e8d41c2f00979b5baa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): bitassets/lib/widgets/amm_analytics_widget.dart:295-307 | bitassets/lib/widgets/portfolio_dashboard.dart:217-229 \u2014 before extracting anything, compare \u0060bitassets/lib/widgets/amm_analytics_widget.dart\u0060 and \u0060bitassets/lib/widgets/portfolio_dashboard.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitassets/lib/widgets/amm_analytics_widget.dart:295\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":"bitassets/lib/widgets/amm_analytics_widget.dart"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bf006223c4219668014c9aca5ae8b0beacdbdc3eabe983e4ee39733adb0fc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): bitwindow/lib/pages/explorer/block_explorer_dialog.dart:145-157 | bitwindow/lib/pages/explorer/block_explorer_dialog.dart:857-868 \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 \u0060bitwindow/lib/pages/explorer/block_explorer_dialog.dart:145\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":"bitwindow/lib/pages/explorer/block_explorer_dialog.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5882ea7c0e03738de5e6da57a6cae56bec9634e17fc50b50063086cce221a6a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): bitwindow/lib/pages/root_page.dart:136-148 | sail_ui/lib/shell/sidechain_home_page.dart:45-56 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/root_page.dart\u0060 and \u0060sail_ui/lib/shell/sidechain_home_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/root_page.dart:136\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17563171554c860a35453780c821d3d544a1d85b97b00bfdca92555217219f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): bitwindow/lib/pages/root_page.dart:151-163 | sail_ui/lib/shell/sidechain_home_page.dart:68-80 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/root_page.dart\u0060 and \u0060sail_ui/lib/shell/sidechain_home_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/root_page.dart:151\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":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3d60f8373a18ea27ffc284b029917ee523dbc684470985683e04888ebb0eef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): bitwindow/lib/pages/wallet/timestamp_detail_page.dart:168-179 | bitwindow/lib/pages/wallet/timestamp_detail_page.dart:199-211 \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 \u0060bitwindow/lib/pages/wallet/timestamp_detail_page.dart:168\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"bitwindow/lib/pages/wallet/timestamp_detail_page.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"348aae835f686b787b807a92c149f8bbd28eec9e1053b473b469c784e1e66259"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): bitwindow/lib/pages/welcome/multisig_config_step.dart:768-780 | bitwindow/lib/pages/welcome/wallet_backup_page.dart:879-891 \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 \u0060bitwindow/lib/pages/welcome/multisig_config_step.dart:768\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":"bitwindow/lib/pages/welcome/multisig_config_step.dart"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5c25364ff9f58e90c8f81ea64f2d725734b9c01e34a90ad6eb06cabab84eea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): bitwindow/lib/widgets/draft_panel.dart:904-916 | sail_ui/lib/widgets/containers/rename_wallet_dialog.dart:48-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/widgets/draft_panel.dart:904\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":"bitwindow/lib/widgets/draft_panel.dart"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0d513c3c5bfd1cb6d791440134aae29ca43488de2fc2073b82d97fb965930e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): bitwindow/lib/widgets/sign_preview_modal.dart:106-118 | bitwindow/lib/widgets/sign_preview_modal.dart:209-221 \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 \u0060bitwindow/lib/widgets/sign_preview_modal.dart:106\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"bitwindow/lib/widgets/sign_preview_modal.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2de231756cf018f44e5a073331b7e46144abd4ca5aafc3fbf49d34a618c5b6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): sail_ui/lib/pages/log_page.dart:200-211 | sail_ui/lib/pages/log_page.dart:215-227 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/pages/log_page.dart:215\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":"sail_ui/lib/pages/log_page.dart"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c63607f214069e0d703117c3e4d908c4682321c2187b5b5b05a11f0fef3b669"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sail_ui/lib/pages/sidechains/explorer/transaction_broadcast.dart:39-51 | sail_ui/lib/pages/sidechains/explorer/transaction_broadcast.dart:211-223 \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 \u0060sail_ui/lib/pages/sidechains/explorer/transaction_broadcast.dart:39\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/sidechains/explorer/transaction_broadcast.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2b64f494650fde09f76e0878611f009a150d0cd8422d35ff6106a58218e699"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sail_ui/lib/widgets/containers/edit_wallet_dialog.dart:178-190 | sail_ui/lib/widgets/containers/rename_wallet_dialog.dart:74-86 \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 \u0060sail_ui/lib/widgets/containers/edit_wallet_dialog.dart:178\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":"sail_ui/lib/widgets/containers/edit_wallet_dialog.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b19bfd61007c7df09a9ab74261394da1454500d9f418197fe91314bbb7b0a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sail_ui/lib/widgets/core/sail_text.dart:43-55 | sail_ui/lib/widgets/core/sail_text.dart:65-77 \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 \u0060sail_ui/lib/widgets/core/sail_text.dart:43\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":"sail_ui/lib/widgets/core/sail_text.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c9b7c2df78e465389f0df190ae7ae120d209adf16266f0e96cc8b4d62875db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): sail_ui/lib/widgets/dialogs/network_swap_progress_dialog.dart:66-78 | sail_ui/lib/widgets/wallet_backup_restore.dart:512-521 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note 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":"sail_ui/lib/widgets/dialogs/network_swap_progress_dialog.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd98915f4b8062b4d4dc053bd5467dc4d99ac669406aeac85de13d0bf7a125b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sidechain_core/lib/mocks/mocks.dart:709-721 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:557-569 \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 \u0060sidechain_core/lib/mocks/mocks.dart:709\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":"sidechain_core/lib/rpcs/truthcoin_rpc.dart"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a80f8cba85147b022a53fcfe97391c7d035dcb216572aec9c162d9d5bed131"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sidechain_core/lib/rpcs/bitassets_rpc.dart:354-366 | sidechain_core/lib/rpcs/bitnames_rpc.dart:281-293 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3a5b2898df31ea7d120119a919f28d7f44203e45a25d2900cba233044f2efa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7): bitwindow/lib/widgets/hash_calculator_modal.dart:407-418 | bitwindow/lib/widgets/hash_calculator_modal.dart:439-450 | bitwindow/lib/widgets/hash_calculator_modal.dart:471-482 | bitwindow/lib/widgets/hash_calculator_modal.dart:503-514 | bitwindow/lib/widgets/hash_calculator_modal.dart:535-546 | bitwindow/lib/widgets/hash_calculator_modal.dart:628-639 | bitwindow/lib/widgets/hash_calculator_modal.dart:661-672 \u2014 all 7 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 \u0060bitwindow/lib/widgets/hash_calculator_modal.dart:407\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":"bitwindow/lib/widgets/hash_calculator_modal.dart"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f3445032902700cdb3d57c5a6741f36a5c23baf43d28cfdcf92cd83925dce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): bbc/lib/widgets/homepage_widget_catalog.dart:178-189 | coinshift/lib/widgets/homepage_widget_catalog.dart:322-333 | photon/lib/widgets/homepage_widget_catalog.dart:198-209 | thunder/lib/widgets/homepage_widget_catalog.dart:201-212 | truthcoin/lib/widgets/homepage_widget_catalog.dart:211-222 | zside/lib/widgets/homepage_widget_catalog.dart:793-804 \u2014 before extracting anything, compare \u0060bbc/lib/widgets/homepage_widget_catalog.dart\u0060 and \u0060coinshift/lib/widgets/homepage_widget_catalog.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 187 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bbc/lib/widgets/homepage_widget_catalog.dart:178\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":"bbc/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77bcf9347fa4dc05ad970f5e04251306be907329f3b1c7f4961bdc59ac1b4ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): sidechain_core/lib/rpcs/coinshift_rpc.dart:196-207 | sidechain_core/lib/rpcs/photon_rpc.dart:154-165 | sidechain_core/lib/rpcs/thunder_rpc.dart:197-208 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:347-358 | sidechain_core/lib/rpcs/zside_rpc.dart:228-239 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/coinshift_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/photon_rpc.dart\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"sidechain_core/lib/rpcs/coinshift_rpc.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"44cdcaa1e913785b5e88710e4d47f76ca0440b07dffce8d26eb9c925b165a21f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): bitwindow/lib/pages/wallet/denability_page.dart:200-211 | bitwindow/lib/pages/wallet/wallet_overview.dart:299-311 | zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:579-590 | zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:869-880 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/wallet/denability_page.dart\u0060 and \u0060bitwindow/lib/pages/wallet/wallet_overview.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/wallet/wallet_overview.dart:299\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":"bitwindow/lib/pages/wallet/denability_page.dart"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"22924f5ec927fd53da2076ed9bbfde256099eaea54966b1c5280d0a848fe1ec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): bitwindow/lib/widgets/create_multisig_modal.dart:978-989 | bitwindow/lib/widgets/fund_group_modal.dart:49-60 | bitwindow/lib/widgets/import_txid_modal.dart:21-32 | bitwindow/lib/widgets/multisig_key_modal.dart:22-33 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/widgets/create_multisig_modal.dart:978\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":"bitwindow/lib/widgets/create_multisig_modal.dart"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"abcbe62e3421a723ca753111e51b574b6564e8f75c7a87c4b74dd0b5b84ce482"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): bitassets/lib/widgets/amm_analytics_widget.dart:336-347 | bitassets/lib/widgets/portfolio_dashboard.dart:380-391 | bitassets/lib/widgets/transaction_history.dart:142-153 \u2014 before extracting anything, compare \u0060bitassets/lib/widgets/amm_analytics_widget.dart\u0060 and \u0060bitassets/lib/widgets/portfolio_dashboard.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitassets/lib/widgets/amm_analytics_widget.dart:336\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":"bitassets/lib/widgets/amm_analytics_widget.dart"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"effe0824ecde49f11881c71f6b5ae07623d3b2319ccda00a2ccb4ef88052f34c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): bitwindow/lib/dialogs/network_statistics_dialog.dart:178-189 | bitwindow/lib/widgets/network_stats_widget.dart:159-170 | bitwindow/lib/widgets/peers_table_widget.dart:205-216 \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. 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":"bitwindow/lib/dialogs/network_statistics_dialog.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e707bc2a246b4d3fe0a5692626180ad295ccebeed1430c403453d8730735a794"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): photon/lib/pages/tabs/mempool_explorer_page.dart:121-132 | photon/lib/pages/tabs/transaction_builder_page.dart:139-150 | photon/lib/pages/tabs/withdrawals_page.dart:186-197 \u2014 before extracting anything, compare \u0060photon/lib/pages/tabs/mempool_explorer_page.dart\u0060 and \u0060photon/lib/pages/tabs/withdrawals_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"photon/lib/pages/tabs/mempool_explorer_page.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4869dc000677ef35f25ad7c8ced861c2eb05f1d956fd1fc51c09fc531f3256d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): sail_ui/lib/pages/create_wallet_page.dart:878-889 | sail_ui/lib/pages/unlock_wallet_page.dart:231-242 | sail_ui/lib/widgets/wallet_backup_restore.dart:43-54 \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. 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":"sail_ui/lib/pages/create_wallet_page.dart"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"c311de1532ba1b80982f703b6fadf8181aa53111f7e84f7572502c220f209f66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): bitassets/lib/pages/tabs/reserve_register_page.dart:634-645 | bitnames/lib/pages/tabs/reserve_register_page.dart:690-701 \u2014 before extracting anything, compare \u0060bitassets/lib/pages/tabs/reserve_register_page.dart\u0060 and \u0060bitnames/lib/pages/tabs/reserve_register_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 70 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 \u0060bitassets/lib/pages/tabs/reserve_register_page.dart:634\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":"bitassets/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d8a39d610be1014af81d92f6c16b01bede54ab200229a9e3a330155312adf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): bitassets/lib/widgets/asset_issuance_wizard.dart:169-180 | bitassets/lib/widgets/asset_issuance_wizard.dart:243-254 \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 \u0060bitassets/lib/widgets/asset_issuance_wizard.dart: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. 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":"bitassets/lib/widgets/asset_issuance_wizard.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e647fa2f6670f77aeeb1893872db8cec046f77e39c6504ed172f707e683fb65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): bitwindow/lib/dialogs/change_password_dialog.dart:156-167 | bitwindow/lib/dialogs/encrypt_wallet_dialog.dart:148-159 \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 \u0060bitwindow/lib/dialogs/change_password_dialog.dart:156\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/dialogs/change_password_dialog.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80a92c54edc7e1b48c516edee38efbe52bf15b209b802548571841ea01781ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): bitwindow/lib/dialogs/merkle_tree_dialog.dart:258-269 | bitwindow/lib/dialogs/merkle_tree_dialog.dart:483-493 \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 \u0060bitwindow/lib/dialogs/merkle_tree_dialog.dart:258\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/dialogs/merkle_tree_dialog.dart"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"606af0b263bec0ca681bc2b0995d4ed35f05b897b1d81634d6c229d0ac2ba1b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): bitwindow/lib/dialogs/network_statistics_dialog.dart:323-334 | bitwindow/lib/widgets/traffic_graph_widget.dart:176-187 \u2014 before extracting anything, compare \u0060bitwindow/lib/dialogs/network_statistics_dialog.dart\u0060 and \u0060bitwindow/lib/widgets/traffic_graph_widget.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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 \u0060bitwindow/lib/dialogs/network_statistics_dialog.dart:323\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":"bitwindow/lib/dialogs/network_statistics_dialog.dart"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"83735a32851ebdbb33d6eaa61554a7db682b532304ac8c3b729f3c9b2b1b4f2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): bitwindow/lib/pages/mining/mining_tab.dart:376-387 | truthcoin/lib/pages/tabs/portfolio_page.dart:207-217 \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":"bitwindow/lib/pages/mining/mining_tab.dart"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"213125040b98e16d0f2ca485dc11986c6e180de3913a5af1bf4666a0534126b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): bitwindow/lib/pages/wallet/wallet_overview.dart:529-540 | bitwindow/lib/pages/wallet/wallet_overview.dart:542-553 | bitwindow/lib/pages/wallet/wallet_overview.dart:554-565 \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 \u0060bitwindow/lib/pages/wallet/wallet_overview.dart:529\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 before the matched lines, \u0060bitwindow/lib/pages/wallet/wallet_overview.dart:529\u0060 calls \u0060Int64\u0060 and \u0060bitwindow/lib/pages/wallet/wallet_overview.dart:554\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":"bitwindow/lib/pages/wallet/wallet_overview.dart"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36ea0324a582319997df7043488e86b8d437a0b4a7297b781e505ad26bf8441"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): bitwindow/lib/pages/wallet/wallet_overview.dart:582-593 | bitwindow/lib/providers/transactions_provider.dart:197-208 \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 \u0060bitwindow/lib/pages/wallet/wallet_overview.dart:582\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. 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":"bitwindow/lib/pages/wallet/wallet_overview.dart"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"2183b3f8c8cba27b12b3ac6900b2a09fb6c3a000ec1e8f285c7f016e8a015a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): bitwindow/lib/pages/wallet/wallet_overview.dart:662-673 | bitwindow/lib/pages/wallet/wallet_receive.dart:518-529 \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 \u0060bitwindow/lib/pages/wallet/wallet_overview.dart:662\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":"bitwindow/lib/pages/wallet/wallet_overview.dart"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ac5a29ff5b50938dad69539df7b5864ce609ff32e37ff5fea9d37e0295e0d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): bitwindow/lib/widgets/claim_ecx_card.dart:428-439 | bitwindow/lib/widgets/claim_ecx_card.dart:534-544 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/widgets/claim_ecx_card.dart:428\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":"bitwindow/lib/widgets/claim_ecx_card.dart"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6167d1b0d925cfbe5e46f220754217a24a2bed9daa442f28678b460ae5dbfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): bitwindow/lib/widgets/coinnews.dart:851-862 | bitwindow/lib/widgets/fee_coinnews.dart:333-344 \u2014 before extracting anything, compare \u0060bitwindow/lib/widgets/coinnews.dart\u0060 and \u0060bitwindow/lib/widgets/fee_coinnews.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/widgets/coinnews.dart:851\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":"bitwindow/lib/widgets/coinnews.dart"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd0bf30734a1c194ea7537440ff0ff63c7e4bf02532334e5afc9aa948d7f744"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): coinshift/lib/widgets/liquidity_monitor_widget.dart:316-327 | truthcoin/lib/pages/market_detail_page.dart:1021-1032 \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 \u0060coinshift/lib/widgets/liquidity_monitor_widget.dart:316\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":"coinshift/lib/widgets/liquidity_monitor_widget.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38f108aa906c14146743cfefa36f8d5d944f473e63b65803f407d2f931c5c49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): coinshift/lib/widgets/swap/swap_list.dart:587-598 | coinshift/lib/widgets/swap/swap_list.dart:613-624 \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 \u0060coinshift/lib/widgets/swap/swap_list.dart:587\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":"coinshift/lib/widgets/swap/swap_list.dart"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba405898b299792cacda5a35f12edfa33e5fd15d4f41e16e7b8f380ad98f0e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sail_ui/lib/pages/l1_restart_page.dart:135-146 | sail_ui/lib/pages/utxo_snapshot_page.dart:164-175 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/l1_restart_page.dart\u0060 and \u0060sail_ui/lib/pages/utxo_snapshot_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/pages/l1_restart_page.dart:135\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":"sail_ui/lib/pages/l1_restart_page.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdca35a9b6d0156635cbe334583c19873bd9cab1157128ad2ae9096eb7e4f52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:493-504 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:476-487 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/sidechains/sidechain_overview_page.dart\u0060 and \u0060zside/lib/pages/tabs/zside/zside_transfer_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 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 \u0060sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:493\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":"sail_ui/lib/pages/sidechains/sidechain_overview_page.dart"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"12eb0e21bfc559547de4e5efadea520609e2e0b62e39d892a298dd6bac518557"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sail_ui/lib/shell/sidechain_conf_editor_viewmodel.dart:68-79 | sail_ui/lib/viewmodels/enforcer_config_editor_viewmodel.dart:68-79 \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 \u0060sail_ui/lib/shell/sidechain_conf_editor_viewmodel.dart:68\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":"sail_ui/lib/shell/sidechain_conf_editor_viewmodel.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70d13b9fabcc8d39759bdc3d3d20310921adc0211c3f96d06bc48bf29eaae0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sail_ui/lib/shell/sidechain_home_page.dart:242-253 | sail_ui/lib/shell/sidechain_home_page.dart:258-270 \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 \u0060sail_ui/lib/shell/sidechain_home_page.dart:242\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060label\u0060 to \u0060\u0027Font Settings\u0027\u0060 in one and \u0060\u0027Bitcoin Unit Settings\u0027\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/shell/sidechain_home_page.dart"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b428f9fa4e5867d149366a0a1d3a553c8518ac0426ea1646172ec031be9703ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sail_ui/lib/widgets/homepage/homepage_builder.dart:120-131 | sail_ui/lib/widgets/homepage/homepage_builder.dart:155-166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/widgets/homepage/homepage_builder.dart:120\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/homepage/homepage_builder.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"78257140c4eae841ba600dca2fc7f44fb50b22821bfbe01250568457f507d237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sail_ui/lib/widgets/inputs/checkbox.dart:46-57 | sail_ui/lib/widgets/inputs/checkbox.dart:81-92 \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 \u0060sail_ui/lib/widgets/inputs/checkbox.dart:46\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/inputs/checkbox.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d917c490ecd1c709895f7dc5773c941e965df18ce9e7d3606337c079d94f74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sail_ui/lib/widgets/inputs/radio_button.dart:48-59 | sail_ui/lib/widgets/inputs/radio_button.dart:93-104 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/widgets/inputs/radio_button.dart:48\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":"sail_ui/lib/widgets/inputs/radio_button.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1b4639d1c8f5bcac4fb325546d3f35e4ffbc70c39ecdb91968714cc378e524"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sail_ui/lib/widgets/transaction_byte_parser.dart:252-263 | sail_ui/lib/widgets/transaction_byte_parser.dart:266-277 \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":"sail_ui/lib/widgets/transaction_byte_parser.dart"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"327d81ed5fc5b39bf00d8c341bfc98745702d2e8b1725c564ba3ada42bb52c6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): truthcoin/lib/widgets/homepage_widget_catalog.dart:432-443 | truthcoin/lib/widgets/trading_position_widget.dart:235-246 \u2014 before extracting anything, compare \u0060truthcoin/lib/widgets/homepage_widget_catalog.dart\u0060 and \u0060truthcoin/lib/widgets/trading_position_widget.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060truthcoin/lib/widgets/homepage_widget_catalog.dart:432\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060truthcoin/lib/widgets/trading_position_widget.dart:234\u0060 calls \u0060of\u0060 and \u0060truthcoin/lib/widgets/homepage_widget_catalog.dart:431\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":"truthcoin/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"c542d250cbe902cf784ad2042d0e7a2130b83e52124e465af984b871ef1441e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:683-694 | zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:741-752 \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 \u0060zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:683\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":"zside/lib/pages/tabs/zside/zside_melt_cast_page.dart"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aed8fe035f9717456b5a74ef5c79b63e13b7f3354ac738bc372b38458149dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:101-112 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:265-276 \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":"zside/lib/widgets/containers/tabs/zside_tab_widgets.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2696b210f17496d62fb793a2d018b336b9d7cf4e2f62263ca0df851a48a70c3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): sidechain_core/lib/rpcs/bitassets_rpc.dart:321-331 | sidechain_core/lib/rpcs/bitnames_rpc.dart:248-258 | sidechain_core/lib/rpcs/photon_rpc.dart:170-180 | sidechain_core/lib/rpcs/thunder_rpc.dart:213-223 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:363-373 | sidechain_core/lib/rpcs/zside_rpc.dart:244-254 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e596fb429d024fa33114a56d7da7e47a4251d9c6a83303bf015905cd43c28a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): bitwindow/lib/pages/settings/network_swap_page.dart:122-132 | sail_ui/lib/pages/datadir_select_page.dart:80-90 | sail_ui/lib/pages/l1_restart_page.dart:88-98 | sail_ui/lib/pages/utxo_snapshot_page.dart:109-118 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/settings/network_swap_page.dart\u0060 and \u0060sail_ui/lib/pages/l1_restart_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 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 \u0060bitwindow/lib/pages/settings/network_swap_page.dart:122\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/settings/network_swap_page.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b35532fd24b9931d374077078a218fbb472cd4a8c61eba4479a2d2283c7f9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): sidechain_core/lib/rpcs/photon_rpc.dart:188-198 | sidechain_core/lib/rpcs/thunder_rpc.dart:231-241 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:381-391 | sidechain_core/lib/rpcs/zside_rpc.dart:262-272 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/photon_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/thunder_rpc.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/photon_rpc.dart"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f56bab9f20629fde3a8faa9f765bd040f35f909813918313421c12b15cecc5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): bitwindow/lib/dialogs/encrypt_wallet_dialog.dart:100-110 | bitwindow/lib/widgets/starters_tab.dart:86-96 | sail_ui/lib/widgets/wallet_backup_restore.dart:1174-1184 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/dialogs/encrypt_wallet_dialog.dart:100\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":"bitwindow/lib/dialogs/encrypt_wallet_dialog.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7acedd70e6ee66adc213eaa0097c297cb0cc2c49e3576750d7729ea46d1821"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): bitwindow/lib/widgets/claim_ecx_card.dart:427-436 | bitwindow/lib/widgets/claim_ecx_card.dart:532-542 | bitwindow/lib/widgets/claim_ecx_card.dart:589-599 \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 \u0060bitwindow/lib/widgets/claim_ecx_card.dart:532\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":"bitwindow/lib/widgets/claim_ecx_card.dart"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"6feaa28fe53f911fe6076fea5ea588acb353c9c42551e2c5381df9c473480b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): bitwindow/lib/pages/debug_window.dart:358-366 | bitwindow/lib/pages/sidechain_activation_management_page.dart:391-401 \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 \u0060bitwindow/lib/pages/debug_window.dart:358\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":"bitwindow/lib/pages/debug_window.dart"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7ebdcb24a2df0f3b578f62f57f821332bc20bc266e5309a5878dd48be54a20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201311 lines \u00D7 2): bitwindow/lib/pages/root_page.dart:512-518 | bitwindow/lib/pages/root_page.dart:1202-1212 \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 \u0060bitwindow/lib/pages/root_page.dart:512\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":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"be31fcfe5b6345a23dbf6899ec8e58f3060e624d1fc28509ba8801212fa7b933"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:593-603 | bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:605-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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"051d44dd6e8e499a1aa565e77e7b4c4097d85950ae13d1dffdd03a7376fb276b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): bitwindow/lib/pages/welcome/multisig_config_step.dart:1863-1873 | bitwindow/lib/widgets/draft_panel.dart:918-928 \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 \u0060bitwindow/lib/pages/welcome/multisig_config_step.dart:1863\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":"bitwindow/lib/pages/welcome/multisig_config_step.dart"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dd296c1c0a8152bf9a472d795e95efb607aaf1b8e951456e3de87cdb0226af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): bitwindow/lib/providers/multisig_provider.dart:455-464 | bitwindow/lib/providers/multisig_provider.dart:590-600 \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 \u0060bitwindow/lib/providers/multisig_provider.dart:590\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":"bitwindow/lib/providers/multisig_provider.dart"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"86baa580827db60cb32069289cce950d95d323e0348a797c5ee5d316faa9abf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): photon/lib/pages/tabs/mempool_explorer_page.dart:17-27 | photon/lib/pages/tabs/withdrawals_page.dart:17-27 \u2014 before extracting anything, compare \u0060photon/lib/pages/tabs/mempool_explorer_page.dart\u0060 and \u0060photon/lib/pages/tabs/withdrawals_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060photon/lib/pages/tabs/mempool_explorer_page.dart:17\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"photon/lib/pages/tabs/mempool_explorer_page.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b76d01f346ba00cec1fb38353b4ccb1f4c5b237793f55cf230835f8d9771a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sail_ui/lib/pages/create_wallet_page.dart:215-225 | sail_ui/lib/pages/create_wallet_page.dart:448-458 \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 \u0060sail_ui/lib/pages/create_wallet_page.dart:215\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"sail_ui/lib/pages/create_wallet_page.dart"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf767d0dc1917e3e7d6405524fece43ededf550ab7d3430b1a6927463da8f9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sail_ui/lib/shell/sidechain_conf_editor_page.dart:331-341 | sail_ui/lib/widgets/components/setting_row.dart:91-101 \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 \u0060sail_ui/lib/shell/sidechain_conf_editor_page.dart:331\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":"sail_ui/lib/shell/sidechain_conf_editor_page.dart"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb6ccf934e633fcdb65dbe8002718214ff0ae41dfa51235892fe7b64b23566c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): sail_ui/lib/widgets/wallet_backup_restore.dart:730-739 | sail_ui/lib/widgets/wallet_management_dialog.dart:110-120 \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 \u0060sail_ui/lib/widgets/wallet_backup_restore.dart:730\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/wallet_backup_restore.dart"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"144ff0fee6a71ff916f99fcffa8ede8df8ce105e871c529b906dc78ec35ec09b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): sidechain_core/lib/rpcs/bitwindow_api.dart:348-358 | sidechain_core/lib/rpcs/enforcer_rpc.dart:234-243 \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 \u0060sidechain_core/lib/rpcs/bitwindow_api.dart:348\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":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bac6bf7e1db107d91e6e7f32876de00e3d9719972eb50eca6c959f2fd9261d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): truthcoin/lib/pages/market_explorer_page.dart:256-266 | truthcoin/lib/pages/tabs/portfolio_page.dart:180-190 \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 \u0060truthcoin/lib/pages/market_explorer_page.dart:256\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":"truthcoin/lib/pages/market_explorer_page.dart"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"476b0d98d0c9509b842b7056d34c4f6f1f5363c0856decee09baee1b027ab8a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): sidechain_core/lib/config/sidechains.dart:346-355 | sidechain_core/lib/config/sidechains.dart:445-454 | sidechain_core/lib/config/sidechains.dart:544-553 | sidechain_core/lib/config/sidechains.dart:643-652 | sidechain_core/lib/config/sidechains.dart:742-751 | sidechain_core/lib/config/sidechains.dart:841-850 | sidechain_core/lib/config/sidechains.dart:940-949 \u2014 all 7 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 \u0060sidechain_core/lib/config/sidechains.dart:346\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":"sidechain_core/lib/config/sidechains.dart"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"1257fa7744d4a1bad1b98169b4a186897e22d430032dfb499d8fe543f4543791"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): sidechain_core/lib/rpcs/bitassets_rpc.dart:826-835 | sidechain_core/lib/rpcs/bitnames_rpc.dart:403-412 | sidechain_core/lib/rpcs/coinshift_rpc.dart:242-251 | sidechain_core/lib/rpcs/photon_rpc.dart:200-209 | sidechain_core/lib/rpcs/thunder_rpc.dart:243-252 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:393-402 | sidechain_core/lib/rpcs/zside_rpc.dart:274-283 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart:826\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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b77480fce93d5cdc4f98dbda78741e2c951bb4d50577d114371db7bd415ab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): bitassets/lib/pages/tabs/amm_page.dart:278-287 | bitassets/lib/pages/tabs/asset_explorer_page.dart:262-271 | bitassets/lib/pages/tabs/auction_browser_page.dart:874-883 | bitassets/lib/widgets/amm_analytics_widget.dart:448-457 \u2014 before extracting anything, compare \u0060bitassets/lib/pages/tabs/asset_explorer_page.dart\u0060 and \u0060bitassets/lib/pages/tabs/auction_browser_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitassets/lib/pages/tabs/amm_page.dart:278\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":"bitassets/lib/pages/tabs/amm_page.dart"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"08125bb5d1c7e25e8e2053869a1cf1288e968382ac2d7e7f6f392fb1fedae591"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): bitwindow/lib/pages/root_page.dart:223-234 | bitwindow/lib/pages/root_page.dart:236-245 | bitwindow/lib/pages/root_page.dart:247-256 \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 \u0060bitwindow/lib/pages/root_page.dart:223\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060label\u0060 to \u0060\u0027Send Money\u0027\u0060 in one and \u0060\u0027Request Money\u0027\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"59403338c32b6cf304fd8ca98aa044cb10ec8dc3fd83ef2e1d916a5945c1fccf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): bitwindow/lib/pages/wallet/denability_page.dart:393-402 | bitwindow/lib/pages/wallet/denability_page.dart:406-415 | bitwindow/lib/pages/wallet/denability_page.dart:428-437 \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 \u0060bitwindow/lib/pages/wallet/denability_page.dart:393\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":"bitwindow/lib/pages/wallet/denability_page.dart"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5773a32758492c7d1409d09e530be1c9c1f66cda60a78e940aa999638f1eea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): sail_ui/lib/pages/sidechains/explorer/chain_explorer_tab.dart:327-336 | truthcoin/lib/pages/tabs/portfolio_page.dart:279-288 | truthcoin/lib/pages/voting_dashboard_page.dart:426-435 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/pages/sidechains/explorer/chain_explorer_tab.dart:327\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":"sail_ui/lib/pages/sidechains/explorer/chain_explorer_tab.dart"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfe65d116f06ee764bf110ebb86240ea1bd9c5e78821f81621bc3ba9d60e646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bitassets/lib/pages/tabs/reserve_register_page.dart:648-657 | bitnames/lib/pages/tabs/reserve_register_page.dart:704-713 \u2014 before extracting anything, compare \u0060bitassets/lib/pages/tabs/reserve_register_page.dart\u0060 and \u0060bitnames/lib/pages/tabs/reserve_register_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 70 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 \u0060bitassets/lib/pages/tabs/reserve_register_page.dart:648\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":"bitassets/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"58df13b04f34a9d78e3802b67a44cd9473e04122e27f8edf9c00f1a99c6428bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bitnames/lib/pages/tabs/reserve_register_page.dart:73-82 | bitnames/lib/pages/tabs/reserve_register_page.dart:380-389 \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 \u0060bitnames/lib/pages/tabs/reserve_register_page.dart:73\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitnames/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb723dfa0bf600633264c07901163810d9205aabb86aa3dd8b1c24adb34afc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bitnames/lib/pages/tabs/reserve_register_page.dart:102-111 | bitnames/lib/pages/tabs/reserve_register_page.dart:409-418 \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 \u0060bitnames/lib/pages/tabs/reserve_register_page.dart:102\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"bitnames/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc907b6376d63f02c2610879a5fe2731945ad4df2a6f363c79e36c9e356c3473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bitwindow/lib/dialogs/merkle_tree_dialog.dart:350-359 | bitwindow/lib/dialogs/paper_check_dialog.dart:288-297 \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 \u0060bitwindow/lib/dialogs/merkle_tree_dialog.dart:350\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":"bitwindow/lib/dialogs/merkle_tree_dialog.dart"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"743fd357e323e31afd8c2a94b40650b1e14e7e674b4da0581473fdf72cdd7370"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bitwindow/lib/pages/root_page.dart:284-293 | bitwindow/lib/pages/root_page.dart:833-842 \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 \u0060bitwindow/lib/pages/root_page.dart:284\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":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb939116dc2f4ab104f9f2978fc7515c876ad0ea72c23c60f1448213172fbbc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 3): bitwindow/lib/pages/wallet/check_detail_page.dart:316-325 | bitwindow/lib/pages/wallet/check_detail_page.dart:326-335 | bitwindow/lib/pages/wallet/check_detail_page.dart:336-342 \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 \u0060bitwindow/lib/pages/wallet/check_detail_page.dart:336\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":"bitwindow/lib/pages/wallet/check_detail_page.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"471a2e984ed2f70c302500c12c2a1af881da3578795dd836e6a6ee5578ebad86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bitwindow/lib/pages/wallet/denability_page.dart:83-92 | zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:689-698 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/wallet/denability_page.dart\u0060 and \u0060zside/lib/pages/tabs/zside/zside_melt_cast_page.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bitwindow/lib/pages/wallet/denability_page.dart:83\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":"bitwindow/lib/pages/wallet/denability_page.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e91efdba480299be802f262a4ee9afcd624c9324b24db92be60283f9212c10d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:380-388 | bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:676-685 \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 \u0060bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:380\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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f214c7379863ca4a1e880a9249e7275bd4c3d09af85753c36ff9112418dfed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bitwindow/lib/pages/welcome/wallet_backup_page.dart:688-697 | bitwindow/lib/pages/welcome/wallet_backup_page.dart:750-759 \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":"bitwindow/lib/pages/welcome/wallet_backup_page.dart"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"427d031442880aeae0ce2eef3805cc6823b1b833d731cfdd12394333f806f201"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bitwindow/lib/widgets/coinnews.dart:901-910 | bitwindow/lib/widgets/fee_coinnews.dart:362-371 \u2014 before extracting anything, compare \u0060bitwindow/lib/widgets/coinnews.dart\u0060 and \u0060bitwindow/lib/widgets/fee_coinnews.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/widgets/coinnews.dart:901\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, \u0060bitwindow/lib/widgets/coinnews.dart:911\u0060 calls \u0060tryParse\u0060 and \u0060bitwindow/lib/widgets/fee_coinnews.dart:372\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":"bitwindow/lib/widgets/coinnews.dart"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcb8a8a2e37e9aab74e9a10e21465872e4dfc19a37e410a155c48253f9a833b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bitwindow/lib/widgets/combine_broadcast_modal.dart:298-307 | bitwindow/lib/widgets/import_psbt_modal.dart:478-487 \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 \u0060bitwindow/lib/widgets/combine_broadcast_modal.dart:298\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":"bitwindow/lib/widgets/combine_broadcast_modal.dart"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bebeec33e22900378420f392d2d7093002b5c4adb2a5952dcdc03c2582a7e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bitwindow/lib/widgets/create_multisig_modal.dart:337-346 | bitwindow/lib/widgets/create_multisig_modal.dart:1010-1019 \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 \u0060bitwindow/lib/widgets/create_multisig_modal.dart:337\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":"bitwindow/lib/widgets/create_multisig_modal.dart"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"3278b676849d867ad01add98b8a2956e7c8d0ed62d0fb883c3b9921fa4457a3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sail_ui/lib/widgets/core/sail_text.dart:146-155 | sail_ui/lib/widgets/core/sail_text.dart:229-238 \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 \u0060sail_ui/lib/widgets/core/sail_text.dart:146\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":"sail_ui/lib/widgets/core/sail_text.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31a3ccc3cf42b88f3e13f770687f9fb366c0af64c1238a6ff3bbc3fa906d4b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sail_ui/lib/widgets/feedback/sail_toast.dart:249-258 | sail_ui/lib/widgets/feedback/sail_toast.dart:264-273 \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 \u0060sail_ui/lib/widgets/feedback/sail_toast.dart:249\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":"sail_ui/lib/widgets/feedback/sail_toast.dart"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d16ebf54db96a3533706e630f9d4d993eb7aca9cb36b975b095b773b6753e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sidechain_core/lib/providers/binaries/managers/process_manager.dart:204-213 | sidechain_core/lib/providers/binaries/managers/process_manager.dart:241-250 \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 \u0060sidechain_core/lib/providers/binaries/managers/process_manager.dart:204\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":"sidechain_core/lib/providers/binaries/managers/process_manager.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"17753cb9826b3faa23a4fa93dd983ad47db9a24918f417aba48816f630d40473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:24-33 | zside/lib/widgets/containers/tabs/zside_tab_widgets.dart:193-202 \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 \u0060zside/lib/widgets/containers/tabs/zside_tab_widgets.dart: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":"zside/lib/widgets/containers/tabs/zside_tab_widgets.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4a464cc7de9be8f78247b8ef6b555939ed4ebe32570e5621260e6b1292385c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 14): sidechain_core/lib/config/binaries.dart:412-420 | sidechain_core/lib/config/binaries.dart:492-500 | sidechain_core/lib/config/binaries.dart:571-579 | sidechain_core/lib/config/binaries.dart:650-658 | sidechain_core/lib/config/binaries.dart:756-764 | sidechain_core/lib/config/binaries.dart:837-845 | sidechain_core/lib/config/sidechains.dart:239-247 | sidechain_core/lib/config/sidechains.dart:344-352 | sidechain_core/lib/config/sidechains.dart:443-451 | sidechain_core/lib/config/sidechains.dart:542-550 | sidechain_core/lib/config/sidechains.dart:641-649 | sidechain_core/lib/config/sidechains.dart:740-748 | sidechain_core/lib/config/sidechains.dart:839-847 | sidechain_core/lib/config/sidechains.dart:938-946 \u2014 there are 14 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 14 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/config/binaries.dart"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03d6ebcd5cf63737e552ce22128f6aa799d1f1d61016853f0acc2bdfd85f25b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): bitassets/lib/pages/tabs/dutch_auction_page.dart:64-72 | bitassets/lib/pages/tabs/reserve_register_page.dart:77-85 | bitassets/lib/pages/tabs/reserve_register_page.dart:331-339 | bitwindow/lib/pages/wallet/wallet_checks.dart:178-186 | bitwindow/lib/pages/wallet/wallet_timestamps.dart:119-127 | sail_ui/lib/pages/sidechains/bmm_tab.dart:538-546 | sail_ui/lib/pages/sidechains/bmm_tab.dart:635-643 \u2014 before extracting anything, compare \u0060bitassets/lib/pages/tabs/dutch_auction_page.dart\u0060 and \u0060bitassets/lib/pages/tabs/reserve_register_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitassets/lib/pages/tabs/dutch_auction_page.dart:64\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":"bitassets/lib/pages/tabs/dutch_auction_page.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d52ca0462c4bc116d57baf7c0c019a356068a9826bb252d86f58fb72701892"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): sail_ui/lib/pages/sidechains/bmm_tab.dart:540-548 | sail_ui/lib/pages/sidechains/bmm_tab.dart:637-646 | sail_ui/lib/pages/sidechains/bmm_tab.dart:898-906 | sail_ui/lib/pages/sidechains/explorer/chain_explorer_tab.dart:328-336 | truthcoin/lib/pages/tabs/portfolio_page.dart:280-288 | truthcoin/lib/pages/voting_dashboard_page.dart:427-435 \u2014 there are 6 copies across 4 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 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/pages/sidechains/bmm_tab.dart:540\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060context\u0060 to \u0060BuildContext\u0060 in one and \u0060context\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060sail_ui/lib/pages/sidechains/bmm_tab.dart:540\u0060 calls \u0060SailTableHeaderCell\u0060 and \u0060sail_ui/lib/pages/sidechains/bmm_tab.dart:898\u0060 does not \u2014 after which the two agree again for 5 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":"sail_ui/lib/pages/sidechains/bmm_tab.dart"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9914367a44c8c98dce2fada2e94d98997bc2524b69618aa5013f013bca31a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): bitwindow/lib/dialogs/network_statistics_dialog.dart:191-199 | bitwindow/lib/widgets/network_stats_widget.dart:149-157 | bitwindow/lib/widgets/traffic_graph_widget.dart:223-231 | bitwindow/lib/widgets/traffic_graph_widget.dart:265-273 \u2014 before extracting anything, compare \u0060bitwindow/lib/dialogs/network_statistics_dialog.dart\u0060 and \u0060bitwindow/lib/widgets/traffic_graph_widget.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/dialogs/network_statistics_dialog.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"1933a9f442a542e115cb05dfd9629884dcfc8f57e45c1bcb8568659c31eb48c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): bitwindow/lib/dialogs/paper_check_dialog.dart:481-489 | bitwindow/lib/dialogs/paper_check_dialog.dart:578-586 | bitwindow/lib/dialogs/paper_wallet_dialog.dart:259-267 | bitwindow/lib/dialogs/paper_wallet_dialog.dart:356-364 \u2014 before extracting anything, compare \u0060bitwindow/lib/dialogs/paper_check_dialog.dart\u0060 and \u0060bitwindow/lib/dialogs/paper_wallet_dialog.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/dialogs/paper_check_dialog.dart:481\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/dialogs/paper_check_dialog.dart"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"253dd4d9325be9e71bba09c3ae57841a88d7981df9c4c29576399d5bd2db86f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): bitnames/lib/pages/tabs/reserve_register_page.dart:74-82 | bitnames/lib/pages/tabs/reserve_register_page.dart:381-389 | truthcoin/lib/pages/tabs/portfolio_page.dart:210-218 \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 \u0060bitnames/lib/pages/tabs/reserve_register_page.dart:74\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":"bitnames/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff88426d561fec3acae8156d2d1fb899d478a45cf1aa5b3f8ed10105605e2145"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): bitwindow/lib/pages/wallet/wallet_consolidate.dart:269-277 | sail_ui/lib/pages/sidechains/bmm_tab.dart:539-547 | sail_ui/lib/pages/sidechains/bmm_tab.dart:636-644 \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 \u0060bitwindow/lib/pages/wallet/wallet_consolidate.dart:269\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, \u0060bitwindow/lib/pages/wallet/wallet_consolidate.dart:278\u0060 calls \u0060_isFrozen\u0060 and \u0060sail_ui/lib/pages/sidechains/bmm_tab.dart:645\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":"bitwindow/lib/pages/wallet/wallet_consolidate.dart"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"063a36bb065a3d9f1a28f30f5e1fa2de373ec4ecf996278f8aab20c487d481f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 3): bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:366-372 | bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:659-667 | bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:737-745 \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 \u0060bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:366\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:668\u0060 calls \u0060onSort\u0060 and \u0060bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:372\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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e6190ac217cc482cd1c9c87ea3072c92fbb1b5e1f21a9c802e0e20ac0175cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bitassets/lib/pages/tabs/reserve_register_page.dart:624-632 | bitnames/lib/pages/tabs/reserve_register_page.dart:680-688 \u2014 before extracting anything, compare \u0060bitassets/lib/pages/tabs/reserve_register_page.dart\u0060 and \u0060bitnames/lib/pages/tabs/reserve_register_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 70 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 \u0060bitassets/lib/pages/tabs/reserve_register_page.dart:624\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":"bitassets/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"d306552ea9fbb3431e0359e4f49fb17d558d6c714860c57c0a16ead3e96e8ba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bitwindow/lib/pages/explorer/block_explorer_dialog.dart:692-700 | bitwindow/lib/pages/explorer/load_transaction_dialog.dart:298-306 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/explorer/block_explorer_dialog.dart:692\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":"bitwindow/lib/pages/explorer/block_explorer_dialog.dart"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"4beab9761e07aa7baaba8972d44761a87cb7a3c86ea030ada5ea0724b8cd202c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bitwindow/lib/pages/explorer/load_transaction_dialog.dart:274-282 | sail_ui/lib/pages/sidechains/bmm_tab.dart:897-905 \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 \u0060bitwindow/lib/pages/explorer/load_transaction_dialog.dart:274\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":"bitwindow/lib/pages/explorer/load_transaction_dialog.dart"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c1e236d7537d7decb6b9e6783d8e57e14e3131bdd980d5f256ec2b3823dce3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bitwindow/lib/pages/wallet/create_timestamp_page.dart:162-170 | bitwindow/lib/pages/wallet/verify_timestamp_page.dart:130-138 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/wallet/create_timestamp_page.dart\u0060 and \u0060bitwindow/lib/pages/wallet/verify_timestamp_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/wallet/create_timestamp_page.dart:162\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":"bitwindow/lib/pages/wallet/create_timestamp_page.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ac7c82e9172bd1303744301f60a0510767e3ab71048fe3d6a3f9304aa07a70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bitwindow/lib/pages/wallet/wallet_overview.dart:196-204 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:395-403 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/wallet/wallet_overview.dart\u0060 and \u0060sail_ui/lib/pages/sidechains/sidechain_overview_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_overview.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3f15c8dfbcd1c35c8355074aeeb0a918726dfa69acfa360a6484ba07741e37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bitwindow/lib/widgets/import_psbt_modal.dart:541-550 | bitwindow/lib/widgets/psbt_coordinator_modal.dart:131-139 \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 \u0060bitwindow/lib/widgets/import_psbt_modal.dart:541\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":"bitwindow/lib/widgets/import_psbt_modal.dart"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7410dd471ec1960de99d4f66fc59df5bbd2f91d6eb481b8f6deb93629e19561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sail_ui/lib/pages/sidechains/explorer/withdrawals_tab.dart:102-110 | truthcoin/lib/pages/voting_dashboard_page.dart:378-386 \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 \u0060sail_ui/lib/pages/sidechains/explorer/withdrawals_tab.dart:102\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":"sail_ui/lib/pages/sidechains/explorer/withdrawals_tab.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f16ed86b8be4d9a738b5f3496659108d00523545503f88e09d5c2fe6449a72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sail_ui/lib/shell/sidechain_conf_editor_page.dart:278-286 | sail_ui/lib/shell/sidechain_conf_editor_page.dart:289-297 \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 \u0060sail_ui/lib/shell/sidechain_conf_editor_page.dart:278\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":"sail_ui/lib/shell/sidechain_conf_editor_page.dart"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6db88f52cddec71112e351db99a3be6b183f52c0196fc494a60136e1b1f50f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sail_ui/lib/widgets/config_editor/configurator_panel.dart:167-175 | sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart:129-137 \u2014 \u0060sail_ui/lib/widgets/config_editor/configurator_panel.dart\u0060 and \u0060sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 147 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/widgets/config_editor/configurator_panel.dart:167\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/config_editor/configurator_panel.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"395ac844f0dc52e0fdbceb2d487ecc849b325b9d54ef8a504549e6a6a078b43d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sail_ui/lib/widgets/inputs/dropdown_menu.dart:348-356 | sail_ui/lib/widgets/inputs/dropdown_menu.dart:643-651 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"sail_ui/lib/widgets/inputs/dropdown_menu.dart"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"00dbfd73d6c4226375ecd53b5163199247e700cc8529eb000b70bb73d5b65d29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sidechain_core/lib/rpcs/coinshift_rpc.dart:475-483 | sidechain_core/lib/rpcs/coinshift_rpc.dart:626-634 \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":"sidechain_core/lib/rpcs/coinshift_rpc.dart"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe1bf1500005f2de7c28d29396b7a797595aa9de3578d07b61a65bc006cffdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sidechain_core/lib/rpcs/orchestrator_wallet_rpc.dart:705-715 | sidechain_core/lib/rpcs/orchestrator_wallet_rpc.dart:738-748 \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, \u0060sidechain_core/lib/rpcs/orchestrator_wallet_rpc.dart:735\u0060 calls \u0060where\u0060, \u0060toSet\u0060, \u0060GetTransactionDetailsResponse\u0060 and \u0060sidechain_core/lib/rpcs/orchestrator_wallet_rpc.dart:703\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":"sidechain_core/lib/rpcs/orchestrator_wallet_rpc.dart"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a3b488f665b545b521a4da3d8135416b4e3e0666ebd821096f5ae9fa12a97d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): truthcoin/lib/pages/market_detail_page.dart:985-993 | truthcoin/lib/widgets/market_card.dart:287-295 \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 \u0060truthcoin/lib/pages/market_detail_page.dart:985\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":"truthcoin/lib/pages/market_detail_page.dart"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc1a2b0af2605cd113e5e3bab942521f6d6bcf8da1e2cc373ad6a171aa48a49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): truthcoin/lib/widgets/homepage_widget_catalog.dart:529-537 | truthcoin/lib/widgets/trading_position_widget.dart:232-240 \u2014 before extracting anything, compare \u0060truthcoin/lib/widgets/homepage_widget_catalog.dart\u0060 and \u0060truthcoin/lib/widgets/trading_position_widget.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060truthcoin/lib/widgets/homepage_widget_catalog.dart:529\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":"truthcoin/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0af34aa76e58eba21100c8531ed4b975b3e883159d77098f9740aee4026097"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): sidechain_core/lib/rpcs/bitassets_rpc.dart:791-798 | sidechain_core/lib/rpcs/bitnames_rpc.dart:368-375 | sidechain_core/lib/rpcs/coinshift_rpc.dart:280-287 | sidechain_core/lib/rpcs/photon_rpc.dart:238-245 | sidechain_core/lib/rpcs/thunder_rpc.dart:276-283 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:426-433 | sidechain_core/lib/rpcs/zside_rpc.dart:307-314 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"df72a770fea56baeae029bc30a647bef978739f16c3795f72e6108da60dde45a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 6): bbc/lib/widgets/homepage_widget_catalog.dart:310-316 | coinshift/lib/widgets/homepage_widget_catalog.dart:453-459 | photon/lib/widgets/homepage_widget_catalog.dart:330-336 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:794-801 | thunder/lib/widgets/homepage_widget_catalog.dart:333-339 | truthcoin/lib/widgets/homepage_widget_catalog.dart:343-349 \u2014 before extracting anything, compare \u0060bbc/lib/widgets/homepage_widget_catalog.dart\u0060 and \u0060coinshift/lib/widgets/homepage_widget_catalog.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 187 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bbc/lib/widgets/homepage_widget_catalog.dart:310\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":"bbc/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a95102191abcf9eacd87e8b62b0e730ef2d04f0d4fe815b7864d331e6402f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): sidechain_core/lib/rpcs/coinshift_rpc.dart:265-272 | sidechain_core/lib/rpcs/photon_rpc.dart:223-230 | sidechain_core/lib/rpcs/thunder_rpc.dart:261-268 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:411-418 | sidechain_core/lib/rpcs/zside_rpc.dart:292-299 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/coinshift_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/photon_rpc.dart\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"sidechain_core/lib/rpcs/coinshift_rpc.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfc4b27452a983796dfb082c4cd09969076ac36bd017e99924bf96222254572"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): sidechain_core/lib/rpcs/coinshift_rpc.dart:307-314 | sidechain_core/lib/rpcs/photon_rpc.dart:265-272 | sidechain_core/lib/rpcs/thunder_rpc.dart:303-310 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:453-460 | sidechain_core/lib/rpcs/zside_rpc.dart:334-341 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/coinshift_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/photon_rpc.dart\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"sidechain_core/lib/rpcs/coinshift_rpc.dart"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"1821d0ab0cc93faed20686ed5429f7abc58fa4080ebd665303a8f98f6c87d65a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): sidechain_core/lib/rpcs/coinshift_rpc.dart:316-323 | sidechain_core/lib/rpcs/photon_rpc.dart:274-281 | sidechain_core/lib/rpcs/thunder_rpc.dart:312-319 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:462-469 | sidechain_core/lib/rpcs/zside_rpc.dart:343-350 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/coinshift_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/photon_rpc.dart\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"sidechain_core/lib/rpcs/coinshift_rpc.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"db148dac28915e0c96bfe0a131953094f5a423c8699873869976df7be7af9970"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): sail_ui/lib/pages/sidechains/explorer/chain_explorer_tab.dart:327-334 | truthcoin/lib/pages/tabs/portfolio_page.dart:279-286 | truthcoin/lib/pages/voting_dashboard_page.dart:426-433 | truthcoin/lib/widgets/trading_position_widget.dart:105-112 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/pages/sidechains/explorer/chain_explorer_tab.dart:327\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":"sail_ui/lib/pages/sidechains/explorer/chain_explorer_tab.dart"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"486e9567131c001c57ca80551c71d17825b9a49595048771b200a8a9b1b9127b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): sail_ui/lib/pages/sidechains/parent_chain_page.dart:145-152 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:231-238 | zside/lib/widgets/containers/tabs/dashboard_tab_widgets.dart:103-110 | zside/lib/widgets/homepage_widget_catalog.dart:350-357 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/sidechains/sidechain_overview_page.dart\u0060 and \u0060zside/lib/widgets/homepage_widget_catalog.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 153 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 \u0060sail_ui/lib/pages/sidechains/parent_chain_page.dart:145\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":"sail_ui/lib/pages/sidechains/parent_chain_page.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9d11c455dd443d207ca345c99b836667aeda61d083d5be0b98220e900bb3c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): bitwindow/lib/pages/debug_window.dart:537-544 | bitwindow/lib/pages/overview_page.dart:400-407 | sail_ui/lib/widgets/debug/sidechain_debug_window.dart:322-329 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/debug_window.dart\u0060 and \u0060sail_ui/lib/widgets/debug/sidechain_debug_window.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 76 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 \u0060bitwindow/lib/pages/debug_window.dart:537\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/debug_window.dart"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f88d8ab2e8a17e8cd89ed1a0f2801ad6eb49ece3ba71abc2499fc297ffa8a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bitassets/lib/pages/tabs/reserve_register_page.dart:99-106 | bitassets/lib/pages/tabs/reserve_register_page.dart:353-360 \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 \u0060bitassets/lib/pages/tabs/reserve_register_page.dart:99\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":"bitassets/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5245905e72d8f35536aba5dc19f7d82b7c0901f1ae799620c708ac7baa40b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bitwindow/lib/pages/explorer/block_explorer_dialog.dart:671-678 | bitwindow/lib/pages/explorer/block_explorer_dialog.dart:750-757 \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 \u0060bitwindow/lib/pages/explorer/block_explorer_dialog.dart:671\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":"bitwindow/lib/pages/explorer/block_explorer_dialog.dart"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c52d8e85fab5d5619f0c5da150191e9109833633678e1a5b497c6ecad0f387a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bitwindow/lib/signing/psbt_signer.dart:77-84 | bitwindow/lib/widgets/draft_panel.dart:195-202 \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 \u0060bitwindow/lib/signing/psbt_signer.dart:77\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":"bitwindow/lib/signing/psbt_signer.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31abb4a41d0a425451792ce96e0d900f3672637e32ab8504568f8e19f1a1c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bitwindow/lib/widgets/fund_group_modal.dart:71-78 | bitwindow/lib/widgets/psbt_coordinator_modal.dart:136-143 \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 \u0060bitwindow/lib/widgets/fund_group_modal.dart:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bitwindow/lib/widgets/psbt_coordinator_modal.dart:144\u0060 calls \u0060secondary12\u0060 and \u0060bitwindow/lib/widgets/fund_group_modal.dart:79\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":"bitwindow/lib/widgets/fund_group_modal.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dea0f68575444f8c0c21a3b7a2867fcd897efb3af4c99f6628a4db3f5263ffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): sail_ui/lib/widgets/config_editor/configurator_panel.dart:181-188 | sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart:140-146 \u2014 \u0060sail_ui/lib/widgets/config_editor/configurator_panel.dart\u0060 and \u0060sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 147 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sail_ui/lib/widgets/config_editor/configurator_panel.dart:181\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":"sail_ui/lib/widgets/config_editor/configurator_panel.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62eb326fc519995bef76434479dcf657b4e4284dcec0dfa9f590a20ed344cda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sidechain_core/lib/config/binaries.dart:1286-1293 | sidechain_core/lib/config/binaries.dart:1418-1425 \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 \u0060sidechain_core/lib/config/binaries.dart:1286\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":"sidechain_core/lib/config/binaries.dart"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1825677fecf6e1303dfb36cae96fc7f4aba94a751d016186405ce62abc80c00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sidechain_core/lib/rpcs/bitassets_rpc.dart:505-512 | sidechain_core/lib/rpcs/bitnames_rpc.dart:618-625 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"f833747f9aa8bc18506bb769a79f9bf6af17818a2d0a64d0d2f0afde74f6b6ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): truthcoin/lib/widgets/trading_position_widget.dart:14-21 | truthcoin/lib/widgets/trading_position_widget.dart:228-235 \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 \u0060truthcoin/lib/widgets/trading_position_widget.dart: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":"truthcoin/lib/widgets/trading_position_widget.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f777f4eb818e9ab2fef3e8e26585ec47b69781bb543febf341de63944d1f743"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): sidechain_core/lib/rpcs/bitassets_rpc.dart:293-299 | sidechain_core/lib/rpcs/bitnames_rpc.dart:220-226 | sidechain_core/lib/rpcs/coinshift_rpc.dart:173-179 | sidechain_core/lib/rpcs/photon_rpc.dart:131-137 | sidechain_core/lib/rpcs/thunder_rpc.dart:125-131 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:324-330 | sidechain_core/lib/rpcs/zside_rpc.dart:173-179 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2056cc287b639ff251c519d590a0b5fecacc93ba6da874597223e17cf03621"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:366-372 | bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:433-439 | bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:659-667 | bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:737-745 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:366\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:668\u0060 calls \u0060onSort\u0060 and \u0060bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart:372\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":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8b03d5455d264d67bc7aadc13a3a84806e85dc74c4664428cf36c725c6a92d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): bitassets/lib/pages/tabs/auction_browser_page.dart:486-492 | bitassets/lib/widgets/amm_analytics_widget.dart:433-439 | bitassets/lib/widgets/transaction_history.dart:245-251 \u2014 before extracting anything, compare \u0060bitassets/lib/widgets/amm_analytics_widget.dart\u0060 and \u0060bitassets/lib/widgets/transaction_history.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitassets/lib/pages/tabs/auction_browser_page.dart:486\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":"bitassets/lib/pages/tabs/auction_browser_page.dart"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"174e2693cd05a813bc6abc0a209f432c85f79dc6bf508aaa0d2a227f44f45da2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): bitwindow/lib/pages/overview_page.dart:1317-1323 | bitwindow/lib/widgets/combine_broadcast_modal.dart:114-120 | bitwindow/lib/widgets/draft_panel.dart:267-273 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/overview_page.dart"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbce820c5a3a95a85b6c455de6e635a06a6f47e221e483fbc0c4b2ceb267ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bitassets/lib/pages/tabs/messaging_page.dart:19-25 | bitnames/lib/pages/tabs/messaging_page.dart:19-25 \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 \u0060bitassets/lib/pages/tabs/messaging_page.dart:19\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bitassets/lib/pages/tabs/messaging_page.dart:26\u0060 calls \u0060unawaited\u0060, \u0060fetch\u0060 and \u0060bitnames/lib/pages/tabs/messaging_page.dart:26\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":"bitassets/lib/pages/tabs/messaging_page.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb033faef0d0226c718a897554d63e9f0bd35f8e86daabf3690d3848430d44a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bitassets/lib/widgets/amm_analytics_widget.dart:230-236 | bitassets/lib/widgets/asset_issuance_wizard.dart:178-184 \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 \u0060bitassets/lib/widgets/amm_analytics_widget.dart:230\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":"bitassets/lib/widgets/amm_analytics_widget.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1caa0eb0afcbdffef53a513c453b1db3e28408be15327699e801edd90ad4cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bitassets/lib/widgets/asset_issuance_wizard.dart:252-258 | bitwindow/lib/pages/chat_page.dart:602-608 \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 \u0060bitassets/lib/widgets/asset_issuance_wizard.dart:252\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":"bitassets/lib/widgets/asset_issuance_wizard.dart"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6640676c3bae58f0878a7c8c8d67a2515c7f0a55835ab0b91487378384e622"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bitwindow/lib/pages/settings/settings_network.dart:316-322 | bitwindow/lib/pages/settings/settings_node_mode.dart:122-128 \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 \u0060bitwindow/lib/pages/settings/settings_network.dart:316\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":"bitwindow/lib/pages/settings/settings_network.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"36384140f82403d6564195d4ae3b2de2be2219a36e424987e39fa552276a8ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bitwindow/lib/pages/wallet/check_detail_page.dart:95-101 | bitwindow/lib/widgets/airgap_psbt_dialog.dart:47-53 \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":"bitwindow/lib/pages/wallet/check_detail_page.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cdb4bce76034499f38390d0fa6e07795cd7a5a07262e063aa7dea8d6904913"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bitwindow/lib/widgets/fork_countdown_timer.dart:81-87 | sail_ui/lib/widgets/containers/notification_banner.dart:189-195 \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 \u0060bitwindow/lib/widgets/fork_countdown_timer.dart:81\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":"bitwindow/lib/widgets/fork_countdown_timer.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac4fc39dab152d549bbf4d5b0953db6d330e4aa37c5ac4b30a47f9e22e5f851"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sail_ui/lib/widgets/components/sail_area_chart.dart:78-84 | truthcoin/lib/widgets/price_chart.dart:66-72 \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":"sail_ui/lib/widgets/components/sail_area_chart.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d087f0da229bf90b68763b04e26bc46e092da18ef0c9dab9065e670f2a96c8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sail_ui/lib/widgets/config_editor/configurator_panel.dart:75-81 | sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart:57-63 \u2014 \u0060sail_ui/lib/widgets/config_editor/configurator_panel.dart\u0060 and \u0060sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 147 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/config_editor/configurator_panel.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d942897b669442510d059626737299d2d9e7c983cfe2c3f5d333124ee26db151"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sidechain_core/lib/rpcs/bitassets_rpc.dart:480-486 | sidechain_core/lib/rpcs/bitnames_rpc.dart:599-605 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart:480\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"971e1e7e9ee5d7e7b5d8bf4bea24251620e981194c90076694f67066aa126ab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): sidechain_core/lib/rpcs/bitassets_rpc.dart:473-478 | sidechain_core/lib/rpcs/bitassets_rpc.dart:483-488 | sidechain_core/lib/rpcs/bitassets_rpc.dart:493-498 \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 \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart:473\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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40feddeeb8fdd120f713cdcb00e7786a86a3b6c61ae7ad6d88c7be198c096d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bitassets/lib/widgets/transaction_history.dart:259-264 | bitwindow/lib/widgets/coinnews.dart:745-750 \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 \u0060bitassets/lib/widgets/transaction_history.dart:259\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. 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":"bitassets/lib/widgets/transaction_history.dart"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f936f8b6edd107f9baf9b17c8b477bffef3e2f677e0dfc7ce40a7d85c37bff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sidechain_core/lib/rpcs/bitnames_rpc.dart:592-597 | sidechain_core/lib/rpcs/bitnames_rpc.dart:602-607 \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 \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart:592\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":"sidechain_core/lib/rpcs/bitnames_rpc.dart"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0340be33df739c0a12ab8f01409a78871ca8c193da89ce2851f27d97c2a3fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): sidechain_core/lib/rpcs/bitassets_rpc.dart:245-251 | sidechain_core/lib/rpcs/bitnames_rpc.dart:172-178 | sidechain_core/lib/rpcs/photon_rpc.dart:83-89 | sidechain_core/lib/rpcs/thunder_rpc.dart:77-83 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:276-282 | sidechain_core/lib/rpcs/zside_rpc.dart:120-126 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"03541c2d948df31b912e7a3f4bbb26b938cef24ad6255e5126c41b1be20c9a92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): bitwindow/lib/widgets/combine_broadcast_modal.dart:297-302 | bitwindow/lib/widgets/import_psbt_modal.dart:380-385 | bitwindow/lib/widgets/import_psbt_modal.dart:477-482 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bitwindow/lib/widgets/import_psbt_modal.dart:386\u0060 calls \u0060SailRow\u0060, \u0060Expanded\u0060 and \u0060bitwindow/lib/widgets/combine_broadcast_modal.dart:303\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":"bitwindow/lib/widgets/combine_broadcast_modal.dart"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3c3eb2952d90b5d4e7b6df2c53202e924c46a303680bbbdaefaaeb1974ae8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bitassets/lib/widgets/amm_analytics_widget.dart:420-428 | bitassets/lib/widgets/amm_analytics_widget.dart:542-550 \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 \u0060bitassets/lib/widgets/amm_analytics_widget.dart:542\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":"bitassets/lib/widgets/amm_analytics_widget.dart"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2edf9483fa62f3917bc84dc8e490f4dfafd067b85606e4ccf7ae82cf82df6ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sidechain_core/lib/rpcs/bitassets_rpc.dart:404-408 | sidechain_core/lib/rpcs/bitnames_rpc.dart:342-346 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde3f9592fc907c4e46776a4eeb02b403f65be26c3d495a2753086300c6a38ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sidechain_core/lib/rpcs/bitassets_rpc.dart:472-476 | sidechain_core/lib/rpcs/bitnames_rpc.dart:591-595 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15aa2de9f661c9417d5661236c3fbfce179f21cfd00c7987fe44f0acaf11c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): truthcoin/lib/models/market.dart:359-363 | truthcoin/lib/models/voting.dart:429-433 \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":"truthcoin/lib/models/market.dart"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae7efe247e4aedf8c5cf57cbfdf1c83285572e32c8bc243df44778b8f738d73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): bbc/lib/bbc_module.dart:19-26 | bitassets/lib/bitassets_module.dart:23-30 | bitnames/lib/bitnames_module.dart:20-27 | coinshift/lib/coinshift_module.dart:21-28 | photon/lib/photon_module.dart:16-23 | thunder/lib/thunder_module.dart:16-23 | truthcoin/lib/truthcoin_module.dart:25-32 | zside/lib/zside_module.dart:24-31 \u2014 before extracting anything, compare \u0060bbc/lib/bbc_module.dart\u0060 and \u0060coinshift/lib/coinshift_module.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 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":"bbc/lib/bbc_module.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25d176eaebdafcf79aeec4a8de210b584458526128d22ecd2c19fe4736c7e62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): bbc/lib/bbc_module.dart:28-34 | bitassets/lib/bitassets_module.dart:32-38 | bitnames/lib/bitnames_module.dart:29-35 | coinshift/lib/coinshift_module.dart:30-36 | photon/lib/photon_module.dart:25-31 | thunder/lib/thunder_module.dart:25-31 | truthcoin/lib/truthcoin_module.dart:34-40 | zside/lib/zside_module.dart:33-39 \u2014 before extracting anything, compare \u0060bbc/lib/bbc_module.dart\u0060 and \u0060coinshift/lib/coinshift_module.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bbc/lib/bbc_module.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bd7ce47bc6247912b59466b571d93f3e4bfad9f53bddccb1dfbb5f38585b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 13): bbc/lib/widgets/homepage_widget_catalog.dart:241-251 | bitwindow/lib/pages/wallet/denability_page.dart:363-373 | bitwindow/lib/pages/wallet/wallet_utxos.dart:233-243 | bitwindow/lib/widgets/address_list.dart:387-397 | coinshift/lib/widgets/homepage_widget_catalog.dart:384-394 | photon/lib/widgets/homepage_widget_catalog.dart:261-271 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:709-719 | thunder/lib/widgets/homepage_widget_catalog.dart:264-274 | truthcoin/lib/widgets/homepage_widget_catalog.dart:274-284 | zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:534-544 | zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:822-832 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:375-385 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:564-574 \u2014 before extracting anything, compare \u0060bbc/lib/widgets/homepage_widget_catalog.dart\u0060 and \u0060coinshift/lib/widgets/homepage_widget_catalog.dart\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 187 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"bbc/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f2374b9b6ebc7454f4a908103120081f0ae827550942931e6534c7fa1e734c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): bitassets/lib/pages/tabs/asset_explorer_page.dart:675-682 | bitassets/lib/pages/tabs/auction_browser_page.dart:603-610 | bitassets/lib/widgets/amm_analytics_widget.dart:581-588 | bitassets/lib/widgets/portfolio_dashboard.dart:533-540 | bitassets/lib/widgets/transaction_history.dart:288-295 \u2014 before extracting anything, compare \u0060bitassets/lib/pages/tabs/asset_explorer_page.dart\u0060 and \u0060bitassets/lib/pages/tabs/auction_browser_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/asset_explorer_page.dart"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd533604fe125cc4997c7ce9e8085e278be56c8a00d413f1c79c0ebb149b42b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bitwindow/lib/dialogs/paper_check_dialog.dart:136-143 | bitwindow/lib/dialogs/paper_wallet_dialog.dart:54-61 \u2014 before extracting anything, compare \u0060bitwindow/lib/dialogs/paper_check_dialog.dart\u0060 and \u0060bitwindow/lib/dialogs/paper_wallet_dialog.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 315 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/dialogs/paper_check_dialog.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9f6de1ff56fdd82c7e4a8af86309ef433fd14f0262db237a7065d9c70161a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bitwindow/lib/pages/settings_page.dart:20-26 | sail_ui/lib/shell/sidechain_settings_page.dart:14-20 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/settings_page.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdd65ea90157ddcc737a16a2a56149ecf0ee1b6fc541eba4cce224f99a2982d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): bitwindow/lib/pages/wallet/wallet_overview.dart:232-241 | bitwindow/lib/pages/wallet/wallet_receive.dart:290-299 | coinshift/lib/widgets/swap/swap_list.dart:300-309 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:416-425 | zside/lib/widgets/homepage_widget_catalog.dart:575-584 \u2014 before extracting anything, compare \u0060bitwindow/lib/pages/wallet/wallet_overview.dart\u0060 and \u0060sail_ui/lib/pages/sidechains/sidechain_overview_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"bitwindow/lib/pages/wallet/wallet_overview.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8d4c612e46a0ed67e9e78e562f09896689acff1608ce4c2658e26cba9dbaaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bitwindow/lib/pages/wallet/wallet_timestamps.dart:177-182 | sail_ui/lib/widgets/debug/sidechain_debug_window.dart:260-265 \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":"bitwindow/lib/pages/wallet/wallet_timestamps.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1044978ce977591340d4bb3e8d6defe796c5efcd018cb9e6d4f1c8b0427d6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): bitwindow/lib/providers/homepage_provider.dart:16-23 | sail_ui/lib/shell/sidechain_homepage_provider.dart:17-24 | sidechain_core/lib/settings/homepage_configuration_setting.dart:13-20 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/homepage_provider.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5bc2ece46b5195973a72783ca8cccb05e14e7ced637ecf798afc8471988923"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bitwindow/lib/providers/mempool_provider.dart:107-115 | bitwindow/lib/providers/network_provider.dart:89-97 \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":"bitwindow/lib/providers/mempool_provider.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"61df45a2899b0571cf4811a142b18edf6a6ca71ec9e9f30aa1a2a3d64daf1a4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): photon/lib/pages/tabs/mempool_explorer_page.dart:199-209 | photon/lib/pages/tabs/withdrawals_page.dart:233-243 \u2014 before extracting anything, compare \u0060photon/lib/pages/tabs/mempool_explorer_page.dart\u0060 and \u0060photon/lib/pages/tabs/withdrawals_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"photon/lib/pages/tabs/mempool_explorer_page.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2dc6010ab61a9bc616934ef2916d9947d2fa6641f51862d539f0a9446f46b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): photon/lib/pages/tabs/transaction_builder_page.dart:309-318 | sail_ui/lib/pages/sidechains/parent_chain_page.dart:441-450 \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":"photon/lib/pages/tabs/transaction_builder_page.dart"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"367de16e2694faa9bdc4e754e12ecd84ec07844affe7621f52eb14e2a6f27a57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): sail_ui/lib/pages/sidechains/parent_chain_page.dart:230-237 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:323-330 | zside/lib/widgets/homepage_widget_catalog.dart:514-521 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/sidechains/sidechain_overview_page.dart\u0060 and \u0060zside/lib/widgets/homepage_widget_catalog.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 153 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":"sail_ui/lib/pages/sidechains/parent_chain_page.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f0c0c315696a32d2f601190d251697ac824aff8677fc14e9d91f99d3eee5aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sail_ui/lib/pages/sidechains/parent_chain_page.dart:239-248 | sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:332-341 \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":"sail_ui/lib/pages/sidechains/parent_chain_page.dart"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cce92a350b2c4238c1b0c12bde5d7fd2a7af9c8a7ad3676e63c9f9f8e6071fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:584-588 | zside/lib/widgets/homepage_widget_catalog.dart:749-753 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/sidechains/sidechain_overview_page.dart\u0060 and \u0060zside/lib/widgets/homepage_widget_catalog.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 153 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":"sail_ui/lib/pages/sidechains/sidechain_overview_page.dart"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc6b30555bef0a9ffd826b495d9b2e251e2dc65f07454f63a125558da0962ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:598-607 | zside/lib/widgets/homepage_widget_catalog.dart:763-772 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/sidechains/sidechain_overview_page.dart\u0060 and \u0060zside/lib/widgets/homepage_widget_catalog.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 153 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":"sail_ui/lib/pages/sidechains/sidechain_overview_page.dart"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f6ad8f39949d8c7144b3b6bd952674e293764ce30c462166adf36aa8c4cc52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sail_ui/lib/pages/sidechains/sidechain_overview_page.dart:609-615 | zside/lib/widgets/homepage_widget_catalog.dart:774-780 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/sidechains/sidechain_overview_page.dart\u0060 and \u0060zside/lib/widgets/homepage_widget_catalog.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 153 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":"sail_ui/lib/pages/sidechains/sidechain_overview_page.dart"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"287a52a2964be118cf47fbc623afc7a839f21c361674eb8825fb39da2be05791"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sail_ui/lib/widgets/config_editor/configurator_panel.dart:32-37 | sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart:27-32 \u2014 \u0060sail_ui/lib/widgets/config_editor/configurator_panel.dart\u0060 and \u0060sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 147 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060viewModel\u0060 to \u0060BitcoinConfigEditorViewModel\u0060 in one and \u0060EnforcerConfigEditorViewModel\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/config_editor/configurator_panel.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d934464ce4c150e001d11babe9670ea20d3b624a3e2a7e72d1b0319a74cfeeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sail_ui/lib/widgets/config_editor/configurator_panel.dart:39-45 | sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart:34-40 \u2014 \u0060sail_ui/lib/widgets/config_editor/configurator_panel.dart\u0060 and \u0060sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 147 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/config_editor/configurator_panel.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3d29ce472ceede6db43d68893b19633e2bc3bafb7ca8fcc282ab5e93367181"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): sail_ui/lib/widgets/config_editor/configurator_panel.dart:484-489 | sail_ui/lib/widgets/config_editor/configurator_panel.dart:536-541 | sail_ui/lib/widgets/config_editor/configurator_panel.dart:602-607 | sail_ui/lib/widgets/config_editor/configurator_panel.dart:651-656 | sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart:384-389 \u2014 \u0060sail_ui/lib/widgets/config_editor/configurator_panel.dart\u0060 and \u0060sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 147 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/config_editor/configurator_panel.dart"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f1f0a2b2e500af767197dfbc07a09133b78971a9398beee93fac47cb6ec404"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sail_ui/lib/widgets/config_editor/working_config_panel.dart:25-31 | sail_ui/lib/widgets/enforcer_config_editor/working_config_panel.dart:25-31 \u2014 \u0060sail_ui/lib/widgets/config_editor/working_config_panel.dart\u0060 and \u0060sail_ui/lib/widgets/enforcer_config_editor/working_config_panel.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 77 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060viewModel\u0060 to \u0060BitcoinConfigEditorViewModel\u0060 in one and \u0060EnforcerConfigEditorViewModel\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/config_editor/working_config_panel.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c488d28d8379c94f1f5cd53ebf7cfe4565a719c771fde1889edec4e24de7b34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sail_ui/lib/widgets/config_editor/working_config_panel.dart:47-52 | sail_ui/lib/widgets/enforcer_config_editor/working_config_panel.dart:47-52 \u2014 \u0060sail_ui/lib/widgets/config_editor/working_config_panel.dart\u0060 and \u0060sail_ui/lib/widgets/enforcer_config_editor/working_config_panel.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 77 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/config_editor/working_config_panel.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"221616e941c5c7f65a6fcd41e79e549e6878c521f445805543ff7432de538322"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sail_ui/lib/widgets/containers/edit_wallet_dialog.dart:71-77 | sail_ui/lib/widgets/containers/rename_wallet_dialog.dart:25-31 \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":"sail_ui/lib/widgets/containers/edit_wallet_dialog.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f832c98875d1a7e534788844d8c7b91416a6065e0435c9cf2bb65c4861436ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): sidechain_core/lib/providers/backend_sidechain_conf_provider.dart:79-85 | sidechain_core/lib/providers/bitcoin_conf_provider.dart:130-136 | sidechain_core/lib/providers/enforcer_conf_provider.dart:51-57 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 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":"sidechain_core/lib/providers/backend_sidechain_conf_provider.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf685aa38491b0c603da1e9704da36f2f8cf9f5b7696324d3bd220ddc5f5101"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sidechain_core/lib/providers/balance_provider.dart:174-181 | sidechain_core/lib/providers/parentchain/parent_chain_provider.dart:80-87 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/balance_provider.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab15cccad232c53bd483f2a1a17059720e8850bf06c38b42c63a7c818fc227e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): sidechain_core/lib/rpcs/bbc_rpc.dart:91-95 | sidechain_core/lib/rpcs/bitassets_rpc.dart:253-257 | sidechain_core/lib/rpcs/bitnames_rpc.dart:180-184 | sidechain_core/lib/rpcs/coinshift_rpc.dart:133-137 | sidechain_core/lib/rpcs/photon_rpc.dart:91-95 | sidechain_core/lib/rpcs/thunder_rpc.dart:85-89 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:284-288 | sidechain_core/lib/rpcs/zside_rpc.dart:114-118 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bbc_rpc.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"9304f956a6e1d75faca078ac94131bb4c93e3655a2448ccaaa65a3fbd8aa6b24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): sidechain_core/lib/rpcs/bbc_rpc.dart:131-135 | sidechain_core/lib/rpcs/bitassets_rpc.dart:307-311 | sidechain_core/lib/rpcs/bitnames_rpc.dart:234-238 | sidechain_core/lib/rpcs/coinshift_rpc.dart:187-191 | sidechain_core/lib/rpcs/photon_rpc.dart:145-149 | sidechain_core/lib/rpcs/thunder_rpc.dart:139-143 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:338-342 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bbc_rpc.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"363b39ef1981c2fde484aeac3dee0d2415286c0fb763ad8c397dcbf065691690"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): sidechain_core/lib/rpcs/bitassets_rpc.dart:301-305 | sidechain_core/lib/rpcs/bitnames_rpc.dart:228-232 | sidechain_core/lib/rpcs/photon_rpc.dart:139-143 | sidechain_core/lib/rpcs/thunder_rpc.dart:133-137 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:332-336 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0709a2ca338158cf26201d786306243c84f2f0debbfa495508c75acfade87b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sidechain_core/lib/rpcs/bitassets_rpc.dart:333-340 | sidechain_core/lib/rpcs/bitnames_rpc.dart:260-267 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2366b1c14eb8123704838488669165c2ef0a81e195bf75b99ef55eb89f03a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sidechain_core/lib/rpcs/bitassets_rpc.dart:449-453 | sidechain_core/lib/rpcs/bitnames_rpc.dart:492-496 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29e99cbfe66fc3a7569fc8fc9df4b2423481abd958226a5cf0492c654ce13ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): sidechain_core/lib/rpcs/bitassets_rpc.dart:455-459 | sidechain_core/lib/rpcs/bitnames_rpc.dart:574-578 | sidechain_core/lib/rpcs/coinshift_rpc.dart:347-351 | sidechain_core/lib/rpcs/photon_rpc.dart:305-309 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:516-520 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0c3a822781dbb31e6caa2eaa3e74ed2f3ba82be4463c81f66c6d6ef31cf421"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sidechain_core/lib/rpcs/bitassets_rpc.dart:461-468 | sidechain_core/lib/rpcs/bitnames_rpc.dart:580-587 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"456c007cdfb8ee18d8ae754c3ae26df6b532645c49064ee569cb32095565b57b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): sidechain_core/lib/rpcs/bitassets_rpc.dart:555-559 | sidechain_core/lib/rpcs/bitnames_rpc.dart:439-443 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:886-890 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"46eb8248d2012a42a52e09824368ba914fea295f330b5753b7a4814337e322f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sidechain_core/lib/rpcs/bitassets_rpc.dart:561-573 | sidechain_core/lib/rpcs/bitnames_rpc.dart:543-555 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"682d3b8a10c3fa51585f122dd87dc23cdb98f917b359e017b1fb7966f8249759"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sidechain_core/lib/rpcs/bitassets_rpc.dart:771-783 | sidechain_core/lib/rpcs/bitnames_rpc.dart:478-490 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"be851b84074c24b8d78fb9e29f0aef6d6f54c13e6f62aea9334c5d715c48f524"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): sidechain_core/lib/rpcs/bitassets_rpc.dart:785-789 | sidechain_core/lib/rpcs/bitnames_rpc.dart:416-420 | sidechain_core/lib/rpcs/coinshift_rpc.dart:336-340 | sidechain_core/lib/rpcs/photon_rpc.dart:294-298 | sidechain_core/lib/rpcs/thunder_rpc.dart:332-336 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:482-486 | sidechain_core/lib/rpcs/zside_rpc.dart:363-367 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe2c5835282b20d1c22bf647e2b006d9a7c33faed786a745d4fcc2067a7b4e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): sidechain_core/lib/rpcs/bitassets_rpc.dart:800-804 | sidechain_core/lib/rpcs/bitnames_rpc.dart:377-381 | sidechain_core/lib/rpcs/coinshift_rpc.dart:301-305 | sidechain_core/lib/rpcs/photon_rpc.dart:259-263 | sidechain_core/lib/rpcs/thunder_rpc.dart:297-301 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:447-451 | sidechain_core/lib/rpcs/zside_rpc.dart:328-332 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4a2277f8678992f0e008a524d8a0743cac58c774b5f063a23723bf95309e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): sidechain_core/lib/rpcs/bitassets_rpc.dart:806-810 | sidechain_core/lib/rpcs/bitnames_rpc.dart:383-387 | sidechain_core/lib/rpcs/coinshift_rpc.dart:289-293 | sidechain_core/lib/rpcs/photon_rpc.dart:247-251 | sidechain_core/lib/rpcs/thunder_rpc.dart:285-289 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:435-439 | sidechain_core/lib/rpcs/zside_rpc.dart:316-320 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66660557359a2c656c59cbfb6939582d3f9cb4997e7d112dc1590aadb35aac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): sidechain_core/lib/rpcs/bitassets_rpc.dart:812-816 | sidechain_core/lib/rpcs/bitnames_rpc.dart:389-393 | sidechain_core/lib/rpcs/coinshift_rpc.dart:295-299 | sidechain_core/lib/rpcs/photon_rpc.dart:253-257 | sidechain_core/lib/rpcs/thunder_rpc.dart:291-295 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:441-445 | sidechain_core/lib/rpcs/zside_rpc.dart:322-326 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bed0d3feb2b10e419b0178137271da5e7d82a11e4463ea39b0aa96ede8401e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sidechain_core/lib/rpcs/bitassets_rpc.dart:818-824 | sidechain_core/lib/rpcs/bitnames_rpc.dart:395-401 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"098157cee497f7e0966ca2b346afccf6fce8a18b737c15e60b353b44252031d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): sidechain_core/lib/rpcs/bitassets_rpc.dart:839-843 | sidechain_core/lib/rpcs/bitnames_rpc.dart:433-437 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:880-884 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"da18a6c933b45534aa0ecfa530d2dbaa2ab216563710ab6c767b6f95cb37a0a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sidechain_core/lib/rpcs/bitassets_rpc.dart:861-865 | sidechain_core/lib/rpcs/bitnames_rpc.dart:427-431 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eab245e779756320164d0f176c02a3c24e7a929b4e4edba4771e260c1582b58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sidechain_core/lib/rpcs/bitassets_rpc.dart:872-877 | sidechain_core/lib/rpcs/bitnames_rpc.dart:667-672 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"4826ac84c57632f296642fd9fde6071f9c29610fb0d554f8145ddd96b43b4f2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): sidechain_core/lib/rpcs/coinshift_rpc.dart:274-278 | sidechain_core/lib/rpcs/photon_rpc.dart:232-236 | sidechain_core/lib/rpcs/thunder_rpc.dart:270-274 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:420-424 | sidechain_core/lib/rpcs/zside_rpc.dart:301-305 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/coinshift_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/photon_rpc.dart\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"sidechain_core/lib/rpcs/coinshift_rpc.dart"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc63ff3941578d9a4e6efd39bf007529a7c7aefac529d5a7f1207f9bf87ca060"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): sidechain_core/lib/rpcs/coinshift_rpc.dart:330-334 | sidechain_core/lib/rpcs/photon_rpc.dart:288-292 | sidechain_core/lib/rpcs/thunder_rpc.dart:326-330 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:476-480 | sidechain_core/lib/rpcs/zside_rpc.dart:357-361 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/coinshift_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/photon_rpc.dart\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"sidechain_core/lib/rpcs/coinshift_rpc.dart"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c53c00beb07e012efc3fdfe2f201ce73e2d7229437f06840ce16550d3e6735"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): sidechain_core/lib/rpcs/photon_rpc.dart:182-186 | sidechain_core/lib/rpcs/thunder_rpc.dart:225-229 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:375-379 | sidechain_core/lib/rpcs/zside_rpc.dart:256-260 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/photon_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/thunder_rpc.dart\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/photon_rpc.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe070cba136014f9888045481dd6ea78face9a04ce3e0cef101655df90c7d6a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): truthcoin/lib/pages/market_detail_page.dart:1084-1094 | truthcoin/lib/pages/voting_dashboard_page.dart:529-539 \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":"truthcoin/lib/pages/market_detail_page.dart"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f22766df32687ebf1bc3fa329a1e78b1eef427c0783b2a44f597ea50e85379"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:328-337 | zside/lib/pages/tabs/zside/zside_shield_deshield_page.dart:109-118 \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":"zside/lib/pages/tabs/zside/zside_melt_cast_page.dart"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04d114ccb8e30206671e99281309fcf7512ffeb38d7c19dd87674467536513c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:339-346 | zside/lib/pages/tabs/zside/zside_shield_deshield_page.dart:120-127 \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":"zside/lib/pages/tabs/zside/zside_melt_cast_page.dart"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d00ae3658af1d4aa939f83159a4fbca481e09ace326e47548b66f9b6c483d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:525-532 | zside/lib/pages/tabs/zside/zside_melt_cast_page.dart:813-820 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:366-373 | zside/lib/pages/tabs/zside/zside_transfer_page.dart:555-562 \u2014 before extracting anything, compare \u0060zside/lib/pages/tabs/zside/zside_melt_cast_page.dart\u0060 and \u0060zside/lib/pages/tabs/zside/zside_transfer_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zside/lib/pages/tabs/zside/zside_melt_cast_page.dart"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"0487662ac7f940d6fb1bb10f7562652317187e28003d3e18b02aa8bb7fe1409a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): bbc/lib/bbc_module.dart:36-42 | bitassets/lib/bitassets_module.dart:40-46 | bitnames/lib/bitnames_module.dart:37-43 | coinshift/lib/coinshift_module.dart:38-44 | photon/lib/photon_module.dart:33-39 | thunder/lib/thunder_module.dart:33-39 | truthcoin/lib/truthcoin_module.dart:42-48 | zside/lib/zside_module.dart:41-47 \u2014 before extracting anything, compare \u0060bbc/lib/bbc_module.dart\u0060 and \u0060coinshift/lib/coinshift_module.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bbc/lib/bbc_module.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6cc3a07ab8819fe491966553ca5517a1acecd617dd993eebda03b850a417e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bitassets/lib/settings/amm_settings.dart:12-19 | bitwindow/lib/widgets/coinnews.dart:695-702 \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, \u0060bitwindow/lib/widgets/coinnews.dart:690\u0060 calls \u0060PageSizeSetting\u0060 and \u0060bitassets/lib/settings/amm_settings.dart:7\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":"bitassets/lib/settings/amm_settings.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6cdd8d095c9a9c56867478c6a953a7ccdc9099c169b6ff6c661b7f8b67a440"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bitwindow/lib/models/settings.dart:29-36 | sidechain_core/lib/settings/bitwindow_settings.dart:41-48 \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":"bitwindow/lib/models/settings.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ca4150b9c68256be07b58668400f0b9e7b70fcf173626d8a92d09ebb1ed86d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bitwindow/lib/pages/overview_page.dart:1594-1602 | bitwindow/lib/widgets/coinnews.dart:575-584 \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":"bitwindow/lib/pages/overview_page.dart"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"c875556280f036e81a2ce9046a2a95685a651ce27c75b253f9d7118963f4be5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bitwindow/lib/providers/homepage_provider.dart:125-130 | sail_ui/lib/shell/sidechain_homepage_provider.dart:110-115 \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":"bitwindow/lib/providers/homepage_provider.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4f860121badad4f6d9e9e202a77b289ce91a62255e0aef75bc01d9f2c4080b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bitwindow/lib/providers/mempool_watch_provider.dart:48-52 | bitwindow/lib/providers/mining_pools_provider.dart:29-33 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/mempool_watch_provider.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7f50f5a30fe3106f3f575dfaf8933dc8f2a0060c083a0ef58e0f1961793ad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): coinshift/lib/pages/swap_analytics_page.dart:292-302 | coinshift/lib/widgets/swap_failure_recovery.dart:255-265 | sail_ui/lib/pages/sidechains/bmm_tab.dart:405-415 \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. 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":"coinshift/lib/pages/swap_analytics_page.dart"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd46685f3d9898230d6c4158155f81314339f8e6ba1590f3575ecec6354d109e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): coinshift/lib/pages/tabs/swaps_page.dart:102-112 | coinshift/lib/widgets/liquidity_monitor_widget.dart:257-267 \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":"coinshift/lib/pages/tabs/swaps_page.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f07215c76c7e0bba5236e682ebb6a09a4dafe94b1a60ad81cdf752e7012088d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): sail_ui/lib/pages/bitcoin_conf_editor_page.dart:9-16 | sail_ui/lib/pages/enforcer_conf_editor_page.dart:10-17 | sail_ui/lib/shell/sidechain_conf_editor_page.dart:11-18 \u2014 before extracting anything, compare \u0060sail_ui/lib/pages/bitcoin_conf_editor_page.dart\u0060 and \u0060sail_ui/lib/pages/enforcer_conf_editor_page.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/bitcoin_conf_editor_page.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6988dd7e49a33ff9a566c22fb8be83e3aa04cf9c69421fb4e776453273ebef73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sail_ui/lib/viewmodels/bitcoin_config_editor_viewmodel.dart:233-247 | sail_ui/lib/viewmodels/enforcer_config_editor_viewmodel.dart:144-155 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/viewmodels/bitcoin_config_editor_viewmodel.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"774ad2ea067f843fd44b5174d82c0e5cf316a0c4ece349d5eb1480a2b4f983b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): sail_ui/lib/widgets/components/utxo.dart:34-41 | sidechain_core/lib/rpcs/zside_rpc.dart:538-545 | sidechain_core/lib/rpcs/zside_rpc.dart:605-612 \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. 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":"sail_ui/lib/widgets/components/utxo.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"942225d4ccc77fa57ff26b329b213aa3686d6675cb47e45fad98e6b16ff52d98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sail_ui/lib/widgets/containers/notification.dart:92-101 | sail_ui/lib/widgets/nav/notification_bell.dart:182-191 \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":"sail_ui/lib/widgets/containers/notification.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d623a305741d7839b0ccc300b15164cac127dead47e7b2cdec4bcb7d12692eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sidechain_core/lib/models/bitcoin_config_options.dart:1232-1238 | sidechain_core/lib/models/enforcer_config_options.dart:319-325 \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":"sidechain_core/lib/models/bitcoin_config_options.dart"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"475003a0282a0f306570c8ddfd7cf29836592b760b0d14bc606ece981d385cca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): sidechain_core/lib/providers/backend_sidechain_conf_provider.dart:62-70 | sidechain_core/lib/providers/bitcoin_conf_provider.dart:113-121 | sidechain_core/lib/providers/enforcer_conf_provider.dart:31-39 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/backend_sidechain_conf_provider.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e3155c011cb3ad92fb3c45341547ddb6a22959e8d6acc4a10b5d807c228718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sidechain_core/lib/providers/backend_sidechain_conf_provider.dart:72-77 | sidechain_core/lib/providers/bitcoin_conf_provider.dart:123-128 \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":"sidechain_core/lib/providers/backend_sidechain_conf_provider.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a7c4445123675f7e93ab9b3326be87aef66c9902b27eb87809fd7085f3a3a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): sidechain_core/lib/rpcs/bbc_rpc.dart:54-62 | sidechain_core/lib/rpcs/bitassets_rpc.dart:232-240 | sidechain_core/lib/rpcs/bitnames_rpc.dart:159-167 | sidechain_core/lib/rpcs/coinshift_rpc.dart:112-120 | sidechain_core/lib/rpcs/photon_rpc.dart:70-78 | sidechain_core/lib/rpcs/thunder_rpc.dart:64-72 | sidechain_core/lib/rpcs/truthcoin_rpc.dart:263-271 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bbc_rpc.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"286a04d31dae1582765648cb8c1e65d32393ce3adbb6263afa0a646ab8668421"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sidechain_core/lib/rpcs/bitassets_rpc.dart:425-429 | sidechain_core/lib/rpcs/bitnames_rpc.dart:362-366 \u2014 before extracting anything, compare \u0060sidechain_core/lib/rpcs/bitassets_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 309 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac6bd4ddfccd8287fbc511c74f9b9f70cbf6722a8b69b8ce4e66c96b72be169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): sidechain_core/lib/settings/bitcoin_unit_settings.dart:18-23 | sidechain_core/lib/settings/font_settings.dart:20-25 | sidechain_core/lib/settings/theme_settings.dart:52-57 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/settings/bitcoin_unit_settings.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c77b688e6e76fc09fc8b5aedbcfa2d70f5fba5696e2d61b23412554417a18c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bitwindow/lib/pages/mining/mining_tab.dart:644-648 | bitwindow/lib/pages/mining/mining_tab.dart:680-684 \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 \u0060bitwindow/lib/pages/mining/mining_tab.dart:644\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060block\u0060 to \u0060FoundBlock\u0060 in one and \u0060PoolBlock\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/mining/mining_tab.dart"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca86a7e882289c6a154ca7037c3bfdc0c61bb1680dce1997490326f7301b673"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): bitwindow/server/models/coinnews/store.go:131-158 | coinnews/server/store/store.go:108-135 \u2014 before extracting anything, compare \u0060bitwindow/server/models/coinnews/store.go\u0060 and \u0060coinnews/server/store/store.go\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 113 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 \u0060bitwindow/server/models/coinnews/store.go:131\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":"bitwindow/server/models/coinnews/store.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b9d682d8845b049c8875fa62b6c214ebf161b473451539330ded56833f0442"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): sidechain-orchestrator/config/enforcer_conf.go:507-526 | sidechain-orchestrator/config/sidechain_conf.go:528-547 \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":"sidechain-orchestrator/config/enforcer_conf.go"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54983e15bc2319afe311ab6469454ddf2a01474b32216a353362953e74aa2fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): sidechain-orchestrator/config/enforcer_conf.go:556-575 | sidechain-orchestrator/config/sidechain_conf.go:575-593 \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 \u0060sidechain-orchestrator/config/enforcer_conf.go:556\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/config/enforcer_conf.go"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"c531b17c1e1b8175f9c94ff05ec281d04a1a32e27f1164ad46247989a82c64ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): bitwindow/server/models/coinnews/store.go:205-221 | coinnews/server/store/store.go:179-195 \u2014 before extracting anything, compare \u0060bitwindow/server/models/coinnews/store.go\u0060 and \u0060coinnews/server/store/store.go\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 113 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":"bitwindow/server/models/coinnews/store.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cbd65ff69b51afc1415d222323976603689a2f6a48248c521affbcca4041e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): bitwindow/server/models/coinnews/store.go:224-240 | coinnews/server/store/store.go:198-214 \u2014 before extracting anything, compare \u0060bitwindow/server/models/coinnews/store.go\u0060 and \u0060coinnews/server/store/store.go\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 113 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":"bitwindow/server/models/coinnews/store.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"818806e5511681d9993046b80276ef166beb82c3c80e7563f94f24b605ead7fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): sidechain-orchestrator/sidechain/coinshift/client.go:78-94 | sidechain-orchestrator/sidechain/truthcoin/client.go:78-94 \u2014 \u0060sidechain-orchestrator/sidechain/coinshift/client.go\u0060 and \u0060sidechain-orchestrator/sidechain/truthcoin/client.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 11 separate duplicated blocks between them, totalling at least 137 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sidechain-orchestrator/sidechain/coinshift/client.go:78\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/coinshift/client.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d185d48b2f09962f63ce7cac17b431a48a474c7ab20886e226d5369c10e09adf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sidechain-orchestrator/api/wallet_handler.go:213-228 | sidechain-orchestrator/api/wallet_handler.go:2125-2140 \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":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b1a327ee30c11e57937c0c79f33b9c15dbf77dba1832f4b12d8427dabee957"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sidechain-orchestrator/wallet/core_backend.go:1543-1558 | sidechain-orchestrator/wallet/electrum_backend.go:1902-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 \u0060sidechain-orchestrator/wallet/core_backend.go:1543\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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":1543}}}],"partialFingerprints":{"codehealthFindingId/v1":"136dc24d1e00c2532c8c28d16714605c2ee4eda7de5bb43505e13a697118cd8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): sidechain-orchestrator/sidechain/bitassets/client.go:56-70 | sidechain-orchestrator/sidechain/bitnames/client.go:58-72 | sidechain-orchestrator/sidechain/coinshift/client.go:68-82 | sidechain-orchestrator/sidechain/photon/client.go:56-70 | sidechain-orchestrator/sidechain/thunder/client.go:56-70 | sidechain-orchestrator/sidechain/truthcoin/client.go:68-82 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/client.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/client.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 9 separate duplicated blocks between them, totalling at least 105 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060sidechain-orchestrator/sidechain/coinshift/client.go:83\u0060 calls \u0060SetBearerCookie\u0060 and \u0060sidechain-orchestrator/sidechain/bitassets/client.go:72\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":"sidechain-orchestrator/sidechain/bitassets/client.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"739a614fd14c60664de83f44ffded6c366b65948b206ca97c865d6457c15882d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): bitwindow/server/service/service.go:136-150 | sidechain-orchestrator/wallet/service.go:130-144 \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 \u0060bitwindow/server/service/service.go:136\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/service/service.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1615361931f3814792e9603c2e8484aec08968d89c664097fb1730d27ba198fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): dc-hub/server/api/explorer/api_explorer.go:187-201 | dc-hub/server/api/explorer/api_explorer.go:303-313 \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":"dc-hub/server/api/explorer/api_explorer.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a27fdcebda27f2185b1bfb74aaa4f5d907a76f03b6810342ad015fef3b4e6e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sidechain-orchestrator/api/explorer_bundle.go:117-131 | sidechain-orchestrator/sidechain/mempool.go:237-251 \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 \u0060sidechain-orchestrator/sidechain/mempool.go:237\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":"sidechain-orchestrator/api/explorer_bundle.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6714005bbaccf1bc4ab8bebd5aed4d6317d6a440aaf2a3bf0af460d3068b6877"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sidechain-orchestrator/api/multisiglounge_handler.go:91-105 | sidechain-orchestrator/api/multisiglounge_handler.go:322-336 \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":"sidechain-orchestrator/api/multisiglounge_handler.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5871955ca32ec0e83cb10646617da26f49ea85c354d3f52f22d54f5e31c0706a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sidechain-orchestrator/commands/reset.go:65-79 | sidechain-orchestrator/commands/reset.go:186-200 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sidechain-orchestrator/commands/reset.go:65\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":"sidechain-orchestrator/commands/reset.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44ed9f4a45ebaacd918aac3f9de1f8b2b0976637934f08d01edd2f88c58202b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): sidechain-orchestrator/commands/wallet.go:867-881 | sidechain-orchestrator/commands/wallet.go:940-953 \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":"sidechain-orchestrator/commands/wallet.go"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"08714dbca61b8b7f5cb2f91343a57fa0e05f86ed833d834318768aab38962f5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sidechain-orchestrator/wallet/descriptor.go:505-519 | sidechain-orchestrator/wallet/descriptor.go:554-568 \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":"sidechain-orchestrator/wallet/descriptor.go"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15efecd92bebba74728316a98935911d9da877043bd385e8b7257fd4b461d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 7): sidechain-orchestrator/sidechain/bitassets/client.go:73-84 | sidechain-orchestrator/sidechain/coinshift/client.go:88-99 | sidechain-orchestrator/sidechain/corenode/client.go:124-137 | sidechain-orchestrator/sidechain/photon/client.go:73-84 | sidechain-orchestrator/sidechain/thunder/client.go:73-84 | sidechain-orchestrator/sidechain/truthcoin/client.go:88-99 | sidechain-orchestrator/wallet/core_rpc.go:134-145 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/client.go\u0060 and \u0060sidechain-orchestrator/sidechain/coinshift/client.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 9 separate duplicated blocks between them, totalling at least 113 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sidechain-orchestrator/sidechain/bitassets/client.go:73\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060sidechain-orchestrator/sidechain/corenode/client.go:121\u0060 calls \u0060SetBasicAuth\u0060 and \u0060sidechain-orchestrator/sidechain/coinshift/client.go:85\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":"sidechain-orchestrator/sidechain/bitassets/client.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9a45db191146e26bfaa4a5dfe2958d0083daf890fa49baa558342129bb79b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): sidechain-orchestrator/sidechain/bitassets/client.go:184-196 | sidechain-orchestrator/sidechain/bitnames/client.go:234-246 | sidechain-orchestrator/sidechain/coinshift/client.go:199-211 | sidechain-orchestrator/sidechain/photon/client.go:184-196 | sidechain-orchestrator/sidechain/thunder/client.go:184-196 | sidechain-orchestrator/sidechain/truthcoin/client.go:199-211 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/client.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/client.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 9 separate duplicated blocks between them, totalling at least 105 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"sidechain-orchestrator/sidechain/bitassets/client.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d70e388d264a1582e8da01f047b9accec92634b6a808e71bb357ab9f8672a22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): sidechain-orchestrator/sidechain/bitassets/client.go:200-212 | sidechain-orchestrator/sidechain/bitnames/client.go:250-262 | sidechain-orchestrator/sidechain/coinshift/client.go:215-227 | sidechain-orchestrator/sidechain/photon/client.go:200-212 | sidechain-orchestrator/sidechain/thunder/client.go:200-212 | sidechain-orchestrator/sidechain/truthcoin/client.go:215-227 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/client.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/client.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 9 separate duplicated blocks between them, totalling at least 105 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"sidechain-orchestrator/sidechain/bitassets/client.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f864087db38acd892caf9a8386f2ed259bcd91deeca0928b74d4fcf92d83ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): sidechain-orchestrator/sidechain/bitassets/client.go:217-229 | sidechain-orchestrator/sidechain/bitnames/client.go:267-279 | sidechain-orchestrator/sidechain/coinshift/client.go:232-244 | sidechain-orchestrator/sidechain/photon/client.go:217-229 | sidechain-orchestrator/sidechain/thunder/client.go:217-229 | sidechain-orchestrator/sidechain/truthcoin/client.go:232-244 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/client.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/client.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 9 separate duplicated blocks between them, totalling at least 105 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"sidechain-orchestrator/sidechain/bitassets/client.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cc80a2e18a1207d89c07ed5b96b28c9b23f277658b3125836d7db68cb17054"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): sidechain-orchestrator/sidechain/bitassets/handler.go:368-380 | sidechain-orchestrator/sidechain/bitnames/handler.go:424-436 | sidechain-orchestrator/sidechain/truthcoin/handler.go:639-651 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afa97f9f3a15041603ce511bb72f2442fb869c490e505b9a436a73fc9a26a5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): bitwindow/server/api/enforcer/enforcer.go:100-112 | dc-hub/server/api/validator/api_validator.go:207-219 \u2014 before extracting anything, compare \u0060bitwindow/server/api/enforcer/enforcer.go\u0060 and \u0060dc-hub/server/api/validator/api_validator.go\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 113 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 \u0060bitwindow/server/api/enforcer/enforcer.go:100\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060dc-hub/server/api/validator/api_validator.go:220\u0060 calls \u0060ForwardError\u0060, \u0060Send\u0060 and \u0060bitwindow/server/api/enforcer/enforcer.go:113\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":"bitwindow/server/api/enforcer/enforcer.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc87dbe3d65cf9f0aa0e8253c77a308abb8dac776569b8621c5cea6ebfd86aee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): bitwindow/server/api/server.go:293-302 | dc-hub/server/server/server.go:135-147 \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 \u0060bitwindow/server/api/server.go:293\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/api/server.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"66313a18ee081e3242215f27d7292ab0f9a66703fdf8ff41a9162552930aad8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sidechain-orchestrator/api/wallet_handler.go:1414-1426 | sidechain-orchestrator/api/wallet_handler.go:1594-1606 \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 \u0060sidechain-orchestrator/api/wallet_handler.go:1414\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":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9f350ddbe134086bb5f854069ce52d3c60b511a3b1b13126e7292b9f05c232"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sidechain-orchestrator/blockfile/convert.go:201-213 | sidechain-orchestrator/corewalletfile/convert.go:241-253 \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 \u0060sidechain-orchestrator/blockfile/convert.go:201\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":"sidechain-orchestrator/blockfile/convert.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b004c0077fc995273472ce92ced42a71b62300fcfa426491e3ec0c29680f70a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sidechain-orchestrator/wallet/service.go:1350-1362 | sidechain-orchestrator/wallet/service.go:1428-1440 \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 \u0060sidechain-orchestrator/wallet/service.go:1350\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":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be4bb516775aec653a666469b3378fffdc07020edb4d1ee235de14632052055"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7): sidechain-orchestrator/sidechain/bitassets/handler.go:149-160 | sidechain-orchestrator/sidechain/bitnames/handler.go:137-148 | sidechain-orchestrator/sidechain/coinshift/handler.go:150-161 | sidechain-orchestrator/sidechain/photon/handler.go:149-160 | sidechain-orchestrator/sidechain/thunder/handler.go:148-159 | sidechain-orchestrator/sidechain/truthcoin/handler.go:155-166 | sidechain-orchestrator/sidechain/zside/handler.go:201-212 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"c006888046fa8743ec976b1acd47466a4e8aa3c0e375a60d46284b6e7f928ea6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): bitwindow/server/engines/notification_engine.go:76-87 | bitwindow/server/engines/notification_engine.go:189-200 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/server/engines/notification_engine.go:76\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/notification_engine.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"785f9db18ccd70a9e83d69610af8947ae8ab9c3cd45f01927aff8cafc13b3c77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): bitwindow/server/engines/notification_engine.go:341-352 | bitwindow/server/engines/notification_engine.go:365-376 \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 \u0060bitwindow/server/engines/notification_engine.go:341\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":"bitwindow/server/engines/notification_engine.go"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"524c7c3ed65310af8681af583a32ef4c0b1b6bd58adb1b09c0bffcef72dc9205"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sidechain-orchestrator/api/bmm_cancel.go:150-161 | sidechain-orchestrator/wallet/core_rpc.go:810-821 \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":"sidechain-orchestrator/api/bmm_cancel.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bda93a7964fc3af36a9ffdff5b651932e4d679154b08958a12a9277c8cd79c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sidechain-orchestrator/wallet/decode.go:269-280 | sidechain-orchestrator/wallet/psbt.go:311-322 \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":"sidechain-orchestrator/wallet/decode.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"a222364ea7126c5a1732274397468a4ef2de0fa6089a3d1405ab9035fea6e279"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): sidechain-orchestrator/sidechain/bitassets/client.go:83-93 | sidechain-orchestrator/sidechain/bitnames/client.go:93-103 | sidechain-orchestrator/sidechain/coinshift/client.go:98-108 | sidechain-orchestrator/sidechain/photon/client.go:83-93 | sidechain-orchestrator/sidechain/thunder/client.go:83-93 | sidechain-orchestrator/sidechain/truthcoin/client.go:98-108 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/client.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/client.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 9 separate duplicated blocks between them, totalling at least 105 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sidechain-orchestrator/sidechain/bitassets/client.go:83\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":"sidechain-orchestrator/sidechain/bitassets/client.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"686308dae969416eca3d362ffa3257f7c698d98393085ebbbae1bbb49148044c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): sidechain-orchestrator/sidechain/bitassets/client.go:97-107 | sidechain-orchestrator/sidechain/bitnames/client.go:107-117 | sidechain-orchestrator/sidechain/coinshift/client.go:112-122 | sidechain-orchestrator/sidechain/photon/client.go:97-107 | sidechain-orchestrator/sidechain/thunder/client.go:97-107 | sidechain-orchestrator/sidechain/truthcoin/client.go:112-122 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/client.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/client.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 9 separate duplicated blocks between them, totalling at least 105 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"sidechain-orchestrator/sidechain/bitassets/client.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"436e402f019f166010bdab910f69ffe06976a61e2d4e73eedbe27d138549bd23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sidechain-orchestrator/orchestrator.go:1020-1030 | sidechain-orchestrator/orchestrator.go:1818-1828 \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":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b83c19e79f2fa7910747928018f3011965b67b40e72f6404ba344d60524487"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sidechain-orchestrator/wallet/scripttype.go:163-173 | sidechain-orchestrator/wallet/scripttype.go:251-261 \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":"sidechain-orchestrator/wallet/scripttype.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c0933e1608017e8516899209c1fc39a8245d663e8770e7b720ff3816577afe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bitwindow/server/models/coinnews/store.go:357-366 | coinnews/server/store/store.go:306-315 \u2014 before extracting anything, compare \u0060bitwindow/server/models/coinnews/store.go\u0060 and \u0060coinnews/server/store/store.go\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 113 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 \u0060bitwindow/server/models/coinnews/store.go:357\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":"bitwindow/server/models/coinnews/store.go"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86c61da2df540d959fa37b7fdfd1391739e8ec492783c855a5d72a4f8c6df49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sidechain-orchestrator/api/explorer_core.go:164-173 | sidechain-orchestrator/sidechain/mempool.go:170-179 \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":"sidechain-orchestrator/api/explorer_core.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"60649b7740fa5ee58bff9cc7e777ef722fa6b7139afb737f9ad8cec03aedfa46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sidechain-orchestrator/api/multisiglounge_handler.go:647-656 | sidechain-orchestrator/api/multisiglounge_handler.go:722-731 \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 \u0060sidechain-orchestrator/api/multisiglounge_handler.go:647\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":"sidechain-orchestrator/api/multisiglounge_handler.go"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"733f2800f2d8712f6e3f8225205c5b93633b7d47953f01311dea4f2360cb8276"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sidechain-orchestrator/api/orchestrator_handler.go:1200-1209 | sidechain-orchestrator/bitcoind_rpc.go:63-72 \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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/orchestrator_handler.go"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f0cb78df3ee4ff66829fc2b4f6de0c9add685356861e5e9f7df3321dc78bb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sidechain-orchestrator/api/wallet_handler.go:193-202 | sidechain-orchestrator/api/wallet_handler.go:2105-2114 \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 \u0060sidechain-orchestrator/api/wallet_handler.go:193\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36efc0d5ffcac77b875649cfbb927427fa390e35d19e882b2515e10120a6dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sidechain-orchestrator/reject_block.go:87-96 | sidechain-orchestrator/reject_block.go:123-132 \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 \u0060sidechain-orchestrator/reject_block.go:87\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060sidechain-orchestrator/reject_block.go:81\u0060 calls \u0060Int\u0060 and \u0060sidechain-orchestrator/reject_block.go:120\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":"sidechain-orchestrator/reject_block.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed08285dfaeff3548264fe3f4246789059f33bcf5ea4a1f0b52102c57bbed3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sidechain-orchestrator/wallet/decode.go:136-145 | sidechain-orchestrator/wallet/decode.go:182-191 \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 \u0060sidechain-orchestrator/wallet/decode.go:136\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":"sidechain-orchestrator/wallet/decode.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a9405cd1e28c0846bde19bc4a9405fc5c8df29f2cb6f266f71739cabea3bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): bitwindow/server/models/coinnews/store.go:331-339 | bitwindow/server/models/coinnews/store.go:353-361 | coinnews/server/store/store.go:280-288 | coinnews/server/store/store.go:302-310 \u2014 before extracting anything, compare \u0060bitwindow/server/models/coinnews/store.go\u0060 and \u0060coinnews/server/store/store.go\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060lang\u0060 in one and \u0060replyQuote\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/models/coinnews/store.go"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be6f3285b0cd3ba4b7b116b5155f28f45bb6edbbaabc605154e189a25bbd905"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bitwindow/server/api/bitwindowd/bitwindowd.go:515-523 | bitwindow/server/api/bitwindowd/bitwindowd.go:527-535 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bitwindow/server/api/bitwindowd/bitwindowd.go:515\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":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d97fd6513736b0f3af18f8ef3df95611b58e2a8f951cc9f730eb6007099ca7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bitwindow/server/drivechain/utils.go:32-40 | bitwindow/server/drivechain/utils.go:46-54 \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 \u0060bitwindow/server/drivechain/utils.go:32\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":"bitwindow/server/drivechain/utils.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b443968e407359230135fa3bb501ee709660670a6c89f57a051750b7bf330598"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bitwindow/server/engines/deniability_engine.go:634-642 | bitwindow/server/engines/deniability_engine.go:674-682 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bitwindow/server/engines/deniability_engine.go:644\u0060 calls \u0060Int\u0060 and \u0060bitwindow/server/engines/deniability_engine.go:684\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":"bitwindow/server/engines/deniability_engine.go"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d850fe8ed13f4c3cedb45616ce61337bb34d1aa8d37fec26c69421dacb54bc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): sidechain-orchestrator/api/deposit.go:45-51 | sidechain-orchestrator/api/wallet_handler.go:961-969 \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 \u0060sidechain-orchestrator/api/deposit.go:45\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/deposit.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fd824e1419e992c8cbbb51ffc1e7a978463119dbf2b403cdf6ef6b9fd5a3ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sidechain-orchestrator/api/explorer_cache.go:65-73 | sidechain-orchestrator/api/explorer_cache.go:120-128 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/explorer_cache.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7962382bcb8d5ac0ded1c9ccae1f2dc7746d88dccb3a80519e8d5803e11c4ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sidechain-orchestrator/api/explorer_core.go:371-379 | sidechain-orchestrator/api/explorer_handler.go:237-245 \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":"sidechain-orchestrator/api/explorer_core.go"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"8418722d425a116b32249a924c52e4294cc37d19a1d9eb06d5fe93e61f6de557"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sidechain-orchestrator/corewalletfile/convert.go:724-732 | sidechain-orchestrator/walletfile/walletfile.go:266-274 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060sidechain-orchestrator/corewalletfile/convert.go:723\u0060 calls \u0060Name\u0060 and \u0060sidechain-orchestrator/walletfile/walletfile.go:265\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":"sidechain-orchestrator/corewalletfile/convert.go"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af3f4dc75c760a18543440694e5ca4be0fadf54d6c091a329b84da4d9cf0206"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sidechain-orchestrator/sidechain/bitnames/types.go:47-55 | sidechain-orchestrator/sidechain/bitnames/types.go:172-180 \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":"sidechain-orchestrator/sidechain/bitnames/types.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25ddaa516523b09e4d9c4ed733d13405ed90fe8da5a387b7d0635ded46709d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sidechain-orchestrator/wallet/electrum_backend.go:2413-2421 | sidechain-orchestrator/wallet/electrum_backend.go:2426-2434 \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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":2413}}}],"partialFingerprints":{"codehealthFindingId/v1":"1566d054669acab7b86d9b81d2d21a025be9fd352ad2cb701ba3f83a74d8d9e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sidechain-orchestrator/wallet/multisiglounge.go:491-499 | sidechain-orchestrator/wallet/scripttype_taproot.go:371-379 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sidechain-orchestrator/wallet/multisiglounge.go:491\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":"sidechain-orchestrator/wallet/multisiglounge.go"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6daea453ec3a2b8696762834dd8d3a65a1a2989ee400075f469d1e1af15a73b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bitwindow/server/api/enforcer/enforcer.go:52-59 | dc-hub/server/api/validator/api_validator.go:159-166 \u2014 before extracting anything, compare \u0060bitwindow/server/api/enforcer/enforcer.go\u0060 and \u0060dc-hub/server/api/validator/api_validator.go\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 113 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":"bitwindow/server/api/enforcer/enforcer.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c8580494765ac6f6c8a0bfce428b8a033961c0f9ca17c3e7696e4d0e6d003c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bitwindow/server/api/m4/m4.go:79-86 | bitwindow/server/api/m4/m4.go:122-129 \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":"bitwindow/server/api/m4/m4.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fd5bedbab1cad692c8329e02bb17d0c42395f5c31e256a2c277c8323ff7480"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sidechain-orchestrator/orchestrator.go:2580-2587 | sidechain-orchestrator/orchestrator.go:4207-4214 \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":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"0401611826a3fed2d6f1a261d0ef573910c8c3511419960a554bfafd741591c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sidechain-orchestrator/wallet/electrum_backend.go:1372-1379 | sidechain-orchestrator/wallet/electrum_backend.go:1527-1534 \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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"f526b4132ddbef8016d4b6ada11e55afb332b6bf3c4e68e917093985c7024957"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sidechain-orchestrator/wallet/electrum_backend.go:1642-1649 | sidechain-orchestrator/wallet/signer.go:36-43 \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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":1642}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e710aa6dbfd6ca95bd8c008799c4a913257f65b786e978acc8f8a6dbfc7079"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sidechain-orchestrator/wallet/scripttype.go:236-243 | sidechain-orchestrator/wallet/scripttype.go:258-265 \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":"sidechain-orchestrator/wallet/scripttype.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7171515a3cff428cb1ab1218e07dea8995c5de66ebe1cc64a8ea096d64194e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): sidechain-orchestrator/sidechain/bitassets/handler.go:173-179 | sidechain-orchestrator/sidechain/bitnames/handler.go:161-167 | sidechain-orchestrator/sidechain/coinshift/handler.go:174-180 | sidechain-orchestrator/sidechain/photon/handler.go:173-179 | sidechain-orchestrator/sidechain/truthcoin/handler.go:179-185 | sidechain-orchestrator/sidechain/zside/handler.go:225-231 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7415b8b47e3b6a6e02829daf0b6da68cc7ab7b183945bc3d6eccb6f924bc6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): sidechain-orchestrator/sidechain/bitassets/handler.go:350-356 | sidechain-orchestrator/sidechain/bitnames/handler.go:314-320 | sidechain-orchestrator/sidechain/truthcoin/handler.go:612-618 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"492557ad6cde4dd0436152bd8b7c28b17a88da5ca5176708e33947adc28a8cab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): sidechain-orchestrator/sidechain/bitassets/handler.go:359-365 | sidechain-orchestrator/sidechain/bitnames/handler.go:415-421 | sidechain-orchestrator/sidechain/truthcoin/handler.go:630-636 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e8dbe72e4959a3b40fdf73736d03a0e38c3503cdeaf9207cc5fe2ccebe4f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): sidechain-orchestrator/sidechain/bitnames/handler.go:73-79 | sidechain-orchestrator/sidechain/photon/handler.go:69-75 | sidechain-orchestrator/sidechain/truthcoin/handler.go:75-81 \u2014 \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/photon/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 22 separate duplicated blocks between them, totalling at least 161 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"sidechain-orchestrator/sidechain/bitnames/handler.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a24de6bbd86bd381f01ddac8dc39b29b8d37ca05fb52db4e5d005cd49e835c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bitwindow/server/api/bitwindowd/bitwindowd.go:773-779 | bitwindow/server/api/bitwindowd/bitwindowd.go:1046-1053 \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 \u0060bitwindow/server/api/bitwindowd/bitwindowd.go:773\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":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98f3a9d5965e38a0b9a4f539499df690484bf7b132a219860970f51f37e38ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): bitwindow/server/api/server.go:349-362 | dc-hub/server/server/server.go:180-194 \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 \u0060bitwindow/server/api/server.go:349\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":"bitwindow/server/api/server.go"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7fb31497227d430566347f00109a50081fcb94f6c9207d4e15c33bd58dd815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bitwindow/server/models/coinnews/store.go:337-350 | coinnews/server/store/store.go:286-299 \u2014 before extracting anything, compare \u0060bitwindow/server/models/coinnews/store.go\u0060 and \u0060coinnews/server/store/store.go\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 113 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 \u0060bitwindow/server/models/coinnews/store.go:337\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":"bitwindow/server/models/coinnews/store.go"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e68aea2a195a16f9f49ab9c2e776f9ba18ad5bc387bf592cf0fb34872c3bfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): coinnews/server/api/api.go:32-38 | coinnews/server/api/api.go:44-50 \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":"coinnews/server/api/api.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f0cd0dc410722dc6dfbf4bf1c2b265b1148c5f2ebd5c9de4e623b0a19f2e8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sidechain-orchestrator/api/orchestrator_handler.go:1212-1218 | sidechain-orchestrator/bitcoind_rpc.go:85-91 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sidechain-orchestrator/api/orchestrator_handler.go:1212\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":"sidechain-orchestrator/api/orchestrator_handler.go"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"19075bde7f8e83fe234b126249e0524c2bf57ee9c6373f59f11cd3cee0cefa45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sidechain-orchestrator/engines/bmmstate/store.go:156-163 | sidechain-orchestrator/engines/bmmstate/store.go:173-179 \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 \u0060sidechain-orchestrator/engines/bmmstate/store.go:156\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/engines/bmmstate/store.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"28359d55549221be191121e34e4d2f125f4fe1e70b0f0a65917532bb9326a52a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sidechain-orchestrator/sidechain/bitassets/handler.go:88-94 | sidechain-orchestrator/sidechain/bitnames/handler.go:83-89 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b89661409344b941494e919f5beec2bea317a7de90eb2370029b73893e33af0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sidechain-orchestrator/sidechain/bitassets/handler.go:289-295 | sidechain-orchestrator/sidechain/bitnames/handler.go:263-269 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda3e203a3911949d14df6f34d5fabc49032f2f026671425967323b24c6047ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sidechain-orchestrator/sidechain/bitassets/handler.go:341-347 | sidechain-orchestrator/sidechain/truthcoin/handler.go:621-627 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/truthcoin/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 28 separate duplicated blocks between them, totalling at least 208 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"9107ef20b17c35dac08d0e935f37fef424b4f0e34f9500d14f291b580d49a370"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sidechain-orchestrator/sidechain/photon/handler.go:78-84 | sidechain-orchestrator/sidechain/truthcoin/handler.go:84-90 \u2014 \u0060sidechain-orchestrator/sidechain/photon/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/truthcoin/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 23 separate duplicated blocks between them, totalling at least 167 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"sidechain-orchestrator/sidechain/photon/handler.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eff5c749ada1c504170363b143b4258414ca6126f12cb45922e87c401bd3e99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): sidechain-orchestrator/api/multisiglounge_handler.go:651-656 | sidechain-orchestrator/api/multisiglounge_handler.go:726-731 | sidechain-orchestrator/api/multisiglounge_handler.go:836-841 \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 \u0060sidechain-orchestrator/api/multisiglounge_handler.go:651\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":"sidechain-orchestrator/api/multisiglounge_handler.go"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6d66628180846435050cbfeec5f689e1742738200e8e40fde6e1483c76fdb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sidechain-orchestrator/api/multisiglounge_handler.go:227-232 | sidechain-orchestrator/api/multisiglounge_handler.go:264-269 \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 \u0060sidechain-orchestrator/api/multisiglounge_handler.go:227\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":"sidechain-orchestrator/api/multisiglounge_handler.go"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"79588e2ca5abe90463adefed1278c7651c539bb9ac8f43d236b1c33ca23dfe92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 17): sidechain-orchestrator/api/deposit.go:47-51 | sidechain-orchestrator/api/wallet_handler.go:628-632 | sidechain-orchestrator/api/wallet_handler.go:663-667 | sidechain-orchestrator/api/wallet_handler.go:687-691 | sidechain-orchestrator/api/wallet_handler.go:801-806 | sidechain-orchestrator/api/wallet_handler.go:829-834 | sidechain-orchestrator/api/wallet_handler.go:964-969 | sidechain-orchestrator/api/wallet_handler.go:1070-1074 | sidechain-orchestrator/api/wallet_handler.go:1145-1150 | sidechain-orchestrator/api/wallet_handler.go:1254-1259 | sidechain-orchestrator/api/wallet_handler.go:1354-1359 | sidechain-orchestrator/api/wallet_handler.go:1393-1398 | sidechain-orchestrator/api/wallet_handler.go:1706-1711 | sidechain-orchestrator/api/wallet_handler.go:1738-1743 | sidechain-orchestrator/api/wallet_handler.go:1846-1851 | sidechain-orchestrator/api/wallet_handler.go:2422-2426 | sidechain-orchestrator/api/wallet_handler.go:2455-2459 \u2014 there are 17 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 17 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sidechain-orchestrator/api/deposit.go:47\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":"sidechain-orchestrator/api/deposit.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13dfb5abc91404dba88a65d1483f167b10f57e0d245019185be3c154158b007"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): sidechain-orchestrator/api/multisiglounge_handler.go:228-232 | sidechain-orchestrator/api/multisiglounge_handler.go:265-269 | sidechain-orchestrator/api/multisiglounge_handler.go:379-383 \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 \u0060sidechain-orchestrator/api/multisiglounge_handler.go:228\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060sidechain-orchestrator/api/multisiglounge_handler.go:376\u0060 calls \u0060NewError\u0060, \u0060Error\u0060, \u0060WithCause\u0060 and \u0060sidechain-orchestrator/api/multisiglounge_handler.go:227\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":"sidechain-orchestrator/api/multisiglounge_handler.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"552223976071939dacc21fe4383fe8a0be455a85af2b3c80cd739bed36a387b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bitwindow/server/api/bitwindowd/bitwindowd.go:778-782 | bitwindow/server/api/bitwindowd/bitwindowd.go:939-951 \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 \u0060bitwindow/server/api/bitwindowd/bitwindowd.go:778\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":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"719d969d809e0b53e42379018a1711f7c68c90cf1c8971ac101fe0f688796e85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sidechain-orchestrator/api/explorer_core.go:31-35 | sidechain-orchestrator/api/explorer_handler.go:226-230 \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":"sidechain-orchestrator/api/explorer_core.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2e196b397eb73cf264cc36d14b81e55da3c65df2ea0d72271c19ec29ae2499"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sidechain-orchestrator/config/enforcer_conf.go:175-179 | sidechain-orchestrator/config/sidechain_conf.go:479-483 \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 \u0060sidechain-orchestrator/config/enforcer_conf.go:175\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060sidechain-orchestrator/config/enforcer_conf.go:174\u0060 calls \u0060convertNetworkPreset\u0060 and \u0060sidechain-orchestrator/config/sidechain_conf.go:478\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":"sidechain-orchestrator/config/enforcer_conf.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"050459c0ba46f01be786f0aeb5f9f932dfc3cc51ac0827301950111847016ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sidechain-orchestrator/config/enforcer_conf.go:267-273 | sidechain-orchestrator/config/sidechain_conf.go:354-360 \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":"sidechain-orchestrator/config/enforcer_conf.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d79090607236f76c7c2cb1258305468c612ed53781c17d73cd7e09d13932b38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sidechain-orchestrator/rpc/client.go:123-127 | sidechain-orchestrator/rpc/client.go:173-177 \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 \u0060sidechain-orchestrator/rpc/client.go:123\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/rpc/client.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b515e7bb2ff1c6476953204693c869d4882ded290a4ffe9e207de301038efb99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sidechain-orchestrator/sidechain/truthcoin/handler.go:559-563 | sidechain-orchestrator/sidechain/truthcoin/handler.go:585-589 \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":"sidechain-orchestrator/sidechain/truthcoin/handler.go"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba93c955724d9efd7a4c668347a9593463ee940679b1a3d49c86d4039e758734"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sidechain-orchestrator/wallet/electrum_backend.go:1575-1580 | sidechain-orchestrator/wallet/electrum_client.go:717-722 \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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1daa7e9ac7f2ceb78925868ffc48d406026f1f013cf224b3dca8b710cc6d81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sidechain-orchestrator/wallet/service.go:1178-1182 | sidechain-orchestrator/wallet/service.go:1341-1345 \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 \u0060sidechain-orchestrator/wallet/service.go:1178\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":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8145eb6c8248311a7e015c84fcf00d3e7a4a4cf642898d495794543ade4bde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bitwindow/server/api/enforcer/enforcer.go:61-67 | dc-hub/server/api/validator/api_validator.go:168-174 \u2014 before extracting anything, compare \u0060bitwindow/server/api/enforcer/enforcer.go\u0060 and \u0060dc-hub/server/api/validator/api_validator.go\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 113 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":"bitwindow/server/api/enforcer/enforcer.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de25f5a62ed74dad88a99cc85ec2475094af07da32afa3c46b7a337596c3dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bitwindow/server/api/enforcer/enforcer.go:69-75 | dc-hub/server/api/validator/api_validator.go:176-182 \u2014 before extracting anything, compare \u0060bitwindow/server/api/enforcer/enforcer.go\u0060 and \u0060dc-hub/server/api/validator/api_validator.go\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 113 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":"bitwindow/server/api/enforcer/enforcer.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9327352dccf12f9b50c7b546d0e0f8a095827d06d07a3afcb45b6f6e8e439c06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bitwindow/server/api/enforcer/enforcer.go:89-96 | dc-hub/server/api/validator/api_validator.go:196-203 \u2014 before extracting anything, compare \u0060bitwindow/server/api/enforcer/enforcer.go\u0060 and \u0060dc-hub/server/api/validator/api_validator.go\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 113 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":"bitwindow/server/api/enforcer/enforcer.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"540f6d90c12d7e8787f4c0abab57ea28a187edce5af192c5c155d4e17c8f38b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bitwindow/server/api/enforcer/enforcer.go:251-257 | dc-hub/server/api/validator/api_validator.go:34-40 \u2014 before extracting anything, compare \u0060bitwindow/server/api/enforcer/enforcer.go\u0060 and \u0060dc-hub/server/api/validator/api_validator.go\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 113 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":"bitwindow/server/api/enforcer/enforcer.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e7f5d70d15f9b0267a4439e3c5254f1b621b94eff9b66dcd837dddd49fdf42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bitwindow/server/api/enforcer/enforcer.go:260-266 | dc-hub/server/api/validator/api_validator.go:43-49 \u2014 before extracting anything, compare \u0060bitwindow/server/api/enforcer/enforcer.go\u0060 and \u0060dc-hub/server/api/validator/api_validator.go\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 113 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":"bitwindow/server/api/enforcer/enforcer.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"537de880cce3568fa879af8327d0c81d0b896c18f98e9be2d4b2f14b9af1855a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bitwindow/server/api/enforcer/enforcer.go:269-275 | dc-hub/server/api/validator/api_validator.go:52-58 \u2014 before extracting anything, compare \u0060bitwindow/server/api/enforcer/enforcer.go\u0060 and \u0060dc-hub/server/api/validator/api_validator.go\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 113 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":"bitwindow/server/api/enforcer/enforcer.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"412958b148b1235e83b2e489ab9a29eae916917cf423cad49f783e58af534d26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bitwindow/server/api/enforcer/enforcer.go:278-284 | dc-hub/server/api/validator/api_validator.go:61-67 \u2014 before extracting anything, compare \u0060bitwindow/server/api/enforcer/enforcer.go\u0060 and \u0060dc-hub/server/api/validator/api_validator.go\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 113 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":"bitwindow/server/api/enforcer/enforcer.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c46afe61e89010e2a4788a3d87b8d41625de09c161a240e32d5d24845ef9406"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bitwindow/server/api/enforcer/enforcer.go:287-293 | dc-hub/server/api/validator/api_validator.go:70-76 \u2014 before extracting anything, compare \u0060bitwindow/server/api/enforcer/enforcer.go\u0060 and \u0060dc-hub/server/api/validator/api_validator.go\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 113 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":"bitwindow/server/api/enforcer/enforcer.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d16efd7575cb219f68aa145e8ae247b8a630ac2d4ada8ab2bfd171bdfee0738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bitwindow/server/api/enforcer/enforcer.go:296-302 | dc-hub/server/api/validator/api_validator.go:79-85 \u2014 before extracting anything, compare \u0060bitwindow/server/api/enforcer/enforcer.go\u0060 and \u0060dc-hub/server/api/validator/api_validator.go\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 113 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":"bitwindow/server/api/enforcer/enforcer.go"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"133e85a981dc7ce8662f4d5ad53682b689b5686498e1c58ad2946f778d583712"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bitwindow/server/api/enforcer/enforcer.go:305-311 | dc-hub/server/api/validator/api_validator.go:88-94 \u2014 before extracting anything, compare \u0060bitwindow/server/api/enforcer/enforcer.go\u0060 and \u0060dc-hub/server/api/validator/api_validator.go\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 113 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":"bitwindow/server/api/enforcer/enforcer.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f74ee5f0f5b38584ee401fdbbdf93e41a6a018d5ce3047ce32ab84c92cb443"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bitwindow/server/api/enforcer/enforcer.go:314-320 | dc-hub/server/api/validator/api_validator.go:97-103 \u2014 before extracting anything, compare \u0060bitwindow/server/api/enforcer/enforcer.go\u0060 and \u0060dc-hub/server/api/validator/api_validator.go\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 113 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":"bitwindow/server/api/enforcer/enforcer.go"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"88897e83c412958f57ca8d457cad5b3437e61759529348323077980fcb9de976"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bitwindow/server/api/enforcer/enforcer.go:332-338 | dc-hub/server/api/validator/api_validator.go:106-112 \u2014 before extracting anything, compare \u0060bitwindow/server/api/enforcer/enforcer.go\u0060 and \u0060dc-hub/server/api/validator/api_validator.go\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 113 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":"bitwindow/server/api/enforcer/enforcer.go"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd234a89ee29a4ffeeee7e2dac728f243eb7dc3c48ad030d9983e083872e9124"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bitwindow/server/api/enforcer/enforcer.go:341-347 | dc-hub/server/api/validator/api_validator.go:115-121 \u2014 before extracting anything, compare \u0060bitwindow/server/api/enforcer/enforcer.go\u0060 and \u0060dc-hub/server/api/validator/api_validator.go\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 113 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":"bitwindow/server/api/enforcer/enforcer.go"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"a530f8d49902609839dbf3006823cbddfe0a8b2f846d66716cf4ed41589c13ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): bitwindow/server/models/coinnews/store.go:190-202 | coinnews/server/store/store.go:166-176 \u2014 before extracting anything, compare \u0060bitwindow/server/models/coinnews/store.go\u0060 and \u0060coinnews/server/store/store.go\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 113 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":"bitwindow/server/models/coinnews/store.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2e38d48368be074e3b97443664edc248d342bb4f7e87347ec252ce25163816"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sidechain-orchestrator/blockfile/file_windows.go:14-24 | sidechain-orchestrator/corewalletfile/file_windows.go:13-23 \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":"sidechain-orchestrator/blockfile/file_windows.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc833796292d4820beeb83b37c8a06a0167eecc837c53a1531c42ba51fc02383"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): sidechain-orchestrator/config/bitcoin_config_syncer.go:674-681 | sidechain-orchestrator/config/enforcer_conf.go:533-540 | sidechain-orchestrator/config/sidechain_conf.go:553-560 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/config/bitcoin_config_syncer.go"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf42633eddc5263aaf60ad22879eb6f7aa60939f02ab114b8bb9bb92259bd43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): sidechain-orchestrator/sidechain/bitassets/client.go:21-26 | sidechain-orchestrator/sidechain/bitnames/client.go:23-28 | sidechain-orchestrator/sidechain/photon/client.go:21-26 | sidechain-orchestrator/sidechain/thunder/client.go:21-26 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/client.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/client.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 9 separate duplicated blocks between them, totalling at least 105 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/client.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b43377e23c1bbc4577aecd0e5578be75a119691b92c23970fb7667156573e7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): sidechain-orchestrator/sidechain/bitassets/client.go:32-47 | sidechain-orchestrator/sidechain/bitnames/client.go:34-49 | sidechain-orchestrator/sidechain/coinshift/client.go:44-59 | sidechain-orchestrator/sidechain/photon/client.go:32-47 | sidechain-orchestrator/sidechain/thunder/client.go:32-47 | sidechain-orchestrator/sidechain/truthcoin/client.go:44-59 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/client.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/client.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 9 separate duplicated blocks between them, totalling at least 105 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/client.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4878a32e3efe27c701c3ad554f39ccfaba8b75e99affcce53b2d1d4fd08c46c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): sidechain-orchestrator/sidechain/bitassets/client.go:114-120 | sidechain-orchestrator/sidechain/bitnames/client.go:124-130 | sidechain-orchestrator/sidechain/coinshift/client.go:129-135 | sidechain-orchestrator/sidechain/photon/client.go:114-120 | sidechain-orchestrator/sidechain/thunder/client.go:114-120 | sidechain-orchestrator/sidechain/truthcoin/client.go:129-135 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/client.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/client.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 9 separate duplicated blocks between them, totalling at least 105 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/client.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"1247a25107d04782506f809bb40e27c65a089f9d264004719ca280461f3a71ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): sidechain-orchestrator/sidechain/bitassets/handler.go:44-53 | sidechain-orchestrator/sidechain/bitnames/handler.go:38-47 | sidechain-orchestrator/sidechain/coinshift/handler.go:37-46 | sidechain-orchestrator/sidechain/photon/handler.go:34-43 | sidechain-orchestrator/sidechain/truthcoin/handler.go:40-49 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc83686f83ae53a9180969ef02d433d57d2ded86014d041e2da9d9fcb03cd05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): sidechain-orchestrator/sidechain/bitassets/handler.go:55-61 | sidechain-orchestrator/sidechain/bitnames/handler.go:49-55 | sidechain-orchestrator/sidechain/coinshift/handler.go:48-54 | sidechain-orchestrator/sidechain/photon/handler.go:45-51 | sidechain-orchestrator/sidechain/thunder/handler.go:63-69 | sidechain-orchestrator/sidechain/truthcoin/handler.go:51-57 | sidechain-orchestrator/sidechain/zside/handler.go:48-54 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7757f870f24c1d66ee463614c29c5d09ba0570abbf03309f6c52025110e5e771"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): sidechain-orchestrator/sidechain/bitassets/handler.go:63-68 | sidechain-orchestrator/sidechain/bitnames/handler.go:57-62 | sidechain-orchestrator/sidechain/coinshift/handler.go:56-61 | sidechain-orchestrator/sidechain/photon/handler.go:53-58 | sidechain-orchestrator/sidechain/thunder/handler.go:71-76 | sidechain-orchestrator/sidechain/truthcoin/handler.go:59-64 | sidechain-orchestrator/sidechain/zside/handler.go:56-61 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d1eb8e32f4436a2a131d5a38c23211df25f64752597e399d0d6fa2cdde0fe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): sidechain-orchestrator/sidechain/bitassets/handler.go:70-76 | sidechain-orchestrator/sidechain/bitnames/handler.go:64-70 | sidechain-orchestrator/sidechain/coinshift/handler.go:63-69 | sidechain-orchestrator/sidechain/photon/handler.go:60-66 | sidechain-orchestrator/sidechain/truthcoin/handler.go:66-72 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c87aabf284415f5b8f8682406a013b421f3c2972264d28bb7e2069dc15884d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sidechain-orchestrator/sidechain/bitassets/handler.go:78-84 | sidechain-orchestrator/sidechain/coinshift/handler.go:71-77 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/coinshift/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 25 separate duplicated blocks between them, totalling at least 180 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9cba0ae61c507824c876a3c3be9f6d4e2d47c4c916bfcbd89b8019d796d83d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): sidechain-orchestrator/sidechain/bitassets/handler.go:101-107 | sidechain-orchestrator/sidechain/bitnames/handler.go:96-102 | sidechain-orchestrator/sidechain/coinshift/handler.go:87-93 | sidechain-orchestrator/sidechain/photon/handler.go:86-92 | sidechain-orchestrator/sidechain/thunder/handler.go:103-109 | sidechain-orchestrator/sidechain/truthcoin/handler.go:92-98 | sidechain-orchestrator/sidechain/zside/handler.go:82-88 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec25f694b75e55175792c1d89b18b66e57e644e2d5ac97cbd6846e3049850cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): sidechain-orchestrator/sidechain/bitassets/handler.go:109-115 | sidechain-orchestrator/sidechain/bitnames/handler.go:104-110 | sidechain-orchestrator/sidechain/coinshift/handler.go:95-101 | sidechain-orchestrator/sidechain/photon/handler.go:94-100 | sidechain-orchestrator/sidechain/thunder/handler.go:111-117 | sidechain-orchestrator/sidechain/truthcoin/handler.go:100-106 | sidechain-orchestrator/sidechain/zside/handler.go:90-96 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a413e21b6b9fc000c7cb892784976fdb5d6ef11700b898e82e49ba13552dec9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): sidechain-orchestrator/sidechain/bitassets/handler.go:117-123 | sidechain-orchestrator/sidechain/bitnames/handler.go:112-118 | sidechain-orchestrator/sidechain/coinshift/handler.go:103-109 | sidechain-orchestrator/sidechain/photon/handler.go:102-108 | sidechain-orchestrator/sidechain/truthcoin/handler.go:108-114 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bb6395667880ffd8ce6083f4a4cb7ba65f0ff495be677b644d95db3be57da9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): sidechain-orchestrator/sidechain/bitassets/handler.go:125-131 | sidechain-orchestrator/sidechain/bitnames/handler.go:120-126 | sidechain-orchestrator/sidechain/coinshift/handler.go:111-117 | sidechain-orchestrator/sidechain/photon/handler.go:110-116 | sidechain-orchestrator/sidechain/thunder/handler.go:131-137 | sidechain-orchestrator/sidechain/truthcoin/handler.go:116-122 | sidechain-orchestrator/sidechain/zside/handler.go:162-168 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"85605d4f4488739b4d3b7c24bcf8b6a6a8ecc8178f2cd992d01e90e957a5c795"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): sidechain-orchestrator/sidechain/bitassets/handler.go:133-138 | sidechain-orchestrator/sidechain/coinshift/handler.go:119-124 | sidechain-orchestrator/sidechain/photon/handler.go:118-123 | sidechain-orchestrator/sidechain/thunder/handler.go:233-238 | sidechain-orchestrator/sidechain/truthcoin/handler.go:124-129 | sidechain-orchestrator/sidechain/zside/handler.go:170-175 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/coinshift/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 25 separate duplicated blocks between them, totalling at least 180 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8392e2f85f43c5e3cfdca7836b24c07e2475bbb2c40c4d20f4123b73444662"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): sidechain-orchestrator/sidechain/bitassets/handler.go:140-146 | sidechain-orchestrator/sidechain/bitnames/handler.go:128-134 | sidechain-orchestrator/sidechain/coinshift/handler.go:126-132 | sidechain-orchestrator/sidechain/photon/handler.go:125-131 | sidechain-orchestrator/sidechain/thunder/handler.go:139-145 | sidechain-orchestrator/sidechain/truthcoin/handler.go:131-137 | sidechain-orchestrator/sidechain/zside/handler.go:177-183 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5185b7dfc86ef1fc50da2f9254129d37aa322e92e2aa39f38ceed581fbbe035"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): sidechain-orchestrator/sidechain/bitassets/handler.go:164-170 | sidechain-orchestrator/sidechain/bitnames/handler.go:152-158 | sidechain-orchestrator/sidechain/coinshift/handler.go:165-171 | sidechain-orchestrator/sidechain/photon/handler.go:164-170 | sidechain-orchestrator/sidechain/thunder/handler.go:163-169 | sidechain-orchestrator/sidechain/truthcoin/handler.go:170-176 | sidechain-orchestrator/sidechain/zside/handler.go:216-222 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"09411c8e0021f4139a30a76f3574364cb8f0c51502e409528db3de7a06eb69bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): sidechain-orchestrator/sidechain/bitassets/handler.go:181-186 | sidechain-orchestrator/sidechain/bitnames/handler.go:169-174 | sidechain-orchestrator/sidechain/coinshift/handler.go:182-187 | sidechain-orchestrator/sidechain/photon/handler.go:181-186 | sidechain-orchestrator/sidechain/thunder/handler.go:184-191 | sidechain-orchestrator/sidechain/truthcoin/handler.go:187-192 | sidechain-orchestrator/sidechain/zside/handler.go:233-238 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6f28d3a20a13102f86999f00e419d0c45d64280a126d0f029839a5499f6a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): sidechain-orchestrator/sidechain/bitassets/handler.go:188-193 | sidechain-orchestrator/sidechain/coinshift/handler.go:189-194 | sidechain-orchestrator/sidechain/photon/handler.go:188-193 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/coinshift/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 25 separate duplicated blocks between them, totalling at least 180 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9c25e51028e91ceee22506beeb9127fe43804a8a82faa2284624891e5b48e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): sidechain-orchestrator/sidechain/bitassets/handler.go:195-201 | sidechain-orchestrator/sidechain/bitnames/handler.go:176-182 | sidechain-orchestrator/sidechain/coinshift/handler.go:196-202 | sidechain-orchestrator/sidechain/photon/handler.go:195-201 | sidechain-orchestrator/sidechain/thunder/handler.go:193-199 | sidechain-orchestrator/sidechain/truthcoin/handler.go:194-200 | sidechain-orchestrator/sidechain/zside/handler.go:240-246 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"547c7f6a6f1220f22176b59ce193cffe0cc2cdaeac18daffd26194e67014597f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): sidechain-orchestrator/sidechain/bitassets/handler.go:203-209 | sidechain-orchestrator/sidechain/bitnames/handler.go:184-190 | sidechain-orchestrator/sidechain/coinshift/handler.go:204-210 | sidechain-orchestrator/sidechain/photon/handler.go:203-209 | sidechain-orchestrator/sidechain/thunder/handler.go:201-207 | sidechain-orchestrator/sidechain/zside/handler.go:248-254 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"9834dd7a11ea5903c9175932fcbabb68f5659ba3ba63d8ce4da2165b2f16419b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): sidechain-orchestrator/sidechain/bitassets/handler.go:211-217 | sidechain-orchestrator/sidechain/bitnames/handler.go:192-198 | sidechain-orchestrator/sidechain/coinshift/handler.go:212-218 | sidechain-orchestrator/sidechain/photon/handler.go:211-217 | sidechain-orchestrator/sidechain/thunder/handler.go:209-215 | sidechain-orchestrator/sidechain/truthcoin/handler.go:210-216 | sidechain-orchestrator/sidechain/zside/handler.go:256-262 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d9b9b9176eccfb17738faae68d3852360c97d70291434423feaeaa85eeb829"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): sidechain-orchestrator/sidechain/bitassets/handler.go:219-225 | sidechain-orchestrator/sidechain/bitnames/handler.go:200-206 | sidechain-orchestrator/sidechain/coinshift/handler.go:220-226 | sidechain-orchestrator/sidechain/photon/handler.go:219-225 | sidechain-orchestrator/sidechain/thunder/handler.go:217-223 | sidechain-orchestrator/sidechain/truthcoin/handler.go:218-224 | sidechain-orchestrator/sidechain/zside/handler.go:264-270 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d771f1c657e5d1071f2859b8e54fd763891c1167f88888bb389a6f78d5e2184"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): sidechain-orchestrator/sidechain/bitassets/handler.go:227-233 | sidechain-orchestrator/sidechain/bitnames/handler.go:208-214 | sidechain-orchestrator/sidechain/coinshift/handler.go:228-234 | sidechain-orchestrator/sidechain/photon/handler.go:227-233 | sidechain-orchestrator/sidechain/thunder/handler.go:225-231 | sidechain-orchestrator/sidechain/truthcoin/handler.go:226-232 | sidechain-orchestrator/sidechain/zside/handler.go:272-278 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"bece6be4411d9abc83212baf8c4496e1e6d744dc592e3756c59f27beb9892ab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): sidechain-orchestrator/sidechain/bitassets/handler.go:235-241 | sidechain-orchestrator/sidechain/bitnames/handler.go:216-222 | sidechain-orchestrator/sidechain/coinshift/handler.go:134-140 | sidechain-orchestrator/sidechain/photon/handler.go:133-139 | sidechain-orchestrator/sidechain/thunder/handler.go:240-246 | sidechain-orchestrator/sidechain/truthcoin/handler.go:139-145 | sidechain-orchestrator/sidechain/zside/handler.go:185-191 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc90f0bd4d3a940e37a8699c3434be84208043ff773f2690cc9a5aa302fca94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): sidechain-orchestrator/sidechain/bitassets/handler.go:243-248 | sidechain-orchestrator/sidechain/bitnames/handler.go:224-229 | sidechain-orchestrator/sidechain/coinshift/handler.go:142-147 | sidechain-orchestrator/sidechain/photon/handler.go:141-146 | sidechain-orchestrator/sidechain/thunder/handler.go:248-253 | sidechain-orchestrator/sidechain/truthcoin/handler.go:147-152 | sidechain-orchestrator/sidechain/zside/handler.go:193-198 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bca35d46e1d470a64ffe76deb25a603d4d6e63cdd855f12a8a82d766887e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): sidechain-orchestrator/sidechain/bitassets/handler.go:324-330 | sidechain-orchestrator/sidechain/bitnames/handler.go:288-294 | sidechain-orchestrator/sidechain/truthcoin/handler.go:595-601 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1575118eeb2ae34ea0bf534280806d89e29618bd93c90bdcdd5ff54b341b8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): sidechain-orchestrator/sidechain/bitassets/handler.go:332-338 | sidechain-orchestrator/sidechain/bitnames/handler.go:296-302 | sidechain-orchestrator/sidechain/truthcoin/handler.go:603-609 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"559b16c328dbcc89312657d4cbdfb8f928fce29d262f0bd5027b2389b787cfb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): sidechain-orchestrator/sidechain/bitassets/handler.go:392-398 | sidechain-orchestrator/sidechain/bitnames/handler.go:438-444 | sidechain-orchestrator/sidechain/coinshift/handler.go:236-242 | sidechain-orchestrator/sidechain/photon/handler.go:235-241 | sidechain-orchestrator/sidechain/truthcoin/handler.go:257-263 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84905bfc725746337b43e0c7cc97b0cc863bd6c68df6a57bf9c7343e208d288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sidechain-orchestrator/sidechain/bitassets/handler.go:400-406 | sidechain-orchestrator/sidechain/truthcoin/handler.go:273-279 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/truthcoin/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 28 separate duplicated blocks between them, totalling at least 208 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aaa49ba90a39912a0d59c13db92c7b05789e3b6b7c324ddc750cb3e7ede3e82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): sidechain-orchestrator/sidechain/bitassets/handler.go:408-414 | sidechain-orchestrator/sidechain/bitnames/handler.go:454-460 | sidechain-orchestrator/sidechain/coinshift/handler.go:244-250 \u2014 \u0060sidechain-orchestrator/sidechain/bitassets/handler.go\u0060 and \u0060sidechain-orchestrator/sidechain/bitnames/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 29 separate duplicated blocks between them, totalling at least 216 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/bitassets/handler.go"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"89058375043e173092e4298d2daf5a42d5d8a1d0087511ebc1453a3f6e34209b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sidechain-orchestrator/sidechain/coinshift/client.go:27-33 | sidechain-orchestrator/sidechain/truthcoin/client.go:27-33 \u2014 \u0060sidechain-orchestrator/sidechain/coinshift/client.go\u0060 and \u0060sidechain-orchestrator/sidechain/truthcoin/client.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 11 separate duplicated blocks between them, totalling at least 137 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/coinshift/client.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e28841e9002d574f81173162fbc5381c3932875fab8a5591247b872ba9ca0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sidechain-orchestrator/wallet/electrum_client.go:774-778 | sidechain-orchestrator/wallet/esplora.go:169-173 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/electrum_client.go"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8b1e1b84064855c7ef7028a0f503e5bec6a4765733ace0717837efd7090b20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sidechain-orchestrator/wallet/engine.go:163-169 | sidechain-orchestrator/wallet/network_chain_source.go:263-269 \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":"sidechain-orchestrator/wallet/engine.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8a5a4357f72cae2e6d79cc08e9f227f7f087960256e99a5fd4cc981dbda19b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): bitwindow/server/models/coinbases/coinbases.go:30-51 | bitwindow/server/models/mempooltx/mempooltx.go:44-59 | bitwindow/server/models/mempooltx/mempooltx.go:73-84 \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 \u0060bitwindow/server/models/coinbases/coinbases.go:30\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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/models/coinbases/coinbases.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc1bf00efe8748bea1f60175f2beab5fa37f8d35802d4397f8109d6ad7e112e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sidechain-orchestrator/wallet/service.go:1298-1309 | sidechain-orchestrator/wallet/service.go:1375-1385 \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 \u0060sidechain-orchestrator/wallet/service.go:1298\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":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"44353fc3233042781d4aaf699af6320783c722f72978f5354f713afe859adb5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sidechain-orchestrator/commands/commands.go:232-242 | sidechain-orchestrator/commands/commands.go:1337-1347 \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 \u0060sidechain-orchestrator/commands/commands.go:232\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/commands/commands.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed252fff8fb06ca30ba24573800349b61970cb3b5a00edea53c535cf13fce86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bitwindow/server/models/bitdrive/bitdrive.go:43-52 | bitwindow/server/models/timestamps/timestamps.go:52-61 \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":"bitwindow/server/models/bitdrive/bitdrive.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c3c9c3446cad1525bcec62df7cb281733c8c62c860e552495bf4f06bf4a19e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sidechain-orchestrator/download.go:786-795 | sidechain-orchestrator/download.go:847-856 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/download.go"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a378ebb8e77110653e711d42a00811641e2cd5d677bdc1ecf08717a79b249c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sidechain-orchestrator/wallet/keygen.go:212-221 | sidechain-orchestrator/wallet/service.go:696-705 \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":"sidechain-orchestrator/wallet/keygen.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70040c17fcf33b4b680af42867b02fdbab6db1da6481aff9d9bcc5fb19197fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sidechain-orchestrator/commands/reset.go:30-39 | sidechain-orchestrator/commands/reset.go:161-170 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sidechain-orchestrator/commands/reset.go:30\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":"sidechain-orchestrator/commands/reset.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed83bb2e1fd374e7f28a384b9162ab775d625f2ff1308d46dcb1580374aaf3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bitwindow/server/models/mempooltx/mempooltx.go:82-91 | bitwindow/server/models/mempooltx/mempooltx.go:140-148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060bitwindow/server/models/mempooltx/mempooltx.go:79\u0060 calls \u0060SafeDefer\u0060 and \u0060bitwindow/server/models/mempooltx/mempooltx.go:138\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":"bitwindow/server/models/mempooltx/mempooltx.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad85a2dc41330059540b7cf0ff9b7c370e37d0c3099c62a0d97f0ff3d028ca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sidechain-orchestrator/stratum/cpu.go:315-324 | sidechain-orchestrator/stratum/pool.go:418-427 \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 \u0060sidechain-orchestrator/stratum/cpu.go:315\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":"sidechain-orchestrator/stratum/cpu.go"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"0324a4cbf991203901fb2872f619795fe57f5ee452ff6196db405c75261089e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bitwindow/server/models/cheques/cheques.go:155-163 | bitwindow/server/models/cheques/cheques.go:168-176 \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 \u0060bitwindow/server/models/cheques/cheques.go:155\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":"bitwindow/server/models/cheques/cheques.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e7037d1dc1292d9dfd5586342c692f8b2d3d55dae2d1fa63f33eb332c6a29f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sidechain-orchestrator/api/ctip_index.go:39-46 | sidechain-orchestrator/wallet/core_rpc.go:133-140 \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 \u0060sidechain-orchestrator/api/ctip_index.go:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/ctip_index.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3eddebe633a7f2c03c933620d6e779cd0b2ffddcae219d278ab6b45ac41cd13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sidechain-orchestrator/wallet/psbt.go:139-145 | sidechain-orchestrator/wallet/psbt.go:153-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":"sidechain-orchestrator/wallet/psbt.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"971436f331c72e87941c0e79c3a877fda143e42252711f5c6fd9a139c2287744"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sidechain-orchestrator/wallet/psbt.go:1155-1161 | sidechain-orchestrator/wallet/signer.go:49-55 \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":"sidechain-orchestrator/wallet/psbt.go"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c416b495714401fbee1d6344934683659a6843de7317ad7077b3b34fa1ccfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): sidechain-orchestrator/cmd/drivechaind/main.go:493-499 | sidechain-orchestrator/cmd/drivechaind/main.go:509-515 | sidechain-orchestrator/cmd/drivechaind/main.go:521-527 \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 \u0060sidechain-orchestrator/cmd/drivechaind/main.go:493\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":"sidechain-orchestrator/cmd/drivechaind/main.go"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"f005af5ee680f3d48ced66117ec3d586813327535fb6553bafc3a103879de26c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sidechain-orchestrator/stratum/cpu.go:306-312 | sidechain-orchestrator/stratum/pool.go:410-415 \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 \u0060sidechain-orchestrator/stratum/cpu.go:306\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":"sidechain-orchestrator/stratum/cpu.go"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"402f58a0b26c94f11d4ee001a2218286bb8e6cc53e13fc999c6392da57b211b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): coinnews/server/scanner/client.go:34-39 | sidechain-orchestrator/config/bitcoin_conf.go:270-275 \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 \u0060coinnews/server/scanner/client.go:34\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":"coinnews/server/scanner/client.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2485b019d2eaedc5b06647db62949cb0a639783289008f82d6907005fb8f03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sidechain-orchestrator/wallet/service.go:922-927 | sidechain-orchestrator/wallet/service.go:978-983 \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":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73658b1f19ba40192629960dd5a87627823ca38c925f306aa43a20d5f17b094"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sidechain-orchestrator/ecash_sidechain_state.go:93-98 | sidechain-orchestrator/sidechain_wallet_state.go:163-168 \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 \u0060sidechain-orchestrator/ecash_sidechain_state.go:93\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":"sidechain-orchestrator/ecash_sidechain_state.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba3c48dbb1c609181581ad04dc347615365e12ddc4a6b773514fb1306b6cc82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sidechain-orchestrator/api/wallet_handler.go:933-938 | sidechain-orchestrator/api/wallet_handler.go:948-953 \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":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01a4f7b4717bc7948eec5fd7a5f93661c27d56deda6a82a5c1f762cece00e2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bitwindow/server/api/misc/misc.go:106-110 | bitwindow/server/api/misc/misc.go:214-219 \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 \u0060bitwindow/server/api/misc/misc.go:106\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":"bitwindow/server/api/misc/misc.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f754450321d2d04b2c78fe5bed115fe92dbdae8c2d040e6703bfd4ce65783d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bitwindow/server/api/bitwindowd/bitwindowd.go:371-376 | bitwindow/server/api/bitwindowd/bitwindowd.go:386-391 \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 \u0060bitwindow/server/api/bitwindowd/bitwindowd.go:371\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":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc997ce6caa7944e90ee908a2e2449918a8f051f17db1db0d4ee126cfda62903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bitwindow/server/engines/zmq_engine.go:205-210 | bitwindow/server/engines/zmq_engine.go:264-269 \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 \u0060bitwindow/server/engines/zmq_engine.go:205\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/zmq_engine.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"107f4c0c8e965e30e46fbbefa0a6c81209cd3139420e3325369b78b036166352"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sidechain-orchestrator/commands/wallet_burn_ecx.go:297-301 | sidechain-orchestrator/commands/wallet_sign_psbt.go:123-127 \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 \u0060sidechain-orchestrator/commands/wallet_burn_ecx.go:297\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":"sidechain-orchestrator/commands/wallet_burn_ecx.go"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9748944f1c880731fc878d4dfd8c327a31aedff65e709fa119cf131d1af09db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sidechain-orchestrator/api/explorer_handler.go:484-488 | sidechain-orchestrator/api/explorer_handler.go:665-669 \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":"sidechain-orchestrator/api/explorer_handler.go"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c8802efa2b8e17297dd7464bd936c7352e484c55bd8ce46e8c748d5ccd054d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sidechain-orchestrator/sidechain/mempool.go:450-454 | sidechain-orchestrator/sidechain/mempool.go:473-477 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sidechain-orchestrator/sidechain/mempool.go:450\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":"sidechain-orchestrator/sidechain/mempool.go"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f27f1262b6a08a8831bfb13806e9131280c4826cf7eae4f6d2b421aa8f5c67d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): sidechain-orchestrator/engines/bmmstate/store.go:113-117 | sidechain-orchestrator/wallet/bip47state/inbound.go:101-105 | sidechain-orchestrator/wallet/bip47state/store.go:85-89 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sidechain-orchestrator/engines/bmmstate/store.go:113\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/engines/bmmstate/store.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"566e388a0a0a0087ac6e8b2f5976b06a6d3aef5c5c84cf755f1e177a1086e2cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sidechain-orchestrator/wallet/scancache.go:318-322 | sidechain-orchestrator/wallet/scancache.go:335-339 \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 \u0060sidechain-orchestrator/wallet/scancache.go:318\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":"sidechain-orchestrator/wallet/scancache.go"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"c223cbe40c52d43c89816415b91df98bfeb30a85a7db1e889585ed8c5368ddb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bitwindow/server/models/coinnews/store.go:175-179 | coinnews/server/store/store.go:151-155 \u2014 before extracting anything, compare \u0060bitwindow/server/models/coinnews/store.go\u0060 and \u0060coinnews/server/store/store.go\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 113 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 \u0060bitwindow/server/models/coinnews/store.go:175\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/models/coinnews/store.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"909e1b443a267727e8b759f7a2a5960fa3ba84c1a291716a9ce290246fff6734"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sidechain-orchestrator/bitcoind_rpc.go:54-58 | sidechain-orchestrator/wallet/core_rpc.go:124-128 \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":"sidechain-orchestrator/bitcoind_rpc.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e42416149dbd94a8291645018cd4e77f6e1867f1bdc2535bf8e6b1c69a0f80e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sidechain-orchestrator/stratum/cpu.go:298-302 | sidechain-orchestrator/stratum/pool.go:402-406 \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":"sidechain-orchestrator/stratum/cpu.go"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e5a9c15e8df57b2753f00dc777324739d16963a03298e84c12c0d1c1e284cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sidechain-orchestrator/ecash_migration.go:1009-1013 | sidechain-orchestrator/ecash_migration.go:1229-1233 \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":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"8221d9458947b250e10d1a736428d73bf47f3307825e38b34bf982ec09d4ab5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bitwindow/server/api/server.go:448-452 | dc-hub/server/api/explorer/api_explorer.go:463-467 \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 \u0060bitwindow/server/api/server.go:448\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":"bitwindow/server/api/server.go"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"845c769a73dd5c7756d66b02497ec9ba2185d392bcce368e5aa590e9f01507a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sidechain-orchestrator/api/wallet_handler.go:1428-1434 | sidechain-orchestrator/api/wallet_handler.go:1608-1614 \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 \u0060sidechain-orchestrator/api/wallet_handler.go:1428\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":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f930234361ec22921ad4859a7575059bc12a4f204118fed8555d19cbf5ea38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 8): bbc/macos/Runner/MainFlutterWindow.swift:6-20 | bitassets/macos/Runner/MainFlutterWindow.swift:6-20 | bitnames/macos/Runner/MainFlutterWindow.swift:6-20 | coinshift/macos/Runner/MainFlutterWindow.swift:6-20 | photon/macos/Runner/MainFlutterWindow.swift:6-20 | thunder/macos/Runner/MainFlutterWindow.swift:6-20 | truthcoin/macos/Runner/MainFlutterWindow.swift:6-20 | zside/macos/Runner/MainFlutterWindow.swift:6-20 \u2014 before extracting anything, compare \u0060bbc/macos/Runner/MainFlutterWindow.swift\u0060 and \u0060bitassets/macos/Runner/MainFlutterWindow.swift\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bbc/macos/Runner/MainFlutterWindow.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"96615220891dd54219832111f5b0323eb82d9436285d82b3dc615a457a40f3be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): bbc/macos/Runner/AppDelegate.swift:6-12 | bitassets/macos/Runner/AppDelegate.swift:6-12 | bitnames/macos/Runner/AppDelegate.swift:6-12 | coinshift/macos/Runner/AppDelegate.swift:6-12 | photon/macos/Runner/AppDelegate.swift:6-12 | thunder/macos/Runner/AppDelegate.swift:6-12 | truthcoin/macos/Runner/AppDelegate.swift:6-12 | zside/macos/Runner/AppDelegate.swift:6-12 \u2014 before extracting anything, compare \u0060bbc/macos/Runner/AppDelegate.swift\u0060 and \u0060bitassets/macos/Runner/AppDelegate.swift\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bbc/macos/Runner/AppDelegate.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ba0b9c9b79583330a37b2e5b9d9fd4da86f2bcbb43eda1260cbbb6ec0a058c"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: github.com/LayerTwo-Labs/sidesail/sqlitemigrate: github.com/LayerTwo-Labs/sidesail/sqlitemigrate: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c75c8e0d1ccdea55ab6f7acd52967a7dc8ce679a97f648bb8f33abada8b271f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: github.com/LayerTwo-Labs/sidesail/coinnews/codec: github.com/LayerTwo-Labs/sidesail/coinnews/codec: abstractness 0.14, instability 0.00, distance 0.86 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c28e2a9c7c43254701d1db7d9df90ba23463b83caa54074a7bc4a6ce7091b4f8"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: sidechain_core: sidechain_core: abstractness 0.12, instability 0.17, distance 0.71 \u2014 zone of pain \u2014 concrete and depended on by 10 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"424eecfc549b9511399bbcd012bcf175253520b0556100dbdf824124ab3fd740"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MockTruthcoinRPC (LCOM4 69): MockTruthcoinRPC\u0027s methods fall into 69 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 69 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/mocks/mocks.dart"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"198795bf66dfbe2220aa66a68782be95c88ab68ba5108e6ad4b75e3fe5e04b13"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MockBitnamesRPC (LCOM4 54): MockBitnamesRPC\u0027s methods fall into 54 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 54 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/mocks/mocks.dart"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"0730d9fa4f788c1119871d5d4fe1e3679dbaeb7dbf00e43ab1c94c5d7564702d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MockCoinShiftRPC (LCOM4 44): MockCoinShiftRPC\u0027s methods fall into 44 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 44 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/mocks/mocks.dart"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b5fdb02a8193b645daeeed4a262fe61fd33ed03cbaa6d10a5a4c117721bbb9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MockPhotonRPC (LCOM4 35): MockPhotonRPC\u0027s methods fall into 35 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 35 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/mocks/mocks.dart"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ced24d60dc0ffdb588cf2475069a619526c0fb9868d4abbc623ad784b25e646"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MockThunderRPC (LCOM4 33): MockThunderRPC\u0027s methods fall into 33 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 33 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/mocks/mocks.dart"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"364c86c87b7813a0c5a995dc36e75c5674909e25753343e807097329129a5d1e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MockSyncProvider (LCOM4 24): MockSyncProvider\u0027s methods fall into 24 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 24 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/mocks/mocks.dart"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2913789ea5272c4e4bb9225097061dc483b0530448e840c5ac1f856e601dd7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MockBbcRPC (LCOM4 22): MockBbcRPC\u0027s methods fall into 22 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 22 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/mocks/mocks.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c092d45cea77e41f23b4b074a52745d4e7b6765f0b7d6c2b46424f2df8c4bf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MockBitwindowRPC (LCOM4 21): MockBitwindowRPC\u0027s methods fall into 21 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 21 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/mocks/mocks.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"886a02d62a0ae1de8255f5668733b4a93298ebbb7070ee770abd62e3b3b123fc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ZSideMeltCastViewModel (LCOM4 16): ZSideMeltCastViewModel\u0027s methods fall into 16 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 16 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zside/lib/pages/tabs/zside/zside_melt_cast_page.dart"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f3cecafe41f042656d1491f018be8a7f9f85cbd34bc5a113daf2ba58e9e716"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MockEnforcerRPC (LCOM4 12): MockEnforcerRPC\u0027s methods fall into 12 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 12 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/mocks/mocks.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6275c0851e543fd3c0fb7a233ee80913c11abf589cff75d33077e0e934af8257"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BbcLive (LCOM4 9): BbcLive\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bbc_rpc.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6711c1a1bd9175dc500c28e451684048b66e0100df62a640b5b0fc5a11d2155d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WalletWriterProvider (LCOM4 8): WalletWriterProvider\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/wallet_writer_provider.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b18ba49bc84c8d8ec8139dc28569efcdb8832f35b8c75be911c145b5ac8904"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MockBitcoindConnection (LCOM4 7): MockBitcoindConnection\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/mocks/mocks.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fad5fdfc8fb8ab1967892b35abef2ba4aaf0c980073ca000eab0d68822bdc3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BackendSidechainConfProvider (LCOM4 7): BackendSidechainConfProvider\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/backend_sidechain_conf_provider.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59efa3d4a472596f85c2141817e0924f16aa6247d5e2b9b37e9f5d267cb1860"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PortfolioDashboardViewModel (LCOM4 7): PortfolioDashboardViewModel\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/widgets/portfolio_dashboard.dart"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"6988b599433138d2b4479facd3e957a6e855b7ec74c12fe01c4eb3730dcb6d02"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MultisigLoungeViewModel (LCOM4 6): MultisigLoungeViewModel\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"da94a09424859fc36a4ee4d64a44414f0c6cdb7525ad41ba5689c3b8d73e32f6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PortfolioViewModel (LCOM4 6): PortfolioViewModel\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"truthcoin/lib/pages/tabs/portfolio_page.dart"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb8ff2123afc15288095bac1357b7fb8939b9849f2c25a5043bbf13e62337a5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ZSideShieldTabViewModel (LCOM4 6): ZSideShieldTabViewModel\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zside/lib/pages/tabs/zside/zside_shield_deshield_page.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1ee2574f5def44da81de7aee16b71897ae24b31d121e496d813c4802436e65"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BitAssetsLive (LCOM4 6): BitAssetsLive\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b68ac988810df5da2f0217798204fd5a707720c972b6fb5bf6824597ad64e9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BitnamesLive (LCOM4 6): BitnamesLive\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitnames_rpc.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0677fd335407a7ba4935d03b6a929c0ba91b4c37484b24ada6c7f0cb2e068e23"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CoinShiftLive (LCOM4 6): CoinShiftLive\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/coinshift_rpc.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e246837836a1c79fbe9289e2700772e10335b843e65cc0fc08b85e1cf2d2c1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EnforcerLive (LCOM4 6): EnforcerLive\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/enforcer_rpc.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2311f6b698c27bff6d6419ae6d227df0fafdd9c4e483c8725872f8b1d51ba923"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PhotonLive (LCOM4 6): PhotonLive\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/photon_rpc.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b26d73f5a4d70df75eaf5502e9065944baf806435a605ada642a1b5519cbff"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TruthcoinLive (LCOM4 6): TruthcoinLive\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/truthcoin_rpc.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dab7572d82aea0df284d3f4949491934dd2d9cec863d1d73062789b103746cf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ZSideLive (LCOM4 6): ZSideLive\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/zside_rpc.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1034c875c266fe221609cc84c6bdbaebf20d71c667336833b6f22931872114"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DeniabilityViewModel (LCOM4 5): DeniabilityViewModel\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/denability_page.dart"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e41ffe6c375adecb4ac25390fcc38de9eb7176b06f6d838204dba4e855a625"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MarketCreationViewModel (LCOM4 5): MarketCreationViewModel\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"truthcoin/lib/pages/market_creation_page.dart"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2516b91189411cf9f29fa49bdf258e7fff135e71c2767a34e496e3f0b4e3620"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ZSideTransferTabViewModel (LCOM4 5): ZSideTransferTabViewModel\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zside/lib/pages/tabs/zside/zside_transfer_page.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c68801d1ecedba9992f1be4627170657861692ec851ae3ad37194fea6b1cc58"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WalletReaderProvider (LCOM4 5): WalletReaderProvider\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/wallet_reader_provider.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2762f8e96d9cd42cf059be52c30d21acfd429e30a49bc2812f5effac2adfb4e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ThunderLive (LCOM4 5): ThunderLive\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/thunder_rpc.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9f3a15454bcb01dc296214149ab62521385bd1ab3213e711058b4681630ec4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SwapListViewModel (LCOM4 5): SwapListViewModel\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinshift/lib/widgets/swap/swap_list.dart"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"8884b93c97f834103e622b5477f454ad4adf88f1b708f595ff0f99391afe9a70"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SwapFailureRecoveryViewModel (LCOM4 5): SwapFailureRecoveryViewModel\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinshift/lib/widgets/swap_failure_recovery.dart"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8e8cbb8ac20503427b7b3db759df425ef87f36134b8c291728a76753998adf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BottomNavViewModel (LCOM4 5): BottomNavViewModel\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/nav/bottom_nav.dart"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9aff64f2b638a2599a15572228c4c97da57ecf2f470c2ffbdfbd9a412e49d7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RemoteChainState (LCOM4 5): RemoteChainState\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/nav/bottom_nav.dart"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b0a9d8b54d6d70e08e5a488a613c7cf435be5438504b5affddef8fcb161483"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _SettingsNodeModeState (LCOM4 4): _SettingsNodeModeState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/settings/settings_node_mode.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66ae2a2d4a8aaed749cfeec5f51977f5049bc95f3149f446a0fe2efedec3c5c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SidechainsViewModel (LCOM4 4): SidechainsViewModel\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/sidechains_page.dart"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"35331cafe52e985f854d28204b4259ee72b3a2577c6e275e2eb70a6bb5a60c71"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ChecksTabViewModel (LCOM4 4): ChecksTabViewModel\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_checks.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f3d528dbe855bcd2cb91b191ebcb417cb89cd039da2fa80c8803e66efabb8f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HDWalletViewModel (LCOM4 4): HDWalletViewModel\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_hd.dart"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"c542440a41d143bb6694670441ceb1a226af127bacfbc6133e5a33e7641cb90b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SendPageViewModel (LCOM4 4): SendPageViewModel\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_send.dart"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d4b1f2209f311ddcd0d200f085bfedd577684fd112b2bde771121d5f1b8c3b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TimestampsTabViewModel (LCOM4 4): TimestampsTabViewModel\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_timestamps.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a3126a1cfd68d12dcf4acd243f7d666a61efd14299e75dedf36bf62a2490d3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _SailCreateWalletPageState (LCOM4 4): _SailCreateWalletPageState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/create_wallet_page.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cbc815272d5d4d3f62389b95c821a9ac6c25ff3e02fbdd0924c27d2b2fb88d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BMMViewModel (LCOM4 4): BMMViewModel\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/sidechains/bmm_tab.dart"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9950bfe9758d7b464b1f24aea49a4e7e3c0500af4796d5578576093aded1540"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VotingDashboardViewModel (LCOM4 4): VotingDashboardViewModel\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"truthcoin/lib/pages/voting_dashboard_page.dart"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92cb4a778ccf687e16977c7d4cb9909f2e0314f614f1f084a65a6c16bacda8e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HDWalletProvider (LCOM4 4): HDWalletProvider\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/hd_wallet_provider.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd746c5b9f0656e642fcb3360eb50a7c21e88d49a2545b55254a639c67402dba"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BitcoinConfProvider (LCOM4 4): BitcoinConfProvider\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/bitcoin_conf_provider.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd42310c5d7c32e5ac3f3ec2aa5eb818cddcbd54175402a803c654ca60fc42d9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SidechainConfProvider (LCOM4 4): SidechainConfProvider\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/sidechain_conf_provider.dart"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f46f1a9a68b18661ddb429cb375efa9ebbfdbbfbec0f88d8f253ba14e4860b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OrchestratorWalletRPC (LCOM4 4): OrchestratorWalletRPC\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/orchestrator_wallet_rpc.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"972779a4c72c8555727d3c0e08c8f6c3fd0f3dec727544a25b307b1fa31a694e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AmmAnalyticsViewModel (LCOM4 4): AmmAnalyticsViewModel\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/widgets/amm_analytics_widget.dart"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fe01406da0959bc786035c50bf5447fb6c1360c7f9ed28cdb3f04c7bbecd38"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _AddressBookContentState (LCOM4 4): _AddressBookContentState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/address_list.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"de70e49d91db831296974c4fcc66ccfac4e5cb72a89c15792e788f36f9175238"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FeeTopicSetting (LCOM4 4): FeeTopicSetting\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/fee_coinnews.dart"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"272905a9d19a721b13a7c64e4f71822885f59888a1d9cb2a405ae23b8d359271"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StartersPageViewModel (LCOM4 4): StartersPageViewModel\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/starters_tab.dart"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9c9bbdb4a98e209494350ebb058a3e5db87c27c8469049987c4fa0d2472712"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _PopupMenuRoute (LCOM4 4): _PopupMenuRoute\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/inputs/menu.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59041a31baa7d4da2c0e9ca96ef0b94647fe812d136c02d463470ef5d1041f6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BalanceDisplayViewModel (LCOM4 4): BalanceDisplayViewModel\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/nav/bottom_nav.dart"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"29edb139f25f05404ed4ee8d791d369615836a0869a70931e69ffe3b752924aa"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MeltActionViewModel (LCOM4 4): MeltActionViewModel\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zside/lib/widgets/containers/tabs/zside_tab_widgets.dart"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"489c0a4a6105cf66e1e167c5a56755129d802f6851e65b72ba75239eea9ebf75"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: sidechain-orchestrator::github.com/LayerTwo-Labs/sidesail/sidechain-orchestrator.TestDownload_StateReflectsByteProgress: Passed 2\u00D7, failed 1\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"96fdbc1c8ed3fb93338717934f8b4be36a24c92597f76671be6f097932bd3d00"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: sidechain-orchestrator::github.com/LayerTwo-Labs/sidesail/sidechain-orchestrator.TestECashLightSwitchKeepsSourceForFullMode: Passed 2\u00D7, failed 1\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"69ae605d3fe96d58c5b8c62ff91908ff5d675eacaadbbdf43769838a5641750f"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: sidechain-orchestrator::github.com/LayerTwo-Labs/sidesail/sidechain-orchestrator.TestNodeModeLightStopsOwnedOrphans: Passed 2\u00D7, failed 1\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ea6c90871f3e3f263a4bb6b70e23e0e5f9eaad9f916b8ac8bc830ee44c8c9488"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: sidechain-orchestrator::github.com/LayerTwo-Labs/sidesail/sidechain-orchestrator.TestNodeModeLightStopsOwnedOrphans/enforcer: Passed 2\u00D7, failed 1\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f50a2f3482ca7b4aff63337da6aed9cd133a24b1c57d9b339a25df00c80565d0"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: sidechain-orchestrator::github.com/LayerTwo-Labs/sidesail/sidechain-orchestrator/stratum.TestSetSourceMovesMiners: Passed 2\u00D7, failed 1\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"098a9118f712b26869ee0aabd48d1c0c857ade8ccde1989292f109e466215aee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/cmd/drivechaind/main.go: sidechain-orchestrator/cmd/drivechaind/main.go changed 51 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 87 in main.run at line 154. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/cmd/drivechaind/main.go\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":"sidechain-orchestrator/cmd/drivechaind/main.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"84889da503af29f8777a0f9db40412793f951f0a0680a8d35ff12b52591a701f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/orchestrator.go: sidechain-orchestrator/orchestrator.go changed 93 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in Orchestrator.startTargetOnly at line 2045. 1 of those changes was a fix/bug commit, and the other 92 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/orchestrator.go\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":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":2045}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84bd4a1fd2cd4ed27b52bed0895cd003fade80d513333a2c0f1b455e8f27dbd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/wallet/electrum_backend.go: sidechain-orchestrator/wallet/electrum_backend.go changed 53 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in ElectrumBackend.buildSendPSBT at line 1061. 3 of those changes were fix/bug commits, and the other 50 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/wallet/electrum_backend.go\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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"b340166485aef66cb0d4e9820ad630f9d83e5ba206bd7711c22023df61c27c39"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/lib/pages/sidechains_page.dart: bitwindow/lib/pages/sidechains_page.dart changed 45 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in _SidechainsTable.build at line 455. 1 of those changes was a fix/bug commit, and the other 44 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/lib/pages/sidechains_page.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/sidechains_page.dart"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"43489256418521bd808d0ce79ef896577439b1d08eedb103533a0adee09b9807"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/server/engines/bitcoind_engine.go: bitwindow/server/engines/bitcoind_engine.go changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in Parser.handleBlockTick at line 293. 3 of those changes were fix/bug commits, and the other 33 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/server/engines/bitcoind_engine.go\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":"bitwindow/server/engines/bitcoind_engine.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e9dfc156322173eeadd4395c1ffb84e87aca25a6136662b1d3a6245a4da504"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/server/api/wallet/wallet.go: bitwindow/server/api/wallet/wallet.go changed 46 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in Server.listTransactions at line 353. 3 of those changes were fix/bug commits, and the other 43 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/server/api/wallet/wallet.go\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":"bitwindow/server/api/wallet/wallet.go"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c0719df0018696bfbfc5ca72b4db17dc363de40f3f0cadd43fbe9b1f62d337"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/wallet/core_backend.go: sidechain-orchestrator/wallet/core_backend.go changed 42 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in CoreBackend.Send at line 832. 2 of those changes were fix/bug commits, and the other 40 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/wallet/core_backend.go\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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5a1b056325a8805ea7b3f4279dab6f4bfb8f05ee18a3fd2312aae240ad248f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/api/wallet_handler.go: sidechain-orchestrator/api/wallet_handler.go changed 48 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in WalletHandler.SendTransaction at line 959. 1 of those changes was a fix/bug commit, and the other 47 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/api/wallet_handler.go\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":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"2481366295ff1da224136c744356eae77cdca5d86afa39787816dd68d7ff79a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sail_ui/lib/widgets/nav/bottom_nav.dart: sail_ui/lib/widgets/nav/bottom_nav.dart changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in BottomNav.displayConnectionStatusDialog at line 232. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sail_ui/lib/widgets/nav/bottom_nav.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/nav/bottom_nav.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"745eff66f305db38f68d77385e3f5ff809f6c494f3905883163682c35519254b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/server/api/bitwindowd/bitwindowd.go: bitwindow/server/api/bitwindowd/bitwindowd.go changed 40 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Server.ImportLabels at line 669. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/server/api/bitwindowd/bitwindowd.go\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":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75857e064d07b5fdf9a777782cc8f0e68dac2e5e91d21085a267578957cd8a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/engines/bmm_engine.go: sidechain-orchestrator/engines/bmm_engine.go changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in BmmEngine.tick at line 604. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/engines/bmm_engine.go\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":"sidechain-orchestrator/engines/bmm_engine.go"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"0198064751289f4b1399d4a23ccfe33d7c624c0c686bdf7951c9e2db5cf052d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/lib/pages/root_page.dart: bitwindow/lib/pages/root_page.dart changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in _RootPageState.build at line 444. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/lib/pages/root_page.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb030190e733fc6ce8cfb458ffd3e172fc4f0288a6cf58e66f7f34f721e3d935"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/commands/commands.go: sidechain-orchestrator/commands/commands.go changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in commands.runStart at line 196. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/commands/commands.go\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":"sidechain-orchestrator/commands/commands.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8cb9731bcd1235c2929361e1de40666f702e7e47b36b8dc80d625035495707"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/api/bmm_handler.go: sidechain-orchestrator/api/bmm_handler.go changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in BMMHandler.CreateBid at line 445. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/api/bmm_handler.go\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":"sidechain-orchestrator/api/bmm_handler.go"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"958d234c023b854eff6dd93ba6fcad7c6c8e65ab0292b221a49a4e54e924a44f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/ecash_migration.go: sidechain-orchestrator/ecash_migration.go changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in Orchestrator.rewindMigration at line 976. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/ecash_migration.go\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":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac8a29a0a60923a3b3d75d1b0d80368911c01a2a5fec5ed35104419fa1a7475"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/wallet/service.go: sidechain-orchestrator/wallet/service.go changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Service.loadWalletFile at line 1880. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/wallet/service.go\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":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75893fcc75965305c13cc27672cf105c53d641b0b66e9e363741048d26cbc33"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/ecash_switch.go: sidechain-orchestrator/ecash_switch.go changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in Orchestrator.ApplyECashSwitch at line 291. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/ecash_switch.go\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":"sidechain-orchestrator/ecash_switch.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a98a87d6142b07ec54f0a07a475d646c6d42532bbde277293801ae783802f1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/server/engines/deniability_engine.go: bitwindow/server/engines/deniability_engine.go changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in DeniabilityEngine.CleanupDenials at line 114. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/server/engines/deniability_engine.go\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":"bitwindow/server/engines/deniability_engine.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"130e523ddbc9bfdfa8e80f8279155b936839ca840693f4ee08140d7fdc2f786c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/api/explorer_handler.go: sidechain-orchestrator/api/explorer_handler.go changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in api.nodeOverview at line 225. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/api/explorer_handler.go\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":"sidechain-orchestrator/api/explorer_handler.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"712f8edc6aea72c7f88e0fb71fbaf7a6811f8bf49844d05e17c13cb500ee0d2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/process.go: sidechain-orchestrator/process.go changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in ProcessManager.StartWithOptions at line 325. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/process.go\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":"sidechain-orchestrator/process.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8ba9b18d512b8b95eec9889de543f84ae09d35ddd90cc5a6319c0e0f74150c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain_core/lib/providers/sync_provider.dart: sidechain_core/lib/providers/sync_provider.dart changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in SyncProvider._fetch at line 319. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain_core/lib/providers/sync_provider.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/sync_provider.dart"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7550d21866dcd5115b67684f8a87523fdbdb88eca5ff1aefe90032854c8e26"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/server/engines/notification_engine.go: bitwindow/server/engines/notification_engine.go changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in NotificationEngine.processWalletTransactions at line 285. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/server/engines/notification_engine.go\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":"bitwindow/server/engines/notification_engine.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdcf31cf0241195ab21e7d9bc09a0e1165e0c6c2737c958471ac2b7643fd1f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/commands/wallet_burn_ecx.go: sidechain-orchestrator/commands/wallet_burn_ecx.go changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in commands.runWalletBurnECX at line 137. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/commands/wallet_burn_ecx.go\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":"sidechain-orchestrator/commands/wallet_burn_ecx.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8638a5f2354444a10d68d31605adf4cd65363d12433b3a46be12813a0164d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/server/main.go: bitwindow/server/main.go changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in main.realMain at line 72. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/server/main.go\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":"bitwindow/server/main.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d95e28d5239ad394fabb010e310ac00fc36fa0a346c643bef4d336eb3167839"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/lib/pages/wallet/wallet_overview.dart: bitwindow/lib/pages/wallet/wallet_overview.dart changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in _TransactionTableState.build at line 243. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/lib/pages/wallet/wallet_overview.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_overview.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"248ab62b6f9c99cf55fd87950d1c923cba4d7f86dce4cc744b17ba4522e44d61"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/reset.go: sidechain-orchestrator/reset.go changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Orchestrator.GatherFilesToDelete at line 173. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/reset.go\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":"sidechain-orchestrator/reset.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad05531bbcf95c23d6f8abfbba664281ea83759fdbc9c6a97953b3a83597afb4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/server/models/multisig/multisig.go: bitwindow/server/models/multisig/multisig.go changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in multisig.importGroupsJSON at line 654. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/server/models/multisig/multisig.go\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":"bitwindow/server/models/multisig/multisig.go"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8f50ac606b68f1edf4717059b75526a770cbda1474da0c72377d0d45331f00"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/server/api/drivechain/drivechain.go: bitwindow/server/api/drivechain/drivechain.go changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Server.ListWithdrawals 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/server/api/drivechain/drivechain.go\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":"bitwindow/server/api/drivechain/drivechain.go"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"560af4484eea9313f440f9a59611574d011b04073aa8b67fa5524dc17b8d51c8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/server/engines/m4_engine.go: bitwindow/server/engines/m4_engine.go changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in M4Engine.ApplyPendingM4 at line 104. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/server/engines/m4_engine.go\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":"bitwindow/server/engines/m4_engine.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"139b17fac78beeea5a205d7de1d95709c075422868f272756201fb307b398bf3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/server/engines/backup_engine.go: bitwindow/server/engines/backup_engine.go changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in BackupEngine.RestoreBackup at line 187. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/server/engines/backup_engine.go\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":"bitwindow/server/engines/backup_engine.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"a320aa3b5568d4a55943f5b85d1e37883513d988494d6f0c91df33372910aa17"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/network_catalog.go: sidechain-orchestrator/network_catalog.go changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Orchestrator.ConfirmPendingECashNetwork at line 104. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/network_catalog.go\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":"sidechain-orchestrator/network_catalog.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b761a0da8c1356e165eb60a30e343dd0658b3e1959939bf60b6fde468e07d09a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/server/engines/cheque_engine.go: bitwindow/server/engines/cheque_engine.go changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ChequeEngine.recoverChequesOnUnlock at line 409. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/server/engines/cheque_engine.go\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":"bitwindow/server/engines/cheque_engine.go"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc274dd300b8b15051fe6c405a413aeca20d84b42a3fb04561d1ba4f080b90c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/lib/providers/transactions_provider.dart: bitwindow/lib/providers/transactions_provider.dart changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in TransactionProvider.fetch at line 134. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/lib/providers/transactions_provider.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/transactions_provider.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7eb70a057f5ade5e4847f89144ffb3b04cfe62885d70162e081acc9256a6531"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/download.go: sidechain-orchestrator/download.go changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in DownloadManager.DownloadWithOptions at line 149. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/download.go\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":"sidechain-orchestrator/download.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf74d15db224a1f57f459b10949a469de416571ea8bf3d0967712413d397c08b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/lib/widgets/ecash_upgrade_banner.dart: bitwindow/lib/widgets/ecash_upgrade_banner.dart changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in ECashUpgradeWatcher._check at line 124. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/lib/widgets/ecash_upgrade_banner.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/ecash_upgrade_banner.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9430b8b79646be0b7665ad20da57169ec75c239986eabf5d5ffb5630349c23af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sail_ui/lib/widgets/components/table.dart: sail_ui/lib/widgets/components/table.dart changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in _SailTableState.build at line 206. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sail_ui/lib/widgets/components/table.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/components/table.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51675bccfbddba6715a999724fa0f1fb98ed9832374c35c40258c66742fb86e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/server/models/cheques/cheques.go: bitwindow/server/models/cheques/cheques.go changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in cheques.CreateOrUpdateFromRecoveryVersioned at line 387. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/server/models/cheques/cheques.go\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":"bitwindow/server/models/cheques/cheques.go"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"23be90a0bab3f0492a72452a5b8f33bc9f8c8d6c5c4dac13a9766583ca65019e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitnames/lib/pages/tabs/reserve_register_page.dart: bitnames/lib/pages/tabs/reserve_register_page.dart changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in BitnamesViewModel._registerBitname at line 785. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitnames/lib/pages/tabs/reserve_register_page.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitnames/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2e406d6af870ab11f2ed9a42c10b2ffff0b23b85cab7d3a81086e9bf66153f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/lib/providers/chat_provider.dart: bitwindow/lib/providers/chat_provider.dart changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in ChatProvider._processPaymailEntry at line 700. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/lib/providers/chat_provider.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/chat_provider.dart"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6cd0a145ba7e7a1339b46b916dce3898e0e40b99e0f5ca93fab0c34237a830d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sail_ui/lib/widgets/components/daemon_connection_card.dart: sail_ui/lib/widgets/components/daemon_connection_card.dart changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in DaemonConnectionCard._buildCard at line 80. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sail_ui/lib/widgets/components/daemon_connection_card.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/components/daemon_connection_card.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a20d62c70d2cc8c262b42bd65a22ca119d858203142f9287888c1da27328e6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/datadir_network.go: sidechain-orchestrator/datadir_network.go changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Orchestrator.ReadDatadirNetwork at line 54. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/datadir_network.go\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":"sidechain-orchestrator/datadir_network.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"39687e0cb17449e7df98734a9251aa269474ab67e64c6212312cab4765d26d6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: truthcoin/lib/pages/market_detail_page.dart: truthcoin/lib/pages/market_detail_page.dart changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in _PriceCardState.build at line 1111. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- truthcoin/lib/pages/market_detail_page.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"truthcoin/lib/pages/market_detail_page.dart"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adcaf5bf85627ac938dee4d34c616cd63161695bc21281ccbb255d3a0e20a1b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/node_mode.go: sidechain-orchestrator/node_mode.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in Orchestrator.SetNodeMode at line 98. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/node_mode.go\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":"sidechain-orchestrator/node_mode.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2ea1e47dc3b5ccdea73b9201617fcff82312e751bd1b1664397f28562af9b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/lib/widgets/ecash_migration_dialog.dart: bitwindow/lib/widgets/ecash_migration_dialog.dart changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in _ECashMigrationDialogState.build at line 435. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/lib/widgets/ecash_migration_dialog.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/ecash_migration_dialog.dart"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ae6014197dd8a36d22853d7d2e32c5571cf694a9d7cf98ee43c42d5103816f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/commands/ecash.go: sidechain-orchestrator/commands/ecash.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in commands.runECashMigrate at line 54. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/commands/ecash.go\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":"sidechain-orchestrator/commands/ecash.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"511f237f633a237e89b26fda04439310e69a01e74a2aec35493f272f57cc5607"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/api/explorer_core.go: sidechain-orchestrator/api/explorer_core.go changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in api.nodeTransaction at line 187. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/api/explorer_core.go\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":"sidechain-orchestrator/api/explorer_core.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a1c9176730a191b456118a31eeebcb669954f72927fbd1d25a3b03f422ded5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/api/bip47_send.go: sidechain-orchestrator/api/bip47_send.go changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in WalletHandler.bip47NotificationCoin at line 210. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/api/bip47_send.go\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":"sidechain-orchestrator/api/bip47_send.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc371e1a6466197dd7937a383185b3dcc6af4ce79bc3864efeba19f98bca1f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/server/engines/timestamp_engine.go: bitwindow/server/engines/timestamp_engine.go changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in TimestampEngine.checkConfirmations 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/server/engines/timestamp_engine.go\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":"bitwindow/server/engines/timestamp_engine.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05eb24fbbfd876330b46c5a6783f4a19f86d0f6fc416f9720a27c03e6f762a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/api/bitcoin_conf_handler.go: sidechain-orchestrator/api/bitcoin_conf_handler.go changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in BitcoinConfHandler.SetBitcoinConfigNetwork 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/api/bitcoin_conf_handler.go\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":"sidechain-orchestrator/api/bitcoin_conf_handler.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9553b02018026a6a6aa23798b4d68fae74dc89543c8ecb230e236647da9d28"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/wallet/psbt.go: sidechain-orchestrator/wallet/psbt.go changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in wallet.combinePSBT at line 1061. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/wallet/psbt.go\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":"sidechain-orchestrator/wallet/psbt.go"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"e364a54a2e22859acc47c0c07f875196ec342b8d91a11670c4579d2af06b1551"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/lib/pages/settings/settings_network.dart: bitwindow/lib/pages/settings/settings_network.dart changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in _SettingsNetworkState.build at line 343. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/lib/pages/settings/settings_network.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/settings/settings_network.dart"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d90c21d2cee0c6684b7f2f5277121c40894fbcaefac21db6c8d8b00df12a67"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/api/stratum_handler.go: sidechain-orchestrator/api/stratum_handler.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in StratumHandler.SetMiningSettings at line 800. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/api/stratum_handler.go\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":"sidechain-orchestrator/api/stratum_handler.go"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"caddae01c8c04666c44c81defd8cfe65375bf3b920ee37a32a7c5b7f4d20402a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/server/engines/utils_engine.go: bitwindow/server/engines/utils_engine.go changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in engines.ParseBitcoinURI at line 31. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/server/engines/utils_engine.go\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":"bitwindow/server/engines/utils_engine.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbc2fa1705f5e15a83e9fc86eec0dd4448298dbdbcee6c7e94fc68be14deb2d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/wallet/esplora.go: sidechain-orchestrator/wallet/esplora.go changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in EsploraClient.doWith at line 286. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/wallet/esplora.go\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":"sidechain-orchestrator/wallet/esplora.go"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fb67931b525d3fe91687153c8444741599d26e71ad819f11bc6dee24f3cebf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sail_ui/lib/pages/create_wallet_page.dart: sail_ui/lib/pages/create_wallet_page.dart changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in _SailCreateWalletPageState._handleRestore at line 725. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sail_ui/lib/pages/create_wallet_page.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/create_wallet_page.dart"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"82253f0c52825529b4e47d63f9630139619f70a812a9464d643b768bb7fc0c31"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/remote_enforcer.go: sidechain-orchestrator/remote_enforcer.go changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Orchestrator.prepareRemoteSidechainArgs at line 197. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/remote_enforcer.go\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":"sidechain-orchestrator/remote_enforcer.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bc20629a409787ce91c2651e943f2983fc767c48069ab4acaa94f0ad95baa7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/config/enforcer_conf.go: sidechain-orchestrator/config/enforcer_conf.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in EnforcerConfManager.GetCliArgs at line 287. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/config/enforcer_conf.go\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":"sidechain-orchestrator/config/enforcer_conf.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8f127571eb063352bd698fcd5b1c57596d66471a53cede9ba4e58626b886ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/lib/pages/wallet/check_detail_page.dart: bitwindow/lib/pages/wallet/check_detail_page.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in CheckDetailPage.build at line 260. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/lib/pages/wallet/check_detail_page.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/check_detail_page.dart"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"8294628708d4811109b02708da31203f88ea8491233bf1f9897eb7fa57b8b144"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sail_ui/lib/widgets/inputs/dropdown_menu.dart: sail_ui/lib/widgets/inputs/dropdown_menu.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in _SailDropdownButtonState.build at line 64. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sail_ui/lib/widgets/inputs/dropdown_menu.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/inputs/dropdown_menu.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"29769ad4190700b32b85baa9d7b42bdcaff98c6cc6bd1125bb2fe320e77d59fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sail_ui/lib/widgets/buttons/button.dart: sail_ui/lib/widgets/buttons/button.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in _ButtonContent.build at line 203. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sail_ui/lib/widgets/buttons/button.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/buttons/button.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d40f5fd8126a7e1a98c3caf08e14cb3d1dc8b9a3145e99d41aea71d2fa624b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/wallet/multisiglounge.go: sidechain-orchestrator/wallet/multisiglounge.go changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in wallet.MultisigPsbtSigningStatus at line 460. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/wallet/multisiglounge.go\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":"sidechain-orchestrator/wallet/multisiglounge.go"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a1680a693f9287d71c927b46462d94068d764e44f504f00d863533b334b04f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/testharness/node.go: sidechain-orchestrator/testharness/node.go changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in testharness.newNode at line 88. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/testharness/node.go\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":"sidechain-orchestrator/testharness/node.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb93e7a47a6023d6be512f023250580df08aaf252188622a7d5929b2c99f000"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/network_change_plan.go: sidechain-orchestrator/network_change_plan.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Orchestrator.PlanNetworkChange at line 40. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/network_change_plan.go\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":"sidechain-orchestrator/network_change_plan.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e12b467ed75ddbb41ce43fec50928ca92e11572cc6b1a55745919709fe99032"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/stratum/server.go: sidechain-orchestrator/stratum/server.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in Server.checkShareLocked at line 784. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/stratum/server.go\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":"sidechain-orchestrator/stratum/server.go"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"000a9b76402626d189b26d9aee77f84a1c0e5961c5864fd7e424421c3f6b183b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/commands/wallet_sign_psbt.go: sidechain-orchestrator/commands/wallet_sign_psbt.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in commands.runWalletSignPSBT at line 32. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/commands/wallet_sign_psbt.go\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":"sidechain-orchestrator/commands/wallet_sign_psbt.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"78899d8df5f06e9d3497bbe595998e5f68c26d186e21c08f53687f78bd4e36da"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/lib/pages/chat_page.dart: bitwindow/lib/pages/chat_page.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ChatPage.build at line 17. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/lib/pages/chat_page.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/chat_page.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"590d2c0fc6ec57f0f4daefc0ee36b0c75dbb30f6722457d03c3b0889dae3c499"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/engines/split_engine.go: sidechain-orchestrator/engines/split_engine.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in SplitEngine.tick at line 117. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/engines/split_engine.go\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":"sidechain-orchestrator/engines/split_engine.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79beda5a886da6365d73c4a2d80cca4b99b2b5312be6a357f407fb081bae9f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/testharness/bitcoind.go: sidechain-orchestrator/testharness/bitcoind.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in testharness.findBitcoind at line 46. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/testharness/bitcoind.go\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":"sidechain-orchestrator/testharness/bitcoind.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb37089c648515385d52bb0a280abd72f976ec137f4438ca1156cd122fdad33"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dc-hub/app/info/page.tsx: dc-hub/app/info/page.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in page.InfoPage at line 23. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- dc-hub/app/info/page.tsx\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":"dc-hub/app/info/page.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75b4cf5c3dccb465fcc7a6ca2e65f494ece69a66a370dfc8d45e0a2bee421ad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/wallet/network_chain_source.go: sidechain-orchestrator/wallet/network_chain_source.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in NetworkChainSource.current 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/wallet/network_chain_source.go\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":"sidechain-orchestrator/wallet/network_chain_source.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"878584259e0fc21cdba8c409a2de48d8f86076ddd0146802ec8f246a5d6f581a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/lib/providers/blockchain_provider.dart: bitwindow/lib/providers/blockchain_provider.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in BlockchainProvider.fetch at line 51. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/lib/providers/blockchain_provider.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/blockchain_provider.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8ff6fe7e7b0da36d0cb0a63ebf953b4305ba22c4cad65f78647ff5cfaa3fb5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/connection_monitor.go: sidechain-orchestrator/connection_monitor.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ConnectionMonitor.testConnection at line 339. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/connection_monitor.go\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":"sidechain-orchestrator/connection_monitor.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"1699c2e6629ff8aa77b520a7f2598f1aa5ed883653191f14041ec7f9a8246e97"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/config/bitcoin_config.go: sidechain-orchestrator/config/bitcoin_config.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in config.ParseBitcoinConfig at line 66. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/config/bitcoin_config.go\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":"sidechain-orchestrator/config/bitcoin_config.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"965f1998db648695bafec10148346b966d43c2066364da07e7aa03a27bddbdb2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain_core/lib/providers/binaries/managers/process_manager.dart: sidechain_core/lib/providers/binaries/managers/process_manager.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ProcessManager.start at line 141. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain_core/lib/providers/binaries/managers/process_manager.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/binaries/managers/process_manager.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"abec19faf21880e3ae3cb58935b3f1a26f48db8b75b17f7e833945d2e48d60b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sail_ui/lib/widgets/feedback/sail_tooltip.dart: sail_ui/lib/widgets/feedback/sail_tooltip.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in _SailTooltipState._buildOverlay at line 139. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sail_ui/lib/widgets/feedback/sail_tooltip.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/feedback/sail_tooltip.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0effb98160e079aaf0b8ecda8465317bfe6c8bba4762bdc809b2225dfc971f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bitwindow/lib/pages/settings/settings_reset.dart: bitwindow/lib/pages/settings/settings_reset.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in _SettingsResetState._executeReset at line 170. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- bitwindow/lib/pages/settings/settings_reset.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/settings/settings_reset.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a888d16003b8436ba8ccafa1eba6091de8aac5f7b98c3d5d835a44bd47ed5ea2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sidechain-orchestrator/api/deposit_balance.go: sidechain-orchestrator/api/deposit_balance.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Handler.depositPendingSats at line 20. 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 12:22:47 \u002B01:00\u0027 --until=\u00272026-11-17 12:22:47 \u002B01:00\u0027 --full-history --no-merges -- sidechain-orchestrator/api/deposit_balance.go\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":"sidechain-orchestrator/api/deposit_balance.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15ec06a8c9a8043ae358ef43e018cdef95419313e5c7afcc2f401a5c73ece1c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement version 0x03 logic when we have SCDB state \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":"bitwindow/server/models/m4/parser.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d52a6acb9f61e11849e7361fba09728278f36d4ac69c320e9b1edeeebd674e9"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060dc-hub\u0060 is runnable (a \u0060start\u0060 script in \u0060package.json\u0060) and neither \u0060dc-hub/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2450043d1c7d3abf6d28162765c6b8ffc80f53dbf3b59919eb730999de758bbd"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060server\u0060 is a command (\u0060package main\u0060 at the root of module \u0060github.com/LayerTwo-Labs/sidesail/dc-hub/server\u0060) and neither \u0060dc-hub/server/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/server/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c965ef2abd6aecae4819408b00b7f0c8bc6356bb004c25210809c46c2a091e12"}},{"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 \u0060zside/macos/Runner.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zside/macos/Runner.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d214688bd1db5aed478fd7fe1c2a68b40daf291faf1d31a0b4ee121b3a104f"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060_NodeRpcSyncWarning\u0060 spells \u0060Rpc\u0060 where 15 names in the project spell it \u0060RPC\u0060: 15 of 16 names in project repository.pages spell the token \u0060RPC\u0060 (15 of 16; unit: names in project repository.pages containing \u0060RPC\u0060). Peers: DutchAuctionViewModel.bitassetsRPC (bitassets/lib/pages/tabs/dutch_auction_page.dart:358); BitAssetsViewModel.bitassetsRPC (bitassets/lib/pages/tabs/reserve_register_page.dart:563); BitnamesViewModel.bitnamesRPC (bitnames/lib/pages/tabs/reserve_register_page.dart:600); ChatViewModel._bitnamesRPC (bitwindow/lib/pages/chat_page.dart:769); FireplaceViewModel._enforcerRPC (bitwindow/lib/pages/overview_page.dart:63). Rename to \u0060_NodeRPCSyncWarning\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/enforcer_conf_editor_page.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"35293fb3d0f2e77470f2646d7469965a430f3a3f1a0a372b8a9d0b98cef671fc"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060prepareBMM\u0060 spells \u0060BMM\u0060 where 20 names in the project spell it \u0060Bmm\u0060: 20 of 22 names in project repository.gen spell the token \u0060Bmm\u0060 (20 of 22; unit: names in project repository.gen containing \u0060Bmm\u0060). Peers: BbcServiceClient.getBmmCommitment (sidechain_core/lib/gen/bbc/v1/bbc.connect.client.dart:85); BbcService.getBmmCommitment (sidechain_core/lib/gen/bbc/v1/bbc.connect.spec.dart:47); BitAssetsServiceClient.getBmmInclusions (sidechain_core/lib/gen/bitassets/v1/bitassets.connect.client.dart:299); BitAssetsService.getBmmInclusions (sidechain_core/lib/gen/bitassets/v1/bitassets.connect.spec.dart:141); BitnamesServiceClient.getBmmInclusions (sidechain_core/lib/gen/bitnames/v1/bitnames.connect.client.dart:281). Rename to \u0060prepareBmm\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/gen/bmm/v1/bmm.connect.client.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1a87cc09a672adad8adf9eb74f7e027b49b75a030673017f4c2da5b22d1da2"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060prepareBMM\u0060 spells \u0060BMM\u0060 where 20 names in the project spell it \u0060Bmm\u0060: 20 of 22 names in project repository.gen spell the token \u0060Bmm\u0060 (20 of 22; unit: names in project repository.gen containing \u0060Bmm\u0060). Peers: BbcServiceClient.getBmmCommitment (sidechain_core/lib/gen/bbc/v1/bbc.connect.client.dart:85); BbcService.getBmmCommitment (sidechain_core/lib/gen/bbc/v1/bbc.connect.spec.dart:47); BitAssetsServiceClient.getBmmInclusions (sidechain_core/lib/gen/bitassets/v1/bitassets.connect.client.dart:299); BitAssetsService.getBmmInclusions (sidechain_core/lib/gen/bitassets/v1/bitassets.connect.spec.dart:141); BitnamesServiceClient.getBmmInclusions (sidechain_core/lib/gen/bitnames/v1/bitnames.connect.client.dart:281). Rename to \u0060prepareBmm\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/gen/bmm/v1/bmm.connect.spec.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7201e6d2ff598f69d0dfe264a34df48279a76a6191ed97840d00eac535c20ee1"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060getCoinbasePSBT\u0060 spells \u0060PSBT\u0060 where 30 names in the project spell it \u0060Psbt\u0060: 30 of 32 names in project repository.gen spell the token \u0060Psbt\u0060 (30 of 32; unit: names in project repository.gen containing \u0060Psbt\u0060). Peers: BitcoinServiceClient.createPsbt (sidechain_core/lib/gen/bitcoin/bitcoind/v1alpha/bitcoin.connect.client.dart:705); BitcoinServiceClient.decodePsbt (sidechain_core/lib/gen/bitcoin/bitcoind/v1alpha/bitcoin.connect.client.dart:723); BitcoinServiceClient.analyzePsbt (sidechain_core/lib/gen/bitcoin/bitcoind/v1alpha/bitcoin.connect.client.dart:740); BitcoinServiceClient.combinePsbt (sidechain_core/lib/gen/bitcoin/bitcoind/v1alpha/bitcoin.connect.client.dart:757); BitcoinServiceClient.utxoUpdatePsbt (sidechain_core/lib/gen/bitcoin/bitcoind/v1alpha/bitcoin.connect.client.dart:774). Rename to \u0060getCoinbasePsbt\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/gen/cusf/mainchain/v1/validator.connect.client.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec60f5beaa59b5e3ad7a87958c9109775b6ab7f2d73ce456d559ad21e59f3c4e"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060getCoinbasePSBT\u0060 spells \u0060PSBT\u0060 where 30 names in the project spell it \u0060Psbt\u0060: 30 of 32 names in project repository.gen spell the token \u0060Psbt\u0060 (30 of 32; unit: names in project repository.gen containing \u0060Psbt\u0060). Peers: BitcoinServiceClient.createPsbt (sidechain_core/lib/gen/bitcoin/bitcoind/v1alpha/bitcoin.connect.client.dart:705); BitcoinServiceClient.decodePsbt (sidechain_core/lib/gen/bitcoin/bitcoind/v1alpha/bitcoin.connect.client.dart:723); BitcoinServiceClient.analyzePsbt (sidechain_core/lib/gen/bitcoin/bitcoind/v1alpha/bitcoin.connect.client.dart:740); BitcoinServiceClient.combinePsbt (sidechain_core/lib/gen/bitcoin/bitcoind/v1alpha/bitcoin.connect.client.dart:757); BitcoinServiceClient.utxoUpdatePsbt (sidechain_core/lib/gen/bitcoin/bitcoind/v1alpha/bitcoin.connect.client.dart:774). Rename to \u0060getCoinbasePsbt\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/gen/cusf/mainchain/v1/validator.connect.spec.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27e09c19e58480090c2e297b3d79a1ee455a315a54e951c511d4aef63acb653"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060getByID\u0060 spells \u0060ID\u0060 where 111 names in the project spell it \u0060Id\u0060: 111 of 112 names in project repository.providers spell the token \u0060Id\u0060 (111 of 112; unit: names in project repository.providers containing \u0060Id\u0060). Peers: AssetHolding.assetId (bitassets/lib/providers/asset_analytics_provider.dart:12); AssetHolding.AssetHolding(assetId) (bitassets/lib/providers/asset_analytics_provider.dart:18); PriceAlertProvider.getAlertsForAuction(auctionId) (bitassets/lib/providers/price_alert_provider.dart:28); PriceAlertProvider.hasAlertForAuction(auctionId) (bitassets/lib/providers/price_alert_provider.dart:32); PriceAlertProvider.removeAlert(auctionId) (bitassets/lib/providers/price_alert_provider.dart:52). Rename to \u0060getById\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/window_provider.dart"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d626630a3e1bd2290bbd2ca8df9e26f947158239c9ddab68a5138a6ffb750a"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060sequenceID\u0060 spells \u0060ID\u0060 where 136 names in the project spell it \u0060Id\u0060: 136 of 138 names in project repository.rpcs spell the token \u0060Id\u0060 (136 of 138; unit: names in project repository.rpcs containing \u0060Id\u0060). Peers: BitAssetsRPC.getBitAssetData(assetId) (sidechain_core/lib/rpcs/bitassets_rpc.dart:18); BitAssetsRPC.transferBitAsset(assetId) (sidechain_core/lib/rpcs/bitassets_rpc.dart:100); BitAssetsRPC.dutchAuctionBid(dutchAuctionId) (sidechain_core/lib/rpcs/bitassets_rpc.dart:159); BitAssetsRPC.dutchAuctionCollect(dutchAuctionId) (sidechain_core/lib/rpcs/bitassets_rpc.dart:165); BitAssetsLive.getBitAssetData(assetId) (sidechain_core/lib/rpcs/bitassets_rpc.dart:342). Rename to \u0060sequenceId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cb12a3c9104ffe2630b1f101ded5319ee489b93aef5d14c3a08d7962d1380c"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060sequenceID\u0060 spells \u0060ID\u0060 where 136 names in the project spell it \u0060Id\u0060: 136 of 138 names in project repository.rpcs spell the token \u0060Id\u0060 (136 of 138; unit: names in project repository.rpcs containing \u0060Id\u0060). Peers: BitAssetsRPC.getBitAssetData(assetId) (sidechain_core/lib/rpcs/bitassets_rpc.dart:18); BitAssetsRPC.transferBitAsset(assetId) (sidechain_core/lib/rpcs/bitassets_rpc.dart:100); BitAssetsRPC.dutchAuctionBid(dutchAuctionId) (sidechain_core/lib/rpcs/bitassets_rpc.dart:159); BitAssetsRPC.dutchAuctionCollect(dutchAuctionId) (sidechain_core/lib/rpcs/bitassets_rpc.dart:165); BitAssetsLive.getBitAssetData(assetId) (sidechain_core/lib/rpcs/bitassets_rpc.dart:342). Rename to \u0060sequenceId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67d33cac799bd719fe5ccf093f93b2264c864609681886a97876ed4523cd779"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060coreRawCall\u0060 spells \u0060Raw\u0060 where 13 names in the project spell it \u0060RAW\u0060: 13 of 14 names in project repository.rpcs spell the token \u0060RAW\u0060 (13 of 14; unit: names in project repository.rpcs containing \u0060RAW\u0060). Peers: BbcLive.callRAW (sidechain_core/lib/rpcs/bbc_rpc.dart:228); BitAssetsLive.callRAW (sidechain_core/lib/rpcs/bitassets_rpc.dart:291); BitnamesLive.callRAW (sidechain_core/lib/rpcs/bitnames_rpc.dart:218); BitwindowRPC.callRAW (sidechain_core/lib/rpcs/bitwindow_api.dart:44); BitwindowRPCLive.callRAW (sidechain_core/lib/rpcs/bitwindow_api.dart:174). Rename to \u0060coreRAWCall\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/orchestrator_rpc.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"23da4115a2a555460597de45dac58a5cac53a17a31653f6130cb0afc786556cb"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060TopicIdLength\u0060 spells \u0060Id\u0060 where 164 names in the project spell it \u0060ID\u0060: 164 of 165 names in project github.com/LayerTwo-Labs/sidesail/bitwindow/server spell the token \u0060ID\u0060 (164 of 165; unit: names in project github.com/LayerTwo-Labs/sidesail/bitwindow/server containing \u0060ID\u0060). Peers: Server.checkElectrumUTXO(walletID) (bitwindow/server/api/bitwindowd/bitwindowd.go:1229); Server.checkBitcoinCoreUTXO(walletID) (bitwindow/server/api/bitwindowd/bitwindowd.go:1241); Server.processPegDataBlocks(sidechainID) (bitwindow/server/api/drivechain/drivechain.go:483); misc.parseItemID (bitwindow/server/api/misc/misc.go:145); misc.parseItemID(hexID) (bitwindow/server/api/misc/misc.go:145). Rename to \u0060TopicIDLength\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/models/opreturns/opreturns.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"522a61f93e3e6c6f458d72121838b638a7d705ee97ad31a70841802a6d6b2096"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060SyncNodeRpcFromBitcoinConf\u0060 spells \u0060Rpc\u0060 where 35 names in the project spell it \u0060RPC\u0060: 35 of 37 names in project github.com/LayerTwo-Labs/sidesail/sidechain-orchestrator spell the token \u0060RPC\u0060 (35 of 37; unit: names in project github.com/LayerTwo-Labs/sidesail/sidechain-orchestrator containing \u0060RPC\u0060). Peers: github.com/LayerTwo-Labs/sidesail/sidechain-orchestrator/api.coreRPCResult (sidechain-orchestrator/api/orchestrator_handler.go:1164); Handler.callCoreRPC (sidechain-orchestrator/api/orchestrator_handler.go:1172); orchestrator.bitcoindRPCMaxInflight (sidechain-orchestrator/bitcoind_rpc.go:22); orchestrator.bitcoindRPCGate (sidechain-orchestrator/bitcoind_rpc.go:25); orchestrator.bitcoindRPCInflight (sidechain-orchestrator/bitcoind_rpc.go:26). Rename to \u0060SyncNodeRPCFromBitcoinConf\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/enforcer_conf_handler.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c13427cc23deaac171ab7a382b179a9369e21b3f8579b8a52af98a2402e65f"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060GetExpectedNodeRpcSettings\u0060 spells \u0060Rpc\u0060 where 35 names in the project spell it \u0060RPC\u0060: 35 of 37 names in project github.com/LayerTwo-Labs/sidesail/sidechain-orchestrator spell the token \u0060RPC\u0060 (35 of 37; unit: names in project github.com/LayerTwo-Labs/sidesail/sidechain-orchestrator containing \u0060RPC\u0060). Peers: github.com/LayerTwo-Labs/sidesail/sidechain-orchestrator/api.coreRPCResult (sidechain-orchestrator/api/orchestrator_handler.go:1164); Handler.callCoreRPC (sidechain-orchestrator/api/orchestrator_handler.go:1172); orchestrator.bitcoindRPCMaxInflight (sidechain-orchestrator/bitcoind_rpc.go:22); orchestrator.bitcoindRPCGate (sidechain-orchestrator/bitcoind_rpc.go:25); orchestrator.bitcoindRPCInflight (sidechain-orchestrator/bitcoind_rpc.go:26). Rename to \u0060GetExpectedNodeRPCSettings\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/config/enforcer_conf.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10f95e69323966db0bdeb6da3dda17abd7c9436ccacbfdaeb9b15e0c2cbb582"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060database.CheckOne\u0060 takes no context.Context; its 3 sibling operations take one: 3 of 4 fallible operations of \u0060package database\u0060 take a \u0060ctx context.Context\u0060 (3 of 4). Siblings: database.New (bitwindow/server/database/db.go:19); database.Get (bitwindow/server/database/db.go:65); database.Select (bitwindow/server/database/db.go:82). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/database/db.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42f3fe58c9140e3b48dc7d46c1f70c75d92e926319e56854ea835ac1cd24c6c"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060addressbook.DirectionFromProto\u0060 takes no context.Context; its 6 sibling operations take one: 6 of 7 fallible operations of \u0060package addressbook\u0060 take a \u0060ctx context.Context\u0060 (6 of 7). Siblings: addressbook.Create (bitwindow/server/models/addressbook/addressbook.go:36); addressbook.Upsert (bitwindow/server/models/addressbook/addressbook.go:49); addressbook.List (bitwindow/server/models/addressbook/addressbook.go:60); addressbook.LabelsByAddress (bitwindow/server/models/addressbook/addressbook.go:65); addressbook.UpdateLabel (bitwindow/server/models/addressbook/addressbook.go:79). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/models/addressbook/addressbook.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f997759a1d31af1862988db2df7a605112d5145faa7c9f07d0004118c8bae083"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060coinnews.CommentSigHash\u0060 returns an array (\u0060[N]T\u0060) where its 7 siblings return a slice (\u0060[]T\u0060): 7 of 8 collection-returning members of \u0060package coinnews\u0060 return a slice (\u0060[]T\u0060) (7 of 8). Siblings: coinnews.EncodeTopicCreation (coinnews/codec/encode.go:12); coinnews.EncodeStory (coinnews/codec/encode.go:33); coinnews.EncodeComment (coinnews/codec/encode.go:52); coinnews.EncodeContinuation (coinnews/codec/encode.go:71); coinnews.DecodeTLVs (coinnews/codec/tlv.go:36). Return a slice (\u0060[]T\u0060). [rule A4]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/codec/sign.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14958f396400439e3d93eb2eb78d1779bd99fe86a74a08ec3d2227d0717f734"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060blockfile.ParseMagic\u0060 takes no context.Context; its 4 sibling operations take one: 4 of 5 fallible operations of \u0060package blockfile\u0060 take a \u0060ctx context.Context\u0060 (4 of 5). Siblings: blockfile.Preview (sidechain-orchestrator/blockfile/convert.go:99); blockfile.Convert (sidechain-orchestrator/blockfile/convert.go:104); blockfile.Detect (sidechain-orchestrator/blockfile/detect.go:31); blockfile.ReadEnds (sidechain-orchestrator/blockfile/detect.go:42). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/blockfile/convert.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d023e3038e4c2ab42e443a3afcff347f0aed38f582d00cee0890894995bc0319"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060cgminer.ReplyError\u0060 takes no context.Context; its 3 sibling operations take one: 3 of 4 fallible operations of \u0060package cgminer\u0060 take a \u0060ctx context.Context\u0060 (3 of 4). Siblings: cgminer.Command (sidechain-orchestrator/cgminer/cgminer.go:40); cgminer.ReadDevice (sidechain-orchestrator/cgminer/cgminer.go:142); cgminer.SetWorkMode (sidechain-orchestrator/cgminer/cgminer.go:163). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/cgminer/cgminer.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a068dd1a4f2d4cb115ee59d63c67a746e84eb7a89cbfc1d2c1542a623fc9cb1"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060BinaryDirConfig.RootDirNetwork\u0060 signals absence with a bare \u0060T\u0060 (the zero value when absent) where its 3 sibling single-key reads use \u0060(T, error)\u0060 (an error when absent): 3 of 4 single-key reads of \u0060BinaryDirConfig\u0060 return \u0060(T, error)\u0060 (an error when absent) (3 of 4). Siblings: BinaryDirConfig.ResolveBinaryPath (sidechain-orchestrator/config/binaries.go:857); BinaryDirConfig.BinaryVersion (sidechain-orchestrator/config/binaries.go:917); BinaryDirConfig.CalculateHash (sidechain-orchestrator/config/binaries.go:938). Return \u0060(T, error)\u0060 (an error when absent) like its siblings. [rule A5]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/config/binaries.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"64dba7f0ace690e849d67b70207380d93d7692afe3adaf63a58af9795638e725"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060config.AllDirConfigs\u0060 returns a map (\u0060map[K]V\u0060) where its 7 siblings return a slice (\u0060[]T\u0060): 7 of 8 collection-returning members of \u0060package config\u0060 return a slice (\u0060[]T\u0060) (7 of 8). Siblings: config.GetMatchingFilesInDir (sidechain-orchestrator/config/binaries.go:317); config.GetExistingFilesInDir (sidechain-orchestrator/config/binaries.go:334); config.WithElectrumFallback (sidechain-orchestrator/config/enforcer_conf.go:480); config.MainchainReaderArgs (sidechain-orchestrator/config/mainchain_reader.go:59); config.AllNetworks (sidechain-orchestrator/config/network.go:36). Return a slice (\u0060[]T\u0060). [rule A4]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/config/binaries.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdc94f88eeae96b5e0f0c49ba8a3536814d61573a14eff593e0acb7c36ed581"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060ElectrumBackend.DetectScriptKind\u0060 signals absence with comma-ok \u0060(T, bool)\u0060 where its 5 sibling single-key reads use \u0060(T, error)\u0060 (an error when absent): 5 of 6 single-key reads of \u0060ElectrumBackend\u0060 return \u0060(T, error)\u0060 (an error when absent) (5 of 6). Siblings: ElectrumBackend.BroadcastRaw (sidechain-orchestrator/wallet/address_reads.go:83); ElectrumBackend.FeeRateForTarget (sidechain-orchestrator/wallet/electrum_backend.go:236); ElectrumBackend.FinalizePSBT (sidechain-orchestrator/wallet/electrum_backend.go:1470); ElectrumBackend.TxStatus (sidechain-orchestrator/wallet/electrum_backend.go:2064); ElectrumBackend.SetServerURL (sidechain-orchestrator/wallet/electrum_backend.go:2116). Return \u0060(T, error)\u0060 (an error when absent) like its siblings. [rule A5]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/detect_script_kind.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7817b7b2187973df14696a49275c93901af540bbf5496a8dbcab97e67c4bc8"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060sidechain-orchestrator\u0060 (78140 LoC, 442 module-visible types across 44 directories) overshoots its size bounds. 5 of 40 build unit(s) (Go, SwiftPM, Xcode, npm, pub) overshoot their size bounds, lowering Project Cohesion to 7.5/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":"sidechain-orchestrator/go.mod"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"394bbf24469fa9c3370abd38c5820f0f6091ca3400bf8d2b839a8c04ea4f02ba"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060bitwindow\u0060 (60070 LoC, 442 module-visible types across 21 directories) overshoots its size bounds. 5 of 40 build unit(s) (Go, SwiftPM, Xcode, npm, pub) overshoot their size bounds, lowering Project Cohesion to 7.5/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":"bitwindow/pubspec.yaml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d79d5bf85205fad51b6050673e90a66c8638cb2f2ecdcd63174969704376689"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060sail_ui\u0060 (40477 LoC, 362 module-visible types across 28 directories) overshoots its size bounds. 5 of 40 build unit(s) (Go, SwiftPM, Xcode, npm, pub) overshoot their size bounds, lowering Project Cohesion to 7.5/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":"sail_ui/pubspec.yaml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abff9841adba8f2e9693e6564a699bc2f234f50be7cdf36408816a00913f0f82"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060sidechain_core\u0060 (27384 LoC, 339 module-visible types across 47 directories) overshoots its size bounds. 5 of 40 build unit(s) (Go, SwiftPM, Xcode, npm, pub) overshoot their size bounds, lowering Project Cohesion to 7.5/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":"sidechain_core/pubspec.yaml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b8eeb27d94b7cc4c29c6ac408ea256166b88f5f2eb0cadac8825c0f9fa2676"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060bitwindow/server\u0060 (23629 LoC, 195 module-visible types across 47 directories) overshoots its size bounds. 5 of 40 build unit(s) (Go, SwiftPM, Xcode, npm, pub) overshoot their size bounds, lowering Project Cohesion to 7.5/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":"bitwindow/server/go.mod"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"884fa3b2edca8eb2ae2311f209ab14e9b82e4df8fe230eaa2b48df57b84ad41b"}},{"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":"324cf29c706d3b8f844bd84167ab86138f70798ff9dfd1b4b608dcfb1d896e34"},"properties":{"commitSha":"fe5db74db7174119e96b0e784a39c035b1ac656e"}},{"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":"e2289fbf10efef10caf408654a3dcc86d2c0261dd5c1250cf065846ef71b426e"},"properties":{"commitSha":"2fe31a73a43de5e3ce3c6923da670255cc682d56"}},{"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b1f1280fb905b4628bc4dc0bd161db24f1873c9f6ab1447263d8aff9f21f64f"},"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":"8b94fce1d3259c8ddc31d23f11e74879d5a1175b4b56a0d731fa7d1d1604f702"},"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":"d1c4ca01c9243c622f38c6732163b9db598cdb8b5aff1c9c0321c1f705964792"},"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":"fec20ff34f01071753564ed0ee583ff08b0a861d1caefb94ce342b3714c9b472"},"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":"c64fe4152607f4cb4ab1381a7d3781b3505f3334ac57a09183e9fea75fbd8818"},"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":"8048164b0a68f03ccd2bbbec44da8bfd205ec9c71443a7dda3f68c8e40ccf7d4"},"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":"484c60ed00bc17fa1d1fd059e01d705593c2fcb1264c8d2bd4da208d8b7b0e93"},"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":"67a42cb4815c033b9f2aecd4e56d2262c55075ec2b78aaa801ec874fa65372c4"},"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":"2f2eb72718f475a25ad378d57dac0335492a2061796c6f99d1e7d676f1e87f94"},"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":"e1e34df42c9ec023dc97b7e0b3b872e75ecc2ff491e13dcbae1eb5115a2cb8dd"},"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":"ceb0f7407743c50e5693f4b5fd9a3742b7b59f7b8e6d4b839ba61a2ab4213291"},"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":"c8afd8756c2b49b9ff96c813562ba6f2a0de3e89d842aee1ddcd0387c57d9a60"},"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":"fb7ec42d90331c5e2d97ac20f90fee0c3ac6e986d2d73d3b0e873d22c4b67ecb"},"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":"1f3e3a96386d3cf2a09fa1b2ee086568b14149ffbb176c4b92b8ecf6af2fa512"},"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":"60122fb1586df1b05b60a0103b88420e9dfbc620eff2fa09edd7a4f27dcc77ab"},"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":"a378eb575e3f20eca26f26f9af5fcfc839b4b37f9977c04073aa58942c61cd4f"},"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":"2fbb80e84aaa7e5d18fcef396e8c3e57fc3a1c67c12c52696ac4908702161662"},"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":"b38cdfe05b26c5172758a1d62de42a40dba15f193b39f19c63cc5fc489de3bca"},"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":"703594ce2164a5ef197e0f1de38efadb3ffb5dbb814ba42d6606f8726ad560d5"},"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":"eea2f576f5277541af28ae5a69be82ce0b391c7e23dca26cfa8bc7e416f5a027"},"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":"b3df25c9782664fe959b16dcea5f7c46b3f8710a48d8b82f1b2c2296ad0735cd"},"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":"56554494bbae9d349154991f488216bd57870a43fff9921199ba6dd6feab040e"},"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":"8f177b03a37c3ab9978e4a819ef0a3bfd633f205db9f8d5e791297e027c6df34"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"450edcdba5c39d449a2f3dc81de4d292f1313dcafafe5e6db94d7e2762b5c8af"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"978f37d645fab0b0f3324dd51652dd6391e69e138ff546c4370fac18dd73d37d"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4329d8f560fce2a040040db2a937617dde27d40fcd22268e173adad16358e7cf"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-668","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"1fd85db6d9092eab83d6b4f5745e1c5caf17750c05944381a2a2c12e626b538c"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"101bc97a30565fd5c6f4341950a2c16ee9a54dcd6387b4b303259452ab134c26"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac8e7f10b235bfff0eb79001e0e7d128a67585191dcf65f708ea07ec5d1e8b8a"},"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":"9413d177ee3dfb094dc7ceb596e3a2705c4a851450d2130bbb4a0076070eb76d"},"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":"f2072197baebeed29f75b81493d93207cafebaa947ff28224c11397ab3cf460c"},"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":"3b20c9e3f5f07cd9ed7d38e1ad9e3677b956fa28fa72534ce39bdba4769b42e6"},"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":"5bab7659ebe9647573f172886341a2ae005d94c6b2eea6a1d98f1df5ab090633"},"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":"e70370835a6098b047e3f89b14be691b6deae1472ae895a8d4c3ac163ee3faee"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac407c7ff9ddad35cb70f2f3e3b268d2c80f3d43b3beea8da8c5481a124044f0"},"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":"e9c808a0a5f5e3f3b2e09f26e65479dbe9de4eb52af1361876e767ccf8108555"},"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":"722e187d599382adfb666426cbd726cf2516b2714a7ca14d7a9fa10da50f5cc1"},"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":"31dbe491853b01d7af4c34445a7ae012298e209032310787a08c22aa3733c1aa"},"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":"6e01be2b7d46f2446ec8f6d5533e08464469797c1564127fcc081b6cc764b02b"},"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":"8bea71edf54ae57ccab9977cb39f300fecda0a66f10fcd4a7bae412c08726aee"},"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":"4657970b8245d56309f3cbcd58986a41f8d0f5995e34be6dbac2c04f65c9e5bb"},"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":"60238c5a0041084a498850cda414671ef9fe8f65de54820e80b242233d8cea48"},"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":"2a02d3689a07018b6915b303ffc2b677dd276033822823d9c043ff01a2f272f9"},"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":"7983705f2df178dfded0aa2cbba3657e38e47d71cb76891c7cbc3ee264d39784"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"13417040095a720aeb72522efda9f247d7f9282f44f8868fa0274e110e6776ab"},"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":"3e898eb0daa2ee2cee7a17e36e50dced8802ea87d9ff5ec6a0548ac8026a2aaa"},"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":"3e7e64405c44df067dc1c270367be874afb5abb1bbdf790250d8f05f73a236ce"},"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":"a052e047ca9d4eb8f28f29fb54d277c1565c8d13c1ba3bd2e336519d5ed16697"},"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":"b739416baaf90226d9aa92a488f7ccff84d3a2143ce924fb31ad75a3ed763487"},"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":"2cecacfa52f790bb0eadf18402292077ad7584fbc6358d23da3f63d222e9c28f"},"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":"4a037f35f629802c44c9ff7603b87b43b6b4a0ac4f2a45d29585b0351345f9d9"},"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":"c34a54f9bcc15944c74ccb71dd1fd81f899123d247dcb1d04ed2937c39492c52"},"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":"97b80b96b7d036dbe30c92778cc852e54d416ebec7d5b62c4a12c2ea811566b3"},"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":"53b5861fec0f0854993fb8c71c7924ba62901fd0ab4706b6cc68eb54f91780a8"},"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":"4ddd010af631cc26e045b2dac86eece14f4a5dc4b0a1563be31e27debdbd7f62"},"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":"46d788786d6a499bd144492fadc221c5cd0a8ee9d9d1d9e03aa68b34739bd57a"},"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":"918045884c9d669cca48579df7c43ee707822122427a975f63a8b4c0daecd5ee"},"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":"c8ea5194d7054bc1a4c4d45d312d3ef232e5e5c4f76c945eecaa4f50d422e67d"},"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":"aa088b363bf7f9b1337878271375e1c4741b6756cb684a13f39466c5517c1fd7"},"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":"7df13185c44dd063b3f9692ea3ce2a49d8a29fac5fa12a09a0e922062b9a4082"},"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":"12c994f99eefdb92590979b7b169e0b069ced42145599956c3f0fc2b0ca78b9a"},"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":"5b8c54b890f628db838df2c138a056f1ebbca9843cd87acdf932b42bfea71b06"},"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":"49f7fb2cfa8d2ccaeeea738f8c6376bd78aa86811884abbbee5ed785ac2a9d4e"},"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":"a5e0bb1b90a1858dbcabe58cd06186e67b2bd84fd8d3fe21c540364f051327cb"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2ca446bceb86aba7c7d8c9c7bf933d59af7c833aedb7f8c2a719286ad1c3b59"},"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":"4be844c8356c7419cf9c3dfd7f393290e816c97e9fc5c01b1e753ba50d9d9f48"},"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":"393956edfead9f38634809b5092011506111588b547bf04b08a79be6ecc15de7"},"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":"c660455fad9592dd76d1c9c70b87fc57283a35dd0b8c468a9993dbb5de6bfcea"},"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":"06817f7a895b5dc273141ce4b3d6ee7dcda7b9a8c6efebeaf6e417513e383ba3"},"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":"32ee2f3da9bae849133d98bc04cc58e1364cdf054342ad2e5ea51e67bf839ce4"},"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":"d47a0e4c12e5601e8c7c40931689ea838a35a1b5f98e181ca19626f0d66b93b5"},"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":"5dd80d8e4a099691459f5fa27c5f8184a10f5f9e12ad26f4029269a2371660f8"},"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":"ffb6d3c870bb5adfc11f05ed5aef0be850ec792591d16dcc7cf46c13aa1d762f"},"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":"fa2de63eb91562626e5bbf963ec03dbe5e42b54969a662b3cdd1d9491e2f01e4"},"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":"7d1a1aa23e8ecef1ec3897b1ef2af5a88f191f9946b1c0f4144584189b32b6aa"},"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":"45483f48fae25423c2a4c568dc4e16b95753bc273a0f7b2ac9e600dcfa256e45"},"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":"9b3c6a33070747ddcd8001c0380170edad3e387aa863f4c5139154145ae7a7a9"},"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":"bd5ff1c692e760f06bda971aab430e6f4128a905fcb97a028214fae8e4902f5e"},"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":"3785b95f641efc860c182b771a4e8e53ae6c02d6260a4a9f07405c3a2f71ed60"},"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":"16c312ad2de0f3243d3814a49a8f620eea2276cb761b0618ef434f0272663850"},"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":"f249999e3cf35a06c1bc339175b0d787e1f617cde012ddc06f921242495d5821"},"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":"638298b87ef93d4c34a345f68966f5f64c10b55263fd93c8531ef8dfb4566783"},"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":"c53c597ebb749b4c58a72ef47281b962e2fff587a21b5330f43bb8c5dd5a8877"},"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":"503be45673b635a8fda4f3108d0cb907b2edd4e911921e82c12c07ddec425708"},"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":"a186055c76b480056a5e52c9b43b692c35185cc1648d6302ba387e9c61c73479"},"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":"6723d4cf34079d0d12eff1d7a557cb382d7908d58e7bea991b7bb78008eddb04"},"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":"1b849336e569f9ad12f1d542ae45a70a711c2e23645501788d4b01f8e112ebfe"},"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":"f2798f90f32528fd044070520417f9507f992dc0aedeb898973f9067a94f2e9a"},"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":"937032c0c589b19e7b9c00940c12438a91bab36fe80dc5e31e864ee113401bc1"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b973b7348943596fc832712a044bcbae367e2509e64241736044800cc7164b7"},"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":"b44c5ab14f46796c2cbe524c415096f12e54083e2aa27ebf6b8f41a6c7e5a02c"},"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":"681c49b45512191af136dd25d8145f4b9bb01fea066e6fb88a6ef19a8e3b206f"},"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":"2a016c7743223e7eec6e0cdf327ac5e176f1b217b31e36d1fc6261209e25a07c"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dba88bd0d89fcfe4371a0665b7db89f5258a125e1ed9364452725c46289487b3"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d813c8806fe9c071d734a49894bbad1dd870de2eb9ab4f4a7a3284722f56982"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a11d5284e39fb8a8e9077c0806300de01f92bcec65ebddb0a2fdfdeef962294"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8472c7e36c5b14341e536f37f8ca8411f3f2c45f82b60a7a58a1ffb3a55e7547"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d22daf504fdd1634bc02f8076f623739177f92f0ae0e5b8ead2dc78b92d1ce8a"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a5bc437263aa012819920260af2ab80efe19f4221e0c0f9c138dcf519ba306d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"18d5b224774950073f54320e60214954f2cf75d7995cd170c3fc972aa045bf4b"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e41e805b688bf89c02f59ae85a4787c9e8183be3c748c8416ad6cc1164a3106a"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"031032201abc3553b345a1042bdbe2083f130b2e79e7a68b45ab58ba27e4daf4"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6cf0d88eeb0ce26494722fa01927117bd77ad34e73675a46b31f7fc1ad2309fd"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c22b7781daacfd3bb9caa4d275eddf3b79236a1de8fe1973561431dc40331347"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"70a2263bf50cb92d2a3c22679440b240a5fe47d275509c9b85ad93c5ed16ee89"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"436491e271dac14218f5982ef55bbc60655a59317f6602292fa3cad927aa7283"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a5df05a262765145735288b29a5a670b516bea8075551aff23e602d1c45118c"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46c0814c0402fceaa3f6209fe6961b70fdfc69294fe3e7cae9e5893b291ae614"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d41364c367e73da3bffece6c23f2c313fb7770274be995a6d6d067aad2f2097f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9c22cefbb6b514de36f51a0963f2fcff76fc3e9cfb18ee923ba319fc8681c27"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35352fd11688d1fafb5bb30dce23b2c1f0eb91bcf7e632f0079ba9833cb1bd80"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f163540938af301ec36cc43aed83a5461c2c2e68da083399facc1e757d5ceb6c"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"adb891b95cc75de29f6a523e8340ad3eeb281272c964fc23eeb1f3310a574b4e"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fbcbbbe1451a2a9e5054c0f3f3a04bd0987f311d9bfcd2dc6990d2616b4bd7a6"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ecf4e949fe6e67b3502633dc737fa5d20aa12b1c7ee281d08830d005c678ce23"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc22b1f1e0ccad3347926a52b64ca621f2e106403edaecebc78afcc215cde24e"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7940319b0e89c72d30b004df5ad34422144237a9afc2d67c14385a9ab6c8d193"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dfc05175509116b5f9573b4b333b42d75944c2bc6cfcdae095451f62ff5424a3"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22544d50678c55ecb5abde15eb0a7311ae4030fafd1f6c872d351e828602dcb9"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"376ed0d2c35facda142fbf2d3b57ce903702286717fa0ccc381f7f160c654939"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f869e33ff4351509d227c6cee6ee9cd5dc779efe525b04c56029eee1ef8e5b40"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3448946a97da910bc8e06179b03e3110460c12c4065a93a742103fcb5dde2d84"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"79c8ef625aa20e8b8609821df1e6090c4f4e68ceb312de995e84abfebdea2b9f"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9caa7300da5bfc80413d547b6dbee02f9f86a9e39290ad1b3d7023d0737f16c7"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"db604b3d3a7be0bb2a299a34c94611cc238e0b229a5b9ac3be95e5eaa0e89f86"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e06bc886bae0abffff0c7dac10a9ff8b3e47af7ccc4a3812b9e1745b10eadddd"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-409","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"70fd4ca3a59976d201fa7386759d3e5a736b8f2b5f2dfb96f4bbf7989c0ce6cc"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bfb0d1a51ef1e551d9d253ab6e722413b81c7df0831b04d621c4d88c7685b36d"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5475e037ce192fc587e8ca3eee26bf13aafe8ec1b0755ada5bc3ec7e2b9a5369"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"37657b3b6f7eed99fa37c3a6ead34c78ee254b5d2649980a77e24a67684c30c9"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"032e124a2f15df8b00eef9f972a3b862b8e08dd85c530fa7609496ae18eba3aa"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e66e8a06115110a5ef9d8a95b5eb5e0807c8179aea7c4b8c9d95e2196143a6b3"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"755d0a80bbd64e30e23c70d00dda26e2b920872ab211c7a06988bd5aa11cd11d"},"taxa":[{"id":"CWE-489","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b40dfba1e6d8966bd11b35c26edf7d63bdf173f14eb86cceedc0f7d88fee991"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ec8a04a96d0f936a5acf4b8a823d492fe19e516797a9d65516455692a41154c"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5ba8549817d4348d5310a31a29843568eb9a2f9788324c5dfc15c899ef03042"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"d412b785ad479269ca2829971991018e770fa25f7c3c92464c5369a50b9cb937"},"taxa":[{"id":"CWE-290","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e0ff3192be3dd7ccf5f6e40ca0ffbf52f14dea2db5dd98b7e4ded9e7c038e45"},"taxa":[{"id":"CWE-290","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d008c33ed5d97e2966b94d86b431186f9643671bf75e36c51d861cdbf4329b5"},"taxa":[{"id":"CWE-290","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9edfa2623a93518181a496e75fa2a6cac707638e06694ef6c10396808eca681f"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.38.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2025-4116","GO-2025-4134","GO-2025-4135","GO-2026-5005","GO-2026-5006","GO-2026-5013","GO-2026-5014","GO-2026-5015","GO-2026-5016","GO-2026-5017","GO-2026-5018","GO-2026-5019","GO-2026-5020","GO-2026-5021","GO-2026-5023","GO-2026-5033","GO-2026-5932","GO-2026-6303","GO-2026-6354","GO-2026-6355"],"severity":"critical","fixedVersion":"0.52.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d97ddb20d341bff012226d2fa40cc84f730ebb3be8e0054d3f3b38aa111378dc"},"properties":{"dependency":{"package":"next","version":"16.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"16.4.1","relation":"direct","declaredRange":"16.0.7","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24282b19c179757669aa3f7b9251e863a74bafabfb2f5776273c04941183b7a2"},"properties":{"dependency":{"package":"next","version":"16.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"16.4.1","relation":"direct","declaredRange":"16.0.7","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e0975aebc607ef24299f666ef5a0fe525a0a561b31d3fa840a27f4507d63984"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.3.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2cad88205ac739204582dcf93353f6bf16a57c4d824443225dfb22d1b61916de"},"properties":{"dependency":{"package":"nanoid","version":"3.3.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.3.16","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c7f4fa3e42a40fbf090fc93b0b19a6f5dfae4e697e1c5b6976818843942afc76"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.1.16","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b36350916909f3e531d05324ce7f151cec6caad2665b255aaa5f5fa02dde7f06"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"5.0.7","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f0d019e416189b815d692d50e98ce711f369b9247358473eee694caf0ae34478"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"1.2.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9b109194cc6575800d4d65805e59c80e3a2027537de23361ffcf4cd23a1b03c"},"properties":{"dependency":{"package":"postcss","version":"8.4.31","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.5.12","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"055181af0c8084db07a027531fb77ad2963e3cc59a14c274058ad9a4ffb11783"},"properties":{"dependency":{"package":"browserslist","version":"4.28.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.28.7","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d70ef4c300da61748a68642c634c3e1600bbcc34608e0cf715d2f23a2c6fd86d"},"properties":{"dependency":{"package":"sharp","version":"0.34.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"0.35.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e2d02367615561cd43cb3c229a894b32b7ba61720c56ae0c6dcebee980338690"},"properties":{"dependency":{"package":"picomatch","version":"2.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"587df309c9590149e10577bc46124ed27f24fc95e2e9d9c0ff33ad99cd4a0acb"},"properties":{"dependency":{"package":"picomatch","version":"4.0.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"01b2fa6aa242df5fb75242b5e1fb1f1bd968c0d8bf51d5383a906348432e9121"},"properties":{"dependency":{"package":"zod","version":"4.3.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.6.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5e00969b31ba185314e5d31833836bfee1c7dcaf8b5e10803d7adceec307267"},"properties":{"dependency":{"package":"postcss","version":"8.5.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.5.18","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"399beac79cdcba5ebed2a7cb2f0db6115a88af77f61394f2b2cd647ccc6bb3ef"},"properties":{"dependency":{"package":"minimatch","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.1.4","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a86e1fe2bda1504554681e5c974ed4b45d0cd0591611c40050cb3842eeb55b7"},"properties":{"dependency":{"package":"minimatch","version":"9.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"9.0.7","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5b9261e32eba5ce36547d660286323366dd034c7f845d9e04cb7e5495cca06b8"},"properties":{"dependency":{"package":"flatted","version":"3.3.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.4.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f12b7a9772f5e97d84ad0bbf6aed7ef4d7760c949bd2cc1d70f8659f760f9b3"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.3.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6c45c215d0b3303d123e4f59605c00d484b8a3606f5fef424296a7369df520f"},"properties":{"dependency":{"package":"nanoid","version":"3.3.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.3.16","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb83c0a8679f53c6b0bf551746754c5a2be9886efc7dadb28ca67ff95bef4922"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.1.16","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"586ac80334b5cbfef3d87a39fc1c54e21299f92698649456856e273deb96f6eb"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.1.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"51c756201d0ec2aa19424cec48be93b509b212549e107e031e00969b633dce54"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"1.2.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9eb22380e3055d7a67612ea53453693871ec7eabc50515ef735dce09fe802f34"},"properties":{"dependency":{"package":"postcss","version":"8.4.31","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.5.12","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6319a31e2ee98fa48aab4fba8b1541239248a349acba3b89bb9aff255ed3eec4"},"properties":{"dependency":{"package":"postcss","version":"8.5.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.5.12","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"77d2acb951cfdbd32c8d4cd997b03b8420710bd99df9cfe7f20cd8e9d12c511b"},"properties":{"dependency":{"package":"browserslist","version":"4.28.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.28.7","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a24e0b497bd035e6e9f835e039d2c311064fa4e42e38be6e29b0060ead410bc9"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.3.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"039e39b7b3077d86a7a6d2d511d76cc72da83a63c914453bc0b2a1628a791ff6"},"properties":{"dependency":{"package":"picomatch","version":"4.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.0.4","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b31e61d3558fa3218aff116f1421dc9ced243bea8d2688828cad92d137c16b3c"},"properties":{"dependency":{"package":"sharp","version":"0.34.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"0.35.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"296ea03ab982a8732c1a5ef8e6501c73fbd2ae5a1b0d2b5eb7d03fbb75f6958b"},"properties":{"dependency":{"package":"zod","version":"4.1.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.6.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc6dfeb892dd0b692c4db1cfd520da588cde0992e8b69de70368418d50793fc9"},"properties":{"dependency":{"package":"nanoid","version":"3.3.11","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"severity":"high","fixedVersion":"3.3.18","relation":"transitive","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-835","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85493a1c63a08714da189936db645623cac9277845f446d1d7039e981f617984"},"properties":{"dependency":{"package":"postcss","version":"8.5.12","advisory":"[CVE redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"8.5.18","relation":"transitive","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e1a354b7bc35a170582619b02ee6af16894aeb5608fc130033369404a17b280e"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[CVE redacted]","severity":"high","fixedVersion":"1.2.2","relation":"transitive","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-1284","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3bd0ffbcf12d9fe8520cfaca3c77128500535568a0ceac2f85ebd1e6bcd0497e"},"properties":{"dependency":{"package":"postcss","version":"8.5.6","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]"],"severity":"high","fixedVersion":"8.5.12","relation":"transitive","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b4b61f4353156ab669419aa45fee4f9b23969ec3fa70b4ee7cddef0270e673d"},"properties":{"dependency":{"package":"nanoid","version":"3.3.11","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"severity":"high","fixedVersion":"3.3.18","relation":"transitive","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-835","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"de88da3dced182951fa92d8f0df22912e2e71f41c9f3bb1b78e9be9a5afe5342"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[CVE redacted]","severity":"high","fixedVersion":"1.2.2","relation":"transitive","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-1284","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f66ea4db64ff265ac7d7f0aff6690da3613bcde561bf08c545e399b4f650285"},"properties":{"dependency":{"package":"stdlib","version":"1.27.0","advisory":"GO-2026-6599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-56857","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.27.2","relation":"direct","declaredRange":"1.27.0","reachability":{"kind":"production","file":"bitwindow/server/api/runtime.go","line":88,"symbol":"http.Error"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e195f000dac51344070d92e9c5e46acad28aff823d66155da5f710f6f38aafc5"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.58.0","advisory":"GO-2026-5932","severity":"medium","fixedVersion":"0.58.1-0.20261009181718-2f1f834330b2","relation":"direct","declaredRange":"0.58.0","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7fad1e421ac3db6abd73a5296b7d9880d8b8b16db35d3dde777844df7ed6127a"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.60.0","advisory":"GO-2026-6860","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6866"],"severity":"medium","fixedVersion":"0.62.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e5b645f9986788cb26124b64fbefcbd78f69b2b953fd6fce8c332c6c35f0492"},"properties":{"dependency":{"package":"minimatch","version":"10.2.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f48a9e34fcd4278d0038ff68e2b9d0ae716a7777c5adc873dcb4abdb3606f28"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.24","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.11.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9cc82295b1465035f0b71cd1b0480529cfdfbbe32583b1fbfa586bdb8a0f75a"},"properties":{"dependency":{"package":"stdlib","version":"1.27.0","advisory":"GO-2026-6599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-56857","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.27.2","relation":"direct","declaredRange":"1.27.0","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"684f6d56c5012919b797a5c1369d08c4a964cb8395bf997820cf01cd9390f816"},"properties":{"dependency":{"package":"stdlib","version":"1.27.0","advisory":"GO-2026-6599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-56857","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.27.2","relation":"direct","declaredRange":"1.27.0","reachability":{"kind":"production","file":"coinnews/server/scanner/client.go","line":77,"symbol":"http.NewRequestWithContext"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d407bcdf1e791414c141a40d86045da6d25690c9d37454fb3f769d4b383a1399"},"properties":{"dependency":{"package":"golang.org/x/sys","version":"0.37.0","advisory":"GO-2026-5024","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.44.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"445f960a8acd61e5e1bf862f5b1b42acac73cff4e4be4a7b741bd135930df130"},"properties":{"dependency":{"package":"ajv","version":"6.12.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"6.14.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6311e3b356b8e08d44b380ea3a12f97008b0d583ba2245ab1762d769f6a4fb5e"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.9.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.11.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04d33195ca0db654a75a1d9256f3e9b8fe9b29d8078afef6716829185e8c3900"},"properties":{"dependency":{"package":"@humanfs/node","version":"0.16.7","advisory":"[GHSA redacted]","severity":"medium","fixedVersion":"0.16.8","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b204c7ba26f6223813d98285d6f8ba623099e5c54835d7534842db843a8364e6"},"properties":{"dependency":{"package":"stdlib","version":"1.27.0","advisory":"GO-2026-6599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-56857","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.27.2","relation":"direct","declaredRange":"1.27.0","reachability":{"kind":"production","file":"dc-hub/server/jsonrpc/jsonrpc.go","line":98,"symbol":"http.NewRequestWithContext"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4a11b70b8e5e85b0f74babb334fcc67fc6bd47b0e9d7d9cc37a5682510f88c9"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.40.0","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-33814","BIT-golang-2026-46600","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78669","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","GO-2026-4440","GO-2026-4441","GO-2026-4918","GO-2026-5025","GO-2026-5026","GO-2026-5027","GO-2026-5028","GO-2026-5029","GO-2026-5030","GO-2026-5942","GO-2026-6603","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"severity":"medium","fixedVersion":"0.55.0","relation":"direct","declaredRange":"0.40.0","reachability":{"kind":"production","file":"dc-hub/server/dial/dial.go","line":18}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a23171291bb1f9a20ff4cd1b0683d1340815361330a0152673baa9b89d3394b"},"properties":{"dependency":{"package":"github.com/google/cel-go","version":"0.25.0","advisory":"[GHSA redacted]","aliases":["GO-2026-6094"],"severity":"medium","fixedVersion":"0.29.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"47a3a2651644ef3d4e00b57c350277ce7373d4cc2df56ae4586b89db3d6df538"},"properties":{"dependency":{"package":"golang.org/x/sys","version":"0.33.0","advisory":"GO-2026-5024","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.44.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09f1a3d9247dff1b3351d42cb312f8690803902d07a92eab18e2834f90d3a205"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.25.0","advisory":"GO-2026-5970","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6629"],"severity":"medium","fixedVersion":"0.39.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ecaa02b8de2711d108efd8fe21addf1350aaaa1eeddcd7fa4548120d8d4d511"},"properties":{"dependency":{"package":"stdlib","version":"1.26.0","advisory":"GO-2026-4599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-25679","BIT-golang-2026-27137","BIT-golang-2026-27138","BIT-golang-2026-27139","BIT-golang-2026-27142","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33810","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-4600","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","GO-2026-4866","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.26.1","relation":"direct","declaredRange":"1.26.0","reachability":{"kind":"production","file":"difficulty/main.go","line":43,"symbol":"http.Error"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96caa5143298427e215bdbbe629282a3d30817851d64d6fe6092051678e7a811"},"properties":{"dependency":{"package":"stdlib","version":"1.27.0","advisory":"GO-2026-6599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-56857","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.27.2","relation":"direct","declaredRange":"1.27.0","reachability":{"kind":"production","file":"ecash-broadcaster/bitcoind.go","line":40,"symbol":"http.NewRequestWithContext"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dda435c303cc412aabf4f2dfc907db77dd5c592ec0759e6569793bd59c41bbdd"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.40.0","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-33814","BIT-golang-2026-46600","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78669","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","GO-2026-4440","GO-2026-4441","GO-2026-4918","GO-2026-5025","GO-2026-5026","GO-2026-5027","GO-2026-5028","GO-2026-5029","GO-2026-5030","GO-2026-5942","GO-2026-6603","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"severity":"medium","fixedVersion":"0.55.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"81f231483fab3ef5919bd48ba2f57c7bfdfc324815f5d31f8ef01dbcc77676b0"},"properties":{"dependency":{"package":"stdlib","version":"1.26.0","advisory":"GO-2026-4599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-25679","BIT-golang-2026-27137","BIT-golang-2026-27138","BIT-golang-2026-27139","BIT-golang-2026-27142","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33810","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-4600","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","GO-2026-4866","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.26.1","relation":"direct","declaredRange":"1.26.0","reachability":{"kind":"production","file":"fulcrum-proxy/main.go","line":19,"symbol":"url.Parse"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2e11a40b31e2e69be7798ea0358ce94adbfcd8dd5384be590ff777a77b6d8ab"},"properties":{"dependency":{"package":"stdlib","version":"1.27.0","advisory":"GO-2026-6599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-56857","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.27.2","relation":"direct","declaredRange":"1.27.0","reachability":{"kind":"production","file":"sidechain-orchestrator/api/ctip_index.go","line":33,"symbol":"http.NewRequestWithContext"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"682a4a84565fd31d3431a93fca57780667ed1e956eb88d509336633231a3c609"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.55.0","advisory":"GO-2026-5932","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6354","GO-2026-6355"],"severity":"medium","fixedVersion":"0.58.1-0.20261009181718-2f1f834330b2","relation":"direct","declaredRange":"0.55.0","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a906aa294927815e87469cfcb3aa120041672b00d9a1e7f928567324535f6db"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.57.0","advisory":"GO-2026-6603","aliases":["BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78669","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"severity":"medium","fixedVersion":"0.60.0","relation":"direct","declaredRange":"0.57.0","reachability":{"kind":"production","file":"sidechain-orchestrator/enforcerproxy/enforcerproxy.go","line":19}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e88a1ce002e76910fd7d02dd754b71699d7399963e4667767be36d8fb70a8e2"},"properties":{"dependency":{"package":"stdlib","version":"1.27.0","advisory":"GO-2026-6599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-56857","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.27.2","relation":"direct","declaredRange":"1.27.0","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"4e0d2f37242e57c79a50f62cf80c4dac85d8ac2de69a4dff8d75e3c7d014ec2b"},"properties":{"dependency":{"package":"@babel/core","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"7.29.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"a2cb67e546f53931f1d25f557aa3b061579cc0178d781e32f57fb620e4406f2e"},"properties":{"dependency":{"package":"@babel/core","version":"7.28.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"7.29.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","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":"a0bc66738f81597ffc16ada06e214f6380989d86bbed81e1910d7d0fb2fc4695"}},{"ruleId":"D31","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":"6c3dc5b8ab2a5f36a6c0f19a3a2b5e8b52b9445b71e7cb77e20925fae06c4fdc"}},{"ruleId":"D31","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":"a37661c90c6bee6335e566430414095d4681fbd2f4c2263569bd364217a2262a"}},{"ruleId":"D31","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":"e83b518b7f52f2dcaa5ae6040062bb11c1eb9b8af4b47d50866778e1f843e3bd"},"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":"D31","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":"381497dda4df9c6af8bae8fb01bd1490671dd0bdcb07d09ca109888e540e5936"},"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":"D31","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":"000de9cc2f7b0738ef05b71626e534126c883bb241305622626f38f5eea62cf0"}},{"ruleId":"D31","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":"da99ab4aa62669a1d86b01f050deda366c952443d14365c77ff79cca69c52337"},"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":"D31","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":"7f9ca85e2cf366c3baeab4c1258b54d9a0c1a50b81a4dfd98e0cf576b34a9b8f"}},{"ruleId":"D31","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":"3a179f632cae3982b607d274fee5440edbedeeb8aea0e51804a3ef3efb1dabeb"},"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":"D31","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":"3b7edf0529501522407624ff29142f4634ca6da76d82d2d807afe4a245bd4698"}},{"ruleId":"D31","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":"476176a40f7dde5968156df41a3ad51fabec36db7b9ad2c78af7fdee298fccfb"},"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":"D31","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":"404161a4703d242d20a48f94c32dbc8bc74f91a3c24ceb5aa35a9656d88ce727"}},{"ruleId":"D31","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":"ab69e01e59808ab66bc46c4e338db93d63b840a73d7d5dd72c24633314849bed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 724 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 724 of the 1081 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: sail_ui/lib/widgets/inputs/text_form_field.dart. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/inputs/text_form_field.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e966a759a228e4bf8993ac2ae99fc4bc41a8514be447aa0d9fbe4137e7ffc5"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: utxo.dart \u2194 core_transaction.dart: \u0060sail_ui/lib/widgets/components/utxo.dart\u0060 (context sail_ui) and \u0060sidechain_core/lib/models/core_transaction.dart\u0060 (context sidechain_core) sit in DIFFERENT parts of the tree yet 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) \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 9 shared commits counted here, the most recent 3 are \u0060d234e8d1\u0060 multi: remove Money-usage (at that commit the files were still \u0060packages/sail_ui/lib/widgets/components/utxo.dart\u0060 and \u0060packages/sail_ui/lib/widgets/components/core_transaction.dart\u0060); \u0060653bfe6e\u0060 sidesail: use core transaction in tx list (at that commit the files were still \u0060packages/sail_ui/lib/widgets/components/utxo.dart\u0060 and \u0060packages/sail_ui/lib/widgets/components/core_transaction.dart\u0060); \u006085f61a0f\u0060 sailui\u002Bsidesail: introduce expandable list entry comp (at that commit the files were still \u0060packages/sail_ui/lib/widgets/components/utxo.dart\u0060 and \u0060packages/sail_ui/lib/widgets/components/core_transaction.dart\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/components/utxo.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce43208cda42be01103a4b0bfba480ed729c2b6efbf406f9d3e85138ef84af84"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: orchestrator_handler.go \u2194 orchestrator_rpc.dart: \u0060sidechain-orchestrator/api/orchestrator_handler.go\u0060 (context sidechain-orchestrator) and \u0060sidechain_core/lib/rpcs/orchestrator_rpc.dart\u0060 (context sidechain_core) sit in DIFFERENT parts of the tree yet change together 60% of the time (18 of the 30 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 18 shared commits counted here, the most recent 3 are \u00602ba48221\u0060 orchestrator: resume logs across restarts; \u0060a0575150\u0060 orchestrator: take the best branch after a reject; \u00608ec18eea\u0060 orchestrator: roll back to a block hash or a height \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/orchestrator_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f842b9ed43417dde1bedc9b517eb069de95154999fc4db02de4ab0fd7423a1b5"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: reserve_register_page.dart \u2194 commitment.go: \u0060bitnames/lib/pages/tabs/reserve_register_page.dart\u0060 (context bitnames) and \u0060sidechain-orchestrator/sidechain/bitnames/commitment.go\u0060 (context sidechain-orchestrator) sit in DIFFERENT parts of the tree yet 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) \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 5 shared commits counted here, the most recent 3 are \u006092b5e9fb\u0060 bitnames: register static IP addresses; \u00604d886340\u0060 fix ci/review; \u0060abe97346\u0060 fix ci/review \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitnames/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b56c2a837673dc86cfc82a96d6eb0c305c47ba9423baaf6414e6f280895bae3"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: sail_ui.dart \u2194 enforcer_conf_provider.dart: \u0060sail_ui/lib/sail_ui.dart\u0060 (context sail_ui) and \u0060sidechain_core/lib/providers/enforcer_conf_provider.dart\u0060 (context sidechain_core) sit in DIFFERENT parts of the tree yet 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) \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 5 shared commits counted here, the most recent 3 are \u0060c70f6f55\u0060 wip (at that commit the file was still \u0060sail_ui/lib/providers/enforcer_conf_provider.dart\u0060); \u0060349c2f10\u0060 bitwindow: add conf migrator, used for signet first (at that commit the file was still \u0060sail_ui/lib/providers/enforcer_conf_provider.dart\u0060); \u0060535a8529\u0060 multi: add better sidechain guard (at that commit the file was still \u0060sail_ui/lib/providers/enforcer_conf_provider.dart\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/sail_ui.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"685d31413eb3035abb5ae2164421cbd29c4ede115478336ab2bc4d73cb5d3e1f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: combine_broadcast_modal.dart, create_multisig_modal.dart, fund_group_modal.dart, import_psbt_modal.dart, import_txid_modal.dart, multisig_key_modal.dart, psbt_coordinator_modal.dart: 7 files \u2014 \u0060bitwindow/lib/widgets/combine_broadcast_modal.dart\u0060, \u0060bitwindow/lib/widgets/create_multisig_modal.dart\u0060, \u0060bitwindow/lib/widgets/fund_group_modal.dart\u0060, \u0060bitwindow/lib/widgets/import_psbt_modal.dart\u0060, \u0060bitwindow/lib/widgets/import_txid_modal.dart\u0060, \u0060bitwindow/lib/widgets/multisig_key_modal.dart\u0060, \u0060bitwindow/lib/widgets/psbt_coordinator_modal.dart\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 21 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/combine_broadcast_modal.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d369275a159f3248c3bb196c6a8e20951a3c5e642e95303bd7a4bd97701ab4b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: bitnames_rpc.dart \u2194 thunder_rpc.dart: \u0060sidechain_core/lib/rpcs/bitnames_rpc.dart\u0060 and \u0060sidechain_core/lib/rpcs/thunder_rpc.dart\u0060 change together 64% of the time (29 of the 45 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 29 shared commits counted here, the most recent 3 are \u00605420fa16\u0060 multi: add listallutxos to sidechain rpc (at that commit the files were still \u0060sail_ui/lib/rpcs/bitnames_rpc.dart\u0060 and \u0060sail_ui/lib/rpcs/thunder_rpc.dart\u0060); \u00609f701511\u0060 sail_ui: move getLatestFailedWithdrawalBundleHeight to base class (at that commit the files were still \u0060sail_ui/lib/rpcs/bitnames_rpc.dart\u0060 and \u0060sail_ui/lib/rpcs/thunder_rpc.dart\u0060); \u0060f64b66cc\u0060 clients: send correctly on sidechains (at that commit the files were still \u0060sail_ui/lib/rpcs/bitnames_rpc.dart\u0060 and \u0060sail_ui/lib/rpcs/thunder_rpc.dart\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitnames_rpc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a222fb40ed7b76b721bcefa20ca671fc9997714a5f26860432ec71a1939495fc"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: router.dart \u2194 sail_ui.dart: \u0060sail_ui/lib/pages/router.dart\u0060 and \u0060sail_ui/lib/sail_ui.dart\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) 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 \u0060535a8529\u0060 multi: add better sidechain guard; \u0060fbd8379a\u0060 sail_ui: add SidechainDebugWindow and NetworkSwitchPage to sidechains; \u0060df4dea34\u0060 multi: add conf provider to sidechains \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/router.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d1f1b038ce6e83386f7e091fcb74624686b5652193d98b58544d63076bd315"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: check_detail_page.dart \u2194 wallet_checks.dart: \u0060bitwindow/lib/pages/wallet/check_detail_page.dart\u0060 and \u0060bitwindow/lib/pages/wallet/wallet_checks.dart\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060c18a05f7\u0060 bitwindow: show partial funding status in cheque UI; \u0060bab14548\u0060 bitwindow: unlock cheque cache correctly (at that commit the files were still \u0060bitwindow/lib/pages/wallet/cheque_detail_page.dart\u0060 and \u0060bitwindow/lib/pages/wallet/wallet_cheques.dart\u0060); \u006063a1375f\u0060 bitwindow: make cheque works with bitcoin core (at that commit the files were still \u0060bitwindow/lib/pages/wallet/cheque_detail_page.dart\u0060 and \u0060bitwindow/lib/pages/wallet/wallet_cheques.dart\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/check_detail_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c042a85a59d99e6590102ecc1df3789c5f6db65bbb2117bdbd866cbf5f9ce2d2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: processed_blocks.go \u2194 store.go: \u0060bitwindow/server/models/blocks/processed_blocks.go\u0060 and \u0060bitwindow/server/models/coinnews/store.go\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) 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 5 shared commits counted here, the most recent 3 are \u0060b40e0c1c\u0060 bitwindow: keep user data through backup and time; \u0060e3bf62e9\u0060 bitwindow: map each error to the right code; \u0060a3fa63f4\u0060 bitwindow: read rows through Get and Select \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/models/blocks/processed_blocks.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8801f202aaf59ee7e9c66f78d65126fac638f3e3368af24e61401547bc636da7"}},{"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":"7be964b311a6380af50ea81671ece9780d741f767dc79e47c2b108618722cf0c"}},{"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":"ef69ffb2b1fa92b1cc8c0f56486a72aa96a80e8e4c65a474a0fb4f020bb98ffd"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f9e81d39321a80e15d4b490e57030327f0d6c86b7a1fe814c888c1df56d0c73"},"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":"3eba77dd9a5e697c639a7269235e1ad7fd2cc0570cb478a5ff62d67dbb32633a"},"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":"a4f2717841944111199a31d654a1af9d4e3194d686b607dbc9a6e9b50826f818"},"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":"5fdfbe85a55f765ce487f936a01a6826f9787f19bdc02118aababb0499e0b31d"},"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":"106f4a1731b71e7113532f64aacf465a7aced09dfc48637258335a7c9fb75891"},"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":"507db01919b88c3c9f060a6602298c14860caf22a4eb0ad049438a9c0df26e9c"},"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":"d7fe509bbdc93eff544be3c25ad4484cfdde859c8f5f93c057af3e0b6208feed"},"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":"5348cf44db26c8859142d75aa34645509764fee98be54547121fa065cc1f3a81"},"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":"5e4607103018ccbf4772504c4475df05c43062f243e17471503584c98dc62fdc"},"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":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/components/topic-filter.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"369ce8572a1d5b5af4459e607cc32408c19011fd0e379da38043c5b4a0d31c96"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/app/sidechains/explorer-client.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"533f0d27067e0f551d0ba4f10295031f23b07ff938ae46b78b0fe25d633cc629"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Declare it the way this router does \u2014 Next App Router \u0060export const metadata = { title }\u0060, React Router/Remix \u0060export function meta\u0060, TanStack Start \u0060head\u0060, or a Helmet/Head component."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/app/layout.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"71586c538a9b8788c78a2d5cf22d84e7f440ca698515b8d09f21bbd4b944029b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.5:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/app/page.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"87596498b59aad851d4dc43823aa6fd4eb545e11ed4946ea644985c7f493ceb9"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.1:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/app/page.tsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e977d217bec8776e6f229b2a39a4f96aa858d6bdbf90256c063f4f3330f257"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.5:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/app/page.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cae1d644e83330cc0104b6407ba279bcdda419a02fda1acfe5b997cae669758"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.5:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/components/console.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c3de7455f5e337d0c7f6ed437a2a87d34a7fa29439b1808b9566b61b10b0a1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/components/ui/button.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea455ff3bce852a94c3da8b0fd0ff291bce1d04f6749dfabcd69bc1b3b426a56"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.3:1): \u0060.head .ico\u0060 sets color: #fff on background-color: #3773f5 \u2014 4.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"difficulty/index.html"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"084e92a826eb68d8dfa1110c5e1f21d6ca195ca315496da85cd67b590b934213"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Backend (23 methods): \u0060Backend\u0060 declares 23 methods: \u0060Ensure\u0060, \u0060EnsureAll\u0060, \u0060Forget\u0060, \u0060Balance\u0060, \u0060ListUnspent\u0060, \u0060ListTransactions\u0060, \u0060ListTransactionsRange\u0060, \u0060ListReceivedByAddress\u0060, \u0060GetWalletTransaction\u0060, \u0060AddressHDPath\u0060, \u0060OwnedAddresses\u0060, \u0060NextReceiveAddress\u0060, \u0060NextChangeAddress\u0060, \u0060WatchKeys\u0060, \u0060Send\u0060, \u0060PreviewSend\u0060, \u0060SignTransaction\u0060, \u0060BumpFee\u0060, \u0060PreviewBumpFee\u0060, \u0060CreateCpfp\u0060, \u0060PreviewCancel\u0060, \u0060CancelTransaction\u0060, \u0060Chain\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. 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":"sidechain-orchestrator/wallet/backend.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ccee942bbffd10166837b3e452614e96ab61dcfd56a037583d4f81696df6dc"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BitAssetsRPC (48 abstract methods): \u0060BitAssetsRPC\u0060 declares 48 abstract methods: \u0060getBalance\u0060, \u0060getBitAssetData\u0060, \u0060listBitAssets\u0060, \u0060connectPeer\u0060, \u0060forgetPeer\u0060, \u0060listPeers\u0060, \u0060registerBitAsset\u0060, \u0060reserveBitAsset\u0060, \u0060getDepositAddress\u0060, \u0060getSideAddress\u0060, \u0060listTransactions\u0060, \u0060sideEstimateFee\u0060, \u0060sideSend\u0060, \u0060getNewAddress\u0060, \u0060getBlockCount\u0060, \u0060getWalletAddresses\u0060, \u0060getWalletUTXOs\u0060, \u0060listUTXOs\u0060, \u0060myUnconfirmedUtxos\u0060, \u0060removeFromMempool\u0060, \u0060openapiSchema\u0060, \u0060stop\u0060, \u0060transfer\u0060, \u0060transferBitAsset\u0060, \u0060getNewVerifyingKey\u0060, \u0060signArbitraryMsg\u0060, \u0060signArbitraryMsgAsAddr\u0060, \u0060ammBurn\u0060, \u0060ammMint\u0060, \u0060ammSwap\u0060, \u0060getAmmPoolState\u0060, \u0060getAmmPrice\u0060, \u0060dutchAuctionBid\u0060, \u0060dutchAuctionCollect\u0060, \u0060dutchAuctionCreate\u0060, \u0060dutchAuctions\u0060, \u0060decryptMsg\u0060, \u0060encryptMsg\u0060, \u0060generateMnemonic\u0060, \u0060getBlock\u0060, and 8 more. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it 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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e925d1a2cdbb61915416431f3e8bac76d639ddd571ab4bcc394ac35f360a76"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BitnamesRPC (34 abstract methods): \u0060BitnamesRPC\u0060 declares 34 abstract methods: \u0060getBalance\u0060, \u0060getBitNameData\u0060, \u0060listBitNames\u0060, \u0060connectPeer\u0060, \u0060listPeers\u0060, \u0060registerBitName\u0060, \u0060reserveBitName\u0060, \u0060getBlock\u0060, \u0060getBMMInclusions\u0060, \u0060getBestMainchainBlockHash\u0060, \u0060getBestSidechainBlockHash\u0060, \u0060generateMnemonic\u0060, \u0060setSeedFromMnemonic\u0060, \u0060getSidechainWealth\u0060, \u0060getNewEncryptionKey\u0060, \u0060getNewVerifyingKey\u0060, \u0060createDeposit\u0060, \u0060decryptMsg\u0060, \u0060encryptMsg\u0060, \u0060getNewAddress\u0060, \u0060getBlockCount\u0060, \u0060getPaymail\u0060, \u0060getPendingPaymail\u0060, \u0060getBitNameOwner\u0060, \u0060getWalletAddresses\u0060, \u0060getWalletUTXOs\u0060, \u0060listUTXOs\u0060, \u0060myUTXOs\u0060, \u0060openapiSchema\u0060, \u0060resolveCommit\u0060, \u0060readCommitment\u0060, \u0060signArbitraryMsg\u0060, \u0060signArbitraryMsgAsAddr\u0060, \u0060transfer\u0060. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it 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":"sidechain_core/lib/rpcs/bitnames_rpc.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7dfef659f0208b21e88eebc1b6eb181e81fdd063ff9f35d1b92e1e9b2f1bd6d"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BitwindowAPI (24 abstract methods): \u0060BitwindowAPI\u0060 declares 24 abstract methods: \u0060stop\u0060, \u0060createDenial\u0060, \u0060cancelDenial\u0060, \u0060pauseDenial\u0060, \u0060resumeDenial\u0060, \u0060getSyncInfo\u0060, \u0060listAddressBook\u0060, \u0060createAddressBookEntry\u0060, \u0060updateAddressBookEntry\u0060, \u0060deleteAddressBookEntry\u0060, \u0060setTransactionNote\u0060, \u0060exportLabels\u0060, \u0060importLabels\u0060, \u0060getFireplaceStats\u0060, \u0060listRecentTransactions\u0060, \u0060listBlocks\u0060, \u0060getNetworkStats\u0060, \u0060setMempoolWatch\u0060, \u0060resetMempoolWatch\u0060, \u0060getMempoolWatchStatus\u0060, \u0060listMempoolTransactions\u0060, \u0060listBlockStats\u0060, \u0060listMiningPools\u0060, \u0060updateNetwork\u0060. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it 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":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaef17adb4887f8fda3349a10a89bfada6037b6ff2beace9644e7db1b17f24b1"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: WalletAPI (32 abstract methods): \u0060WalletAPI\u0060 declares 32 abstract methods: \u0060sendTransaction\u0060, \u0060getBalance\u0060, \u0060getNewAddress\u0060, \u0060listTransactions\u0060, \u0060listUnspent\u0060, \u0060listReceiveAddresses\u0060, \u0060listSidechainDeposits\u0060, \u0060createSidechainDeposit\u0060, \u0060signMessage\u0060, \u0060verifyMessage\u0060, \u0060getStats\u0060, \u0060unlockWallet\u0060, \u0060lockWallet\u0060, \u0060isWalletUnlocked\u0060, \u0060createCheque\u0060, \u0060getCheque\u0060, \u0060listCheques\u0060, \u0060checkChequeFunding\u0060, \u0060previewSweep\u0060, \u0060sweepCheque\u0060, \u0060deleteCheque\u0060, \u0060setUTXOMetadata\u0060, \u0060getUTXOMetadata\u0060, \u0060setCoinSelectionStrategy\u0060, \u0060getCoinSelectionStrategy\u0060, \u0060getTransactionDetails\u0060, \u0060getUTXODistribution\u0060, \u0060bumpFee\u0060, \u0060selectCoins\u0060, \u0060createBackup\u0060, \u0060restoreBackup\u0060, \u0060validateBackup\u0060. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it 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":"sidechain_core/lib/rpcs/bitwindow_api.dart"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f3a48dad186d844f8c34a22730537e6b24340f56c8f8e51067887ef3667752"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: CoinShiftRPC (22 abstract methods): \u0060CoinShiftRPC\u0060 declares 22 abstract methods: \u0060getSidechainWealth\u0060, \u0060createDeposit\u0060, \u0060connectPeer\u0060, \u0060forgetPeer\u0060, \u0060listPeers\u0060, \u0060getBlock\u0060, \u0060getBestMainchainBlockHash\u0060, \u0060getBestSidechainBlockHash\u0060, \u0060getBMMInclusions\u0060, \u0060removeFromMempool\u0060, \u0060generateMnemonic\u0060, \u0060setSeedFromMnemonic\u0060, \u0060getWalletAddresses\u0060, \u0060formatDepositAddress\u0060, \u0060getOpenAPISchema\u0060, \u0060createSwap\u0060, \u0060claimSwap\u0060, \u0060getSwapStatus\u0060, \u0060listSwaps\u0060, \u0060listSwapsByRecipient\u0060, \u0060updateSwapL1Txid\u0060, \u0060reconstructSwaps\u0060. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it 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":"sidechain_core/lib/rpcs/coinshift_rpc.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"483957bb50e92d9641c77fd6c8f7ee5e6a11fa307b45c1c7253669cb4b6d54ac"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: TruthcoinRPC (47 abstract methods): \u0060TruthcoinRPC\u0060 declares 47 abstract methods: \u0060getSidechainWealth\u0060, \u0060createDeposit\u0060, \u0060connectPeer\u0060, \u0060listPeers\u0060, \u0060getBlock\u0060, \u0060getBestMainchainBlockHash\u0060, \u0060getBestSidechainBlockHash\u0060, \u0060getBMMInclusions\u0060, \u0060removeFromMempool\u0060, \u0060generateMnemonic\u0060, \u0060setSeedFromMnemonic\u0060, \u0060refreshWallet\u0060, \u0060getTransaction\u0060, \u0060getTransactionInfo\u0060, \u0060getWalletAddresses\u0060, \u0060myUtxos\u0060, \u0060myUnconfirmedUtxos\u0060, \u0060calculateInitialLiquidity\u0060, \u0060marketCreate\u0060, \u0060marketList\u0060, \u0060marketGet\u0060, \u0060marketPriceHistory\u0060, \u0060marketBuy\u0060, \u0060marketSell\u0060, \u0060marketPositions\u0060, \u0060marketAmplifyBeta\u0060, \u0060slotStatus\u0060, \u0060slotList\u0060, \u0060slotGet\u0060, \u0060slotClaim\u0060, \u0060slotClaimCategory\u0060, \u0060getVoterAddress\u0060, \u0060voteVoter\u0060, \u0060voteVoters\u0060, \u0060voteSubmit\u0060, \u0060voteList\u0060, \u0060votePeriod\u0060, \u0060votecoinTransfer\u0060, \u0060votecoinBalance\u0060, \u0060transferVotecoin\u0060, and 7 more. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it 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":"sidechain_core/lib/rpcs/truthcoin_rpc.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b242ffbde665d3f48718a5eadeb7c6815bd10ae4943055cddd57d2d8a4864733"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ZSideRPC (24 abstract methods): \u0060ZSideRPC\u0060 declares 24 abstract methods: \u0060getSidechainWealth\u0060, \u0060createDeposit\u0060, \u0060connectPeer\u0060, \u0060listPeers\u0060, \u0060getBlock\u0060, \u0060getBestMainchainBlockHash\u0060, \u0060getBestSidechainBlockHash\u0060, \u0060getBMMInclusions\u0060, \u0060removeFromMempool\u0060, \u0060generateMnemonic\u0060, \u0060setSeedFromMnemonic\u0060, \u0060getNewShieldedAddress\u0060, \u0060getNewTransparentAddress\u0060, \u0060getShieldedWalletAddresses\u0060, \u0060getTransparentWalletAddresses\u0060, \u0060shield\u0060, \u0060sendShielded\u0060, \u0060sendTransparent\u0060, \u0060deshield\u0060, \u0060listPrivateTransactions\u0060, \u0060listTransparentTransactions\u0060, \u0060listShieldedUTXOs\u0060, \u0060listUnshieldedUTXOs\u0060, \u0060getBalanceBreakdown\u0060. Counted over its public methods with no body, once per name; concrete methods and \u0060_\u0060-private members are not counted, because no implementer that extends it 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":"sidechain_core/lib/rpcs/zside_rpc.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6137a10e84efc2ac8ea8e1c73211cd6fad5cc52d88883d4e20eb28eabf283bc5"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060listTransactions\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfae2e2421e9d248a8d13fde64f65f2b6594d2d90618a3ecb70e44909caf18c"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060listTransactions\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/rpcs/bitnames_rpc.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d079ec4434597b79fd0b90b2ffc5a22caf7a8118cf22b202bc253fca6b18f306"}},{"ruleId":"M1","level":"note","message":{"text":"Thin README: The root README is 26 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, in the README and in the repository documents it links, it found no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise \u2014 or with no heading at all \u2014 is not seen and this row may understate what the document covers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88b11295dc6ac6146c259ace6043143959f96dc98628f8c8578b6c5f95b8149"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 16/30 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060bbc\u0060, \u0060bbc/macos\u0060, \u0060bitassets/macos\u0060, \u0060bitnames/macos\u0060, \u0060bitwindow/macos\u0060 and 9 more."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch github-actions/bun/gitsubmodule: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060github-actions\u0060, \u0060bun\u0060, \u0060gitsubmodule\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da8a7b378898b090c8ee17c1252ac051ff115594bfb4259cb074e75058278bf"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: Deployment is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever reaches the release trigger goes to production unreviewed, so a mistaken merge or tag is live before anyone can stop it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/coinnews.yml"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.DefaultClient\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/dial/dial.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"01464f094061570cd73cdb3230e14a1e44776223bad2f55ac43c2feb62e303c5"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.DefaultClient\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/dial/dial.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b4e7bae16400167084f8b3f52f625ad64fbe234a750e6d66a0741a3b26a5aa"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.DefaultClient\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/dial/dial.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"235a545676b45ff0bcb99a4d28057d354bef8c6589b200cd7aa6acbe3c077d59"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Client{\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/dial/dial.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b771892e36facfbedcaae4000c8bd5693e8e2c7078ec86612070218c327698"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Client{\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/server/dial/dial.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3bf09b807aee72e7c35fd5499933593643e94cf76c5305d4911d34c32398148"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_readLastNLines\u0060 is async and calls openSync, readSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/log_page.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe8f27dbef0957c356719c6d96e00373c1b6d1ebd70b49e1d74ee195884ea09"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_readLastNLines\u0060 is async and calls readSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/log_page.dart"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d2e81a2f8eab687f3a9daf30a3d5c49b605ead8972da0d63bf64435371ae53"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060init\u0060 is async and calls createSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"third_party/logger/lib/src/outputs/advanced_file_output.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b24ac8251d9f0b71063495ee2058e11bd6e3f67b0351b3dcd3c515d143cbd4d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_deleteRotatedFiles\u0060 is async and calls listSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"third_party/logger/lib/src/outputs/advanced_file_output.dart"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b79d81d6cd5cc31632c5fcb276803aa407eecf7f0c9a67ddd264b6a0aa6aea9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 5 sibling directories (5 clone groups): 5 duplicated blocks under coinnews/app/ have copies in at least two of the sibling directories item, jobs, new, t, u \u2014 3 of them are reported below, and 2 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 5 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 5 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 5 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/app/jobs/page.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d473c838f10dffa4d10141c9d0f0bc7db1c3fcad5fa2ed826228b41b365bf8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): coinnews/app/layout.tsx:15 \u00B7 dc-hub/app/layout.tsx:27 \u2014 the two spans are one implementation copied and then locally edited \u2014 82 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/app/layout.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72a3b3c7916d321f91e72fbbe9237f29a47ee6f7d61e57ffb21d4ed6fcb7baf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): coinnews/app/item/[id]/page.tsx:31 \u00B7 coinnews/components/item-row.tsx:22 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/app/item/[id]/page.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bd6ecbd9e0b4ca26af0af571c2ccc7c6a5c5314cae52f11f7b3e7b25339f07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): coinnews/app/jobs/page.tsx:8 \u00B7 coinnews/app/new/page.tsx:7 \u00B7 coinnews/app/page.tsx:7 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/app/jobs/page.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f98a72866d72ef0254e1f4744e0281d3695682c7402fd5443baf76f1e9bd8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): dc-hub/app/sidechains/explorer-client.tsx:334 \u00B7 dc-hub/app/sidechains/explorer-client.tsx:370 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/app/sidechains/explorer-client.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bc7127a33d6cc16ae961e2d085d2b4a061679a2929247b38d7c4e3841e325e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): coinnews/app/item/[id]/page.tsx:7 \u00B7 coinnews/app/u/[xpk]/page.tsx:3 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/app/item/[id]/page.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e548d5d74b6b5d87991d68d6732185415f32bf631bacac102b44a853c53d84d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): coinnews/app/jobs/page.tsx:6 \u00B7 coinnews/app/new/page.tsx:5 \u00B7 coinnews/app/page.tsx:5 \u00B7 coinnews/app/t/[topic]/page.tsx:5 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/app/jobs/page.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"219525567628ef5595ef95b4ab3bc24c4de038ffb5d9642ca47ac59db14120d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): dc-hub/app/info/page.tsx:79 \u00B7 dc-hub/app/info/page.tsx:100 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/app/info/page.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9434c6dabe152dcf8248ba02da4d8bc5af89c4664effdc88f5d26f4ba2674bc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InfoPage (cyclomatic 23, cognitive 20): InfoPage has cyclomatic complexity 23 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/app/info/page.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f734056cfc6169b1ed33ebfc02a59107699059d21be711d23d5c76e68c82130"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Home (cyclomatic 23, cognitive 16): Home has cyclomatic complexity 23 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/app/page.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f86fe35da49ce36d6bc9c354562539c1c5fbcf212fe9392937ec5e79baf70e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BlockCard (cyclomatic 21, cognitive 20): BlockCard has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/app/sidechains/explorer-client.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"69086595dd759a4960c1c40b832cca07dfa71a2a7bb02d8d3b31f84af8b07b30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fieldDefault (cyclomatic 11, cognitive 15): fieldDefault has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/components/console.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf16ba9cf070b04778131616eea1b5b78a0e688a72a68f868e989e4dd6dbd9d"}},{"ruleId":"R3","level":"warning","message":{"text":"dc-hub/app/sidechains/explorer-client.tsx: 436 lines of code: dc-hub/app/sidechains/explorer-client.tsx has 436 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/app/sidechains/explorer-client.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2a4c007c280574abcc5052d5f2d6aa402e20457b226b522f28d11b9f4ce727"}},{"ruleId":"R6","level":"warning","message":{"text":"This package\u0027s lint script runs in no CI job: The package in \u0060coinnews\u0060 declares the lint script \u0060lint\u0060 (\u0060biome lint\u0060), but no step of this repository\u0027s CI runs it, by name, through another script, a Makefile target or a workspace runner, and no CI step runs the linter over the package itself. The rules it sets are enforced nowhere a pull request can fail. Run it in CI: a step that runs \u0060npm run lint\u0060 in \u0060coinnews\u0060 (or the workspace\u0027s task runner)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/package.json"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c40a6dfb5f231435a1d997a608beb56fcbb7f2c32c8c9fa5222869ff209e24"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027cn\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/lib/utils.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b486f7c7b0548f19b46d4ad0a5b94939e9523e2ee782234c9600b4f00cf9c7"}},{"ruleId":"R8","level":"warning","message":{"text":"Unlisted import \u0027@bufbuild/protobuf\u0027: Imported only as a TYPE and declared in no reachable package.json. The import is erased at compile time, so nothing is installed and no runtime resolution depends on it \u2014 but type-checking a clean clone will fail. Declare the typings it resolves through (or the package itself) in the owning package.json."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/lib/api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c7e4cba26005f4f55036c362b04e738fe96fc3d8aecd937d28b2b73cc35a28"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@bufbuild/protobuf\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/app/sidechains/explorer-client.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31615159ad099eed7fbba4722994391d2e596967b159141ccee07b87eb83395"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@bufbuild/protoc-gen-es\u0027: Declared in coinnews/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/package.json"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1bbc0516ad2c4b6e26f1aa765c4ff9a8dc039d7a557e136863a711de57deb3"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@connectrpc/protoc-gen-connect-query\u0027: Declared in coinnews/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/package.json"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa80942ca6e0f39cc0bac68bcae8476f53239c068690918c021f65d43ee3e1bf"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@icons-pack/react-simple-icons\u0027: Declared in coinnews/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/package.json"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc61ebac4db3ea6caf700faa4a56062e37edf31ba235e05614100b8ad35231c"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027client-only\u0027: Declared in coinnews/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/package.json"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"782aff6dd3285d10aa7f02503030292f771daf009f728b2344098a29d224f150"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027date-fns\u0027: Declared in coinnews/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/package.json"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"818803dbb9a3c72ad2be0f71fc11f05b7a10254b241c6a8623e47b809aa9faec"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027lucide-react\u0027: Declared in coinnews/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/package.json"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3706fb505e1de75e7173606b130e65813fb2c51541d6cb1fa6fbbbc14669bd"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@bufbuild/protoc-gen-es\u0027: Declared in dc-hub/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/package.json"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f45ea957b03b56b88c2a5218ad9b2da42ae7f2ddfbfe40b9ba4b58b8771e3d"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@connectrpc/protoc-gen-connect-query\u0027: Declared in dc-hub/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/package.json"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c545866704fee3a7a37c04646504f612fee157b3e7b7b62706ad81802c3e43e4"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027client-only\u0027: Declared in dc-hub/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/package.json"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9261330c53b042815eddba1c422bdeb81b10fba3cc9f939183cb8a2058390c9"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060Caddyfile\u0060 is committed to this repository and declares the server that serves it, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/remote-enforcer/Caddyfile"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea1f0855afc3ac544cb7f596659198fe2161c352c616cb0f4cfb9cefefe68ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Platform.isMacOS \u0026\u0026 !Platform.isWindows\u0060 appears character-identically in 2 files \u2014 bitwindow/lib/main.dart, sail_ui/lib/shell/run_sidechain_app.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/main.dart"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7244e432517bec07f3a3da42f4c28381ecc9d676599ec6694d65d24c10756f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!hasListeners || !api.connected || isFetching\u0060 appears character-identically in 2 files \u2014 bitwindow/lib/providers/mempool_watch_provider.dart, bitwindow/lib/providers/mining_pools_provider.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/mempool_watch_provider.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d4fc83716c2641bba37c28b3f1327fbd90ce64ad094da05209295a0a9c4904"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!input.isCoinbase \u0026\u0026 (input.valueSats.toInt() != 0 || input.address.isNotEmpty)\u0060 appears character-identically in 2 files \u2014 bitwindow/lib/pages/explorer/load_transaction_dialog.dart, sail_ui/lib/widgets/transaction_diagram.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/explorer/load_transaction_dialog.dart"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"031a0de9a7647139d32041eb5f5f7fe8f11d6d4a3db10a6ff8d06f58f57b058b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!s.state.isCompleted \u0026\u0026 !s.state.isCancelled\u0060 appears character-identically in 2 files \u2014 coinshift/lib/providers/analytics_provider.dart, coinshift/lib/providers/swap_provider.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinshift/lib/providers/analytics_provider.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"31363975456253243abdfdea0ad875a58724f9cf0ca882582d85892eae1033c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060GetIt.I.isRegistered\u003CNodeModeProvider\u003E() \u0026\u0026 GetIt.I\u003CNodeModeProvider\u003E().isLight\u0060 appears character-identically in 2 files \u2014 bitwindow/lib/pages/mining/pools_tab.dart, bitwindow/lib/pages/transaction_censorship_page.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/mining/pools_tab.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f8a8a3ea3c59725f1caa5c4d8e728f51d9f74e92393ced5888f9ff7106e3f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_currentStepIndex \u003E= 0 \u0026\u0026 _currentStepIndex \u003C _steps.length\u0060 appears character-identically in 2 files \u2014 sail_ui/lib/widgets/dialogs/network_swap_progress_dialog.dart, sail_ui/lib/widgets/wallet_backup_restore.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/dialogs/network_swap_progress_dialog.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"196b826fb241d64bce2a1d9d97f9a737502e072a0981f47118924a278af36067"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_lastShiftPress != null \u0026\u0026 now.difference(_lastShiftPress!).inMilliseconds \u003C 400\u0060 appears character-identically in 2 files \u2014 bitwindow/lib/pages/root_page.dart, sail_ui/lib/shell/sidechain_home_page.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5fc8188c20ead63fb3ef8e766419c8b05508394232b292d485c4a0db982c79"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060encryptionKey == null || signingKey == null\u0060 appears character-identically in 2 files \u2014 bitassets/lib/pages/tabs/reserve_register_page.dart, bitnames/lib/pages/tabs/reserve_register_page.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb53a8d6e10861ce1f6cd44819155667e5f41242dad57e81c79da85b5e402b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event is KeyDownEvent \u0026\u0026 (event.logicalKey == LogicalKeyboardKey.shiftLeft || event.logicalKey == LogicalKeyboardKey.shiftRight)\u0060 appears character-identically in 2 files \u2014 bitwindow/lib/pages/root_page.dart, sail_ui/lib/shell/sidechain_home_page.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eefbda3420c0a6511f439fb8ccdb678a4752105ec0f1ee6be71133157db65fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event is KeyDownEvent \u0026\u0026 event.logicalKey == LogicalKeyboardKey.keyP\u0060 appears character-identically in 2 files \u2014 bitwindow/lib/pages/root_page.dart, sail_ui/lib/shell/sidechain_home_page.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"9705aacd0c02bb258135c8d6dde16bf87a412eded4635724e378196f4efa408b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event is! KeyDownEvent \u0026\u0026 event is! KeyRepeatEvent\u0060 appears character-identically in 2 files \u2014 sail_ui/lib/widgets/console/console_view.dart, sail_ui/lib/widgets/inputs/sail_combobox.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/console/console_view.dart"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"40669e2d5d419e317d2e4914e44972369feb36ec4d5165c8eda99e8c8a76b13d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.label.toLowerCase().contains(query) || item.category.toLowerCase().contains(query)\u0060 appears character-identically in 2 files \u2014 bitwindow/lib/pages/root_page.dart, sail_ui/lib/shell/sidechain_home_page.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/root_page.dart"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05fb069ceddfcd957be13164faec9a340316a6dfe30c515d3a1c6954a4991f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060keyInfo.isEmpty || keyInfo[\u0027xpub\u0027] == null\u0060 appears character-identically in 2 files \u2014 bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart, bitwindow/lib/widgets/import_psbt_modal.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_multisig_lounge.dart"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b5d3c0d7f9b77e4c5855a1e876e483191a39d8c270c6b64bd12f6dba83c8d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060logFile == null || applicationDir == null\u0060 appears character-identically in 2 files \u2014 bitwindow/lib/main.dart, sail_ui/lib/shell/run_sidechain_app.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/main.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"02068af3016043ca9f078e731ac725261a1ca7f419e43f55dbe140a4b3d90e31"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060maxAmount != null \u0026\u0026 (double.tryParse(currentInput) != null \u0026\u0026 double.parse(currentInput) \u003E maxAmount!)\u0060 appears character-identically in 4 files \u2014 sail_ui/lib/pages/sidechains/parent_chain_page.dart, sail_ui/lib/pages/sidechains/sidechain_overview_page.dart, zside/lib/widgets/containers/tabs/dashboard_tab_widgets.dart, zside/lib/widgets/homepage_widget_catalog.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/sidechains/parent_chain_page.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be4137187cafb088a2dfa3ea7dcd200c8a3f72db79893643059fc02e24bd843"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model.holdings == null || model.holdings!.positions.isEmpty\u0060 appears character-identically in 2 files \u2014 truthcoin/lib/widgets/homepage_widget_catalog.dart, truthcoin/lib/widgets/trading_position_widget.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"truthcoin/lib/widgets/homepage_widget_catalog.dart"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45a9effceb325a17ef81aec30bdba763e4df261986270d12c3b0bfa350fb438"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model.useEncryptionKey \u0026\u0026 model.encryptionKey != null\u0060 appears character-identically in 2 files \u2014 bitassets/lib/pages/tabs/reserve_register_page.dart, bitnames/lib/pages/tabs/reserve_register_page.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89f1382b5450caecae66b832489c57228c7c91161be21b3dbe7bd951c5a69c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model.useSigningKey \u0026\u0026 model.signingKey != null\u0060 appears character-identically in 2 files \u2014 bitassets/lib/pages/tabs/reserve_register_page.dart, bitnames/lib/pages/tabs/reserve_register_page.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/reserve_register_page.dart"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0396fc63addd72bd2f7bd30113cf45ac858b65ea1a09b275c06832fb118f3a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060msg.contains(\u0027http/2 connection is finishing\u0027) || msg.contains(\u0027Connection refused\u0027) || msg.contains(\u0027Connection reset\u0027) || msg.contains(\u0027Co\u2026\u0060 appears character-identically in 3 files \u2014 sidechain_core/lib/providers/backend_sidechain_conf_provider.dart, sidechain_core/lib/providers/bitcoin_conf_provider.dart, sidechain_core/lib/providers/enforcer_conf_provider.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/backend_sidechain_conf_provider.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"433628a26a2f237de20b0a7c418c338010782c67ffecefa54e357e773faf54eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060network == BitcoinNetwork.BITCOIN_NETWORK_ECASH || network == BitcoinNetwork.BITCOIN_NETWORK_SIGNET || network == BitcoinNetwork.BITCOIN_NET\u2026\u0060 appears character-identically in 2 files \u2014 bitwindow/lib/pages/sidechains_page.dart, sidechain_core/lib/providers/bitcoin_conf_provider.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/sidechains_page.dart"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da5901aa5b3e18da537872c74215798ceb0620eff8f8b33b069301ccf7e521f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060network == BitcoinNetwork.BITCOIN_NETWORK_MAINNET || network == BitcoinNetwork.BITCOIN_NETWORK_ECASH\u0060 appears character-identically in 4 files \u2014 sidechain_core/lib/classes/node_connection_settings.dart, sidechain_core/lib/classes/rpc_config.dart, sidechain_core/lib/config/binaries.dart, sidechain_core/lib/providers/bitcoin_conf_provider.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/classes/node_connection_settings.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"977ec04b44fecbe5ce09578a0ee2f9da5a10aa7ba7468d914e2bc1a2a8dc2ea1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060option.key.toLowerCase().contains(_searchQuery) || option.description.toLowerCase().contains(_searchQuery) || option.tooltip.toLowerCase().c\u2026\u0060 appears character-identically in 2 files \u2014 sail_ui/lib/widgets/config_editor/configurator_panel.dart, sail_ui/lib/widgets/enforcer_config_editor/configurator_panel.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/config_editor/configurator_panel.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2362ea2926539e19dd8f9c2ca0bbc7282470fd589d8741e0a674932f58fe2847"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060originalLine.isEmpty \u0026\u0026 workingLine.isNotEmpty\u0060 appears character-identically in 3 files \u2014 sail_ui/lib/shell/sidechain_conf_editor_viewmodel.dart, sail_ui/lib/viewmodels/bitcoin_config_editor_viewmodel.dart, sail_ui/lib/viewmodels/enforcer_config_editor_viewmodel.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/shell/sidechain_conf_editor_viewmodel.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c5b8524cf725692c6f43c4e79645f0b2663387cf0e313a57964efcc9359e9e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060originalLine.isNotEmpty \u0026\u0026 workingLine.isEmpty\u0060 appears character-identically in 3 files \u2014 sail_ui/lib/shell/sidechain_conf_editor_viewmodel.dart, sail_ui/lib/viewmodels/bitcoin_config_editor_viewmodel.dart, sail_ui/lib/viewmodels/enforcer_config_editor_viewmodel.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/shell/sidechain_conf_editor_viewmodel.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"976c7a86b4b5414a8f39be85e03ca22d8a6877d68ef312188cddffeded8b74c4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw.contains(\u0027connection\u0027) || raw.contains(\u0027unavailable\u0027) || raw.contains(\u0027refused\u0027)\u0060 appears character-identically in 2 files \u2014 bitwindow/lib/pages/explorer/block_explorer_dialog.dart, bitwindow/lib/pages/explorer/load_transaction_dialog.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/explorer/block_explorer_dialog.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdec4abc7512e9a3f14bfedbe4b9043dde639105e6f6b8fe5f72e3dbae2b82c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.statusCode \u003C 200 || response.statusCode \u003E= 300\u0060 appears character-identically in 2 files \u2014 bitwindow/lib/pages/wallet/wallet_page.dart, sidechain_core/lib/rpcs/rpc_sidechain.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_page.dart"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1dbf08045205f4fcdda7cf76316d35a0ad1b7906608f3877c3a507efa8e5ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rowId == null || onArticleSelected == null\u0060 appears character-identically in 2 files \u2014 bitwindow/lib/widgets/coinnews.dart, bitwindow/lib/widgets/fee_coinnews.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/coinnews.dart"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49c4d1a3c0321d57c325240510b48a14f76d2b07ba2f6a3eca981a9a2ab3ff2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060searchController.text.isEmpty || tx.txid.toLowerCase().contains(searchController.text.toLowerCase())\u0060 appears character-identically in 2 files \u2014 sail_ui/lib/pages/sidechains/sidechain_overview_page.dart, zside/lib/widgets/homepage_widget_catalog.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/sidechains/sidechain_overview_page.dart"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d10c0a343b62b7913fc063d2aa1a29cc835a8e48696557f965cdad5c127567e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status.state == wmpb.WalletState.WALLET_STATE_NO_WALLET || status.activeWalletId.isEmpty\u0060 appears character-identically in 2 files \u2014 bitwindow/lib/providers/transactions_provider.dart, sidechain_core/lib/rpcs/bitwindow_api.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/transactions_provider.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"330de0df21fa92bf9325f0a39072c7c9b2e2f4e4300d417b961a614ba4d8cae0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.isEmpty || trimmed.startsWith(\u0027#\u0027)\u0060 appears character-identically in 3 files \u2014 sidechain_core/lib/models/bitcoin_config.dart, sidechain_core/lib/models/enforcer_config.dart, sidechain_core/lib/models/generic_app_config.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/models/bitcoin_config.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0812c7e7581560679b3d3ab167949bcdebb4d82f7a67b88c38a8c272d7d54d47"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value == null || value.toString().isEmpty\u0060 appears character-identically in 3 files \u2014 sail_ui/lib/shell/sidechain_conf_editor_viewmodel.dart, sail_ui/lib/viewmodels/bitcoin_config_editor_viewmodel.dart, sail_ui/lib/viewmodels/enforcer_config_editor_viewmodel.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/shell/sidechain_conf_editor_viewmodel.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db34d77c9a0671bc10bd70aa3dfabf83728faa3e647fead13adfdd8e5b8f923"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewModel.isLoading \u0026\u0026 viewModel.workingConfig == null\u0060 appears character-identically in 3 files \u2014 sail_ui/lib/pages/bitcoin_conf_editor_page.dart, sail_ui/lib/pages/enforcer_conf_editor_page.dart, sail_ui/lib/shell/sidechain_conf_editor_page.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/bitcoin_conf_editor_page.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a45b5cb7e22216a7888b9026e458f14c40564e25beeba97a2d3fc7169cad97"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewModel.originalConfig == null || viewModel.workingConfig == null\u0060 appears character-identically in 2 files \u2014 sail_ui/lib/widgets/config_editor/actual_config_panel.dart, sail_ui/lib/widgets/enforcer_config_editor/actual_config_panel.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/config_editor/actual_config_panel.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa3d5378d2710f71f38fde46813531fd8906d24fa2c64f6f0b6d472db16aa73"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060widget.onChanged != null \u0026\u0026 widget.enabled\u0060 appears character-identically in 2 files \u2014 sail_ui/lib/widgets/inputs/checkbox.dart, sail_ui/lib/widgets/inputs/radio_button.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/inputs/checkbox.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"92836be1f705c230fd7b1bf2a3db072dce43b4dd7bf3bb167acb74ae03e93415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060workingConfig == null \u0026\u0026 _rawConfigText == null\u0060 appears character-identically in 3 files \u2014 sail_ui/lib/shell/sidechain_conf_editor_viewmodel.dart, sail_ui/lib/viewmodels/bitcoin_config_editor_viewmodel.dart, sail_ui/lib/viewmodels/enforcer_config_editor_viewmodel.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/shell/sidechain_conf_editor_viewmodel.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3a2a0c9b2ba75e96b8a26e5059bc9b828757450f34d2430b63b880cd69bc66"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!o.process.IsRunning(\u0022bitcoind\u0022) \u0026\u0026 !o.coreRPCReachable()\u0060 appears character-identically in 2 files \u2014 sidechain-orchestrator/ecash_switch.go, sidechain-orchestrator/snapshot.go. 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":"sidechain-orchestrator/ecash_switch.go"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"8818b2757b9baef28f6abfbba02bb190cea963d4788f85ab34eeb9ab1b1b7e95"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!strings.EqualFold(answer, \u0022y\u0022) \u0026\u0026 !strings.EqualFold(answer, \u0022yes\u0022)\u0060 appears character-identically in 2 files \u2014 sidechain-orchestrator/commands/wallet_burn_ecx.go, sidechain-orchestrator/commands/wallet_sign_psbt.go. 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":"sidechain-orchestrator/commands/wallet_burn_ecx.go"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"834c8ddad34688d59602aaae7c82e2ba0fb2d26f0c5e295a12a83102c87d0716"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060actual[i] != from[i] \u0026\u0026 actual[i] != to[i]\u0060 appears character-identically in 2 files \u2014 sidechain-orchestrator/blockfile/convert.go, sidechain-orchestrator/corewalletfile/convert.go. 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":"sidechain-orchestrator/blockfile/convert.go"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"9294ccdd88815b12477aa1ed5f30bc9081c83991c912f8d766fd913bb85bb91c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c.ChainLayer == 2 \u0026\u0026 o.process.IsRunning(c.Name)\u0060 appears character-identically in 2 files \u2014 sidechain-orchestrator/ecash_switch.go, sidechain-orchestrator/orchestrator.go. 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":"sidechain-orchestrator/ecash_switch.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"e602871f522dde0f2ad2ba33585b60d4590b1a9af6c1c3ab233b04413762e966"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cctx.NArg() \u003E 1 || (cctx.NArg() == 1 \u0026\u0026 strings.HasPrefix(cctx.Args().First(), \u0022-\u0022))\u0060 appears character-identically in 2 files \u2014 sidechain-orchestrator/commands/wallet_burn_ecx.go, sidechain-orchestrator/commands/wallet_sign_psbt.go. 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":"sidechain-orchestrator/commands/wallet_burn_ecx.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7549fd04ebb632d073414ab2938cac618e6f8d72245a592d03949298497fa2a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060d.Kind.isMultisig() || d.Kind.isTaprootMultisig()\u0060 appears character-identically in 2 files \u2014 sidechain-orchestrator/wallet/descriptor.go, sidechain-orchestrator/wallet/multisiglounge.go. 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":"sidechain-orchestrator/wallet/descriptor.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"b233df9eb562725c92a0e05c446953098b89521477d3498876020ef8ce77ec17"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil \u0026\u0026 !errors.Is(err, os.ErrNotExist)\u0060 appears character-identically in 3 files \u2014 sidechain-orchestrator/ecash_sidechain_state.go, sidechain-orchestrator/sidechain_wallet_state.go, sidechain-orchestrator/wallet/service.go. 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":"sidechain-orchestrator/ecash_sidechain_state.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b389fc9f0266bb5a83b300880d53ca90d6118c06fbad64e6ec2c5c827ba3a47"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil \u0026\u0026 strings.Contains(err.Error(), \u0022Block height out of range\u0022)\u0060 appears character-identically in 2 files \u2014 bitwindow/server/api/bitwindowd/bitwindowd.go, bitwindow/server/engines/bitcoind_engine.go. 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":"bitwindow/server/api/bitwindowd/bitwindowd.go"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba84c6e0970e51dc30549d8fbb2d1ae0f7d6175b24f267b641990ef48241eefe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil || len(b) != chainhash.HashSize\u0060 appears character-identically in 2 files \u2014 sidechain-orchestrator/stratum/cpu.go, sidechain-orchestrator/stratum/pool.go. 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":"sidechain-orchestrator/stratum/cpu.go"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99967189afd7ff41b3c1efd94d92b4dc430d96a833e2c08408e9cd29362806c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fromID == \u0022\u0022 || toID == \u0022\u0022 || fromID == toID\u0060 appears character-identically in 2 files \u2014 sidechain-orchestrator/api/ecash_migration_handler.go, sidechain-orchestrator/commands/ecash.go. 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":"sidechain-orchestrator/api/ecash_migration_handler.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"84386ce655a52995d1b670e689543a6da4df59853d6eda19891afbee3f85737d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m.Config != nil \u0026\u0026 m.Config.Serialize() == newConfig.Serialize()\u0060 appears character-identically in 3 files \u2014 sidechain-orchestrator/config/bitcoin_config_syncer.go, sidechain-orchestrator/config/enforcer_conf.go, sidechain-orchestrator/config/sidechain_conf.go. 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":"sidechain-orchestrator/config/bitcoin_config_syncer.go"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc5bdaaca6242d7a18e2abb73feb35ca2740c28c0dc889878ced7057072ec23"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060o.BitcoinConf == nil || o.BitcoinConf.Config == nil\u0060 appears character-identically in 2 files \u2014 sidechain-orchestrator/datadir_network.go, sidechain-orchestrator/network_catalog.go. 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":"sidechain-orchestrator/datadir_network.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c138068d7e0c12a8004382114ad77141e632f52371136e98f23b6b6045aa1d10"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060o.process.IsAdopted(cfg.Name) \u0026\u0026 !o.mayStopAdopted(cfg.Name)\u0060 appears character-identically in 2 files \u2014 sidechain-orchestrator/node_mode.go, sidechain-orchestrator/sidechain_wallet_state.go. 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":"sidechain-orchestrator/node_mode.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"542771437797f3ef08acc99189332c513a129c4e9c80b55f9053f53e9493e6ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060o.process.IsAdopted(name) \u0026\u0026 !o.mayStopAdopted(name)\u0060 appears character-identically in 2 files \u2014 sidechain-orchestrator/ecash_migration.go, sidechain-orchestrator/orchestrator.go. 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":"sidechain-orchestrator/ecash_migration.go"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7fee4b6f24001bed206042a5e8e0e4f1b012049186f12f35e6c737956f2485"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060packet.Inputs[i].FinalScriptSig != nil || packet.Inputs[i].FinalScriptWitness != nil\u0060 appears character-identically in 2 files \u2014 sidechain-orchestrator/wallet/electrum_backend.go, sidechain-orchestrator/wallet/psbt.go. 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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac1ac444123e8c6507ea880f50278367270baf0b273d6adf634202645fbd4d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parentVsize \u003E 0 \u0026\u0026 req.TargetRate \u003C= parentFee/parentVsize\u0060 appears character-identically in 2 files \u2014 sidechain-orchestrator/wallet/core_backend.go, sidechain-orchestrator/wallet/electrum_backend.go. 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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a1a12d48f78a3fd6fa84e0b106258f09b06f80fdf35e50aee36350db460ae5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed == \u0022\u0022 || strings.HasPrefix(trimmed, \u0022#\u0022)\u0060 appears character-identically in 3 files \u2014 sidechain-orchestrator/config/bitcoin_config.go, sidechain-orchestrator/config/enforcer_config.go, sidechain-orchestrator/config/generic_app_config.go. 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":"sidechain-orchestrator/config/bitcoin_config.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"54146e6a511a1b149429e336a6754de3586effc4f479fda2b6ffb0fe9d11bf3a"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060track\u0060 is public, takes a document from its caller (line 34) and hands it to \u0060_deepEquals\u0060, which calls itself at line 92 (\u0060_deepEquals\u0060) with a piece of \u0060a\u0060 (and at line 104) \u2014 and nowhere in \u0060_deepEquals\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. \u0060jsonDecode\u0060 sets no nesting limit: 2 MB of brackets parse to a million levels, while a walk like this one throws \u0060StackOverflowError\u0060 from about 20,000 levels \u2014 40,000 bytes (Dart 3.13 VM; on the web the limit is the browser\u0027s stack). That is an \u0060Error\u0060, not an \u0060Exception\u0060: an \u0060on Exception catch\u0060 around the call does not stop it, so the request, the frame or the isolate fails with it. Thread a depth argument through \u0060_deepEquals\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/utils/change_tracker.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfeee0f410369489b28e84355694bf9627a4f2ccfe2b5711aa1885c1855cbef4"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context or an AbortSignal: Only 44/49 functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http; net/http, net.Dial) accept a context.Context or an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, a cancelled request, a shutdown, an expired deadline. Take a \u0060signal\u0060 (Go: \u0060ctx context.Context\u0060) and hand it to the request; 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":"577196fe89725f9b0e6c2faf89eceb8eb245919bd44e4439e0b0d649c1ee1c53"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: dialCoreRPC: \u0060dialCoreRPC\u0060 calls \u0060net.DialTimeout(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/network_catalog.go"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad10f0c65a2b8b0417f21d3128f5ac14eed4b28a6ac665e8c9ef8737936116b"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: StatusWithOptions: \u0060StatusWithOptions\u0060 calls \u0060net.DialTimeout(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d010ef71b9dd7a29719de18e3b3cf742a74b36ab033570eb43c9559b72594f3"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: GetBTCPrice: \u0060GetBTCPrice\u0060 calls \u0060http.Get(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":3354}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2115db07299fa22ae6d2f9f8adfb62cd6c96117cccf89c477261b279e3c918"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: func: \u0060func\u0060 calls \u0060http.NewRequestWithContext(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/server/jsonrpc/jsonrpc.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"94154790c0c846e1e2ba062cd28dd25c1b18b8120ed18255c41dc03ed5c862a6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getDrivechainConfig: \u0060getDrivechainConfig\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dc-hub/lib/config.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebb04f6ee6a7a0ffd9f4d43a78e871e8fca1a31902eabd3c9469afe417e9722"}},{"ruleId":"X27","level":"warning","message":{"text":"Collection is structurally changed while it is being enumerated: \u0060s.wallets\u0060 is walked by the \u0060for \u2026 range\u0060 at line 2009, and line 2024 appends to \u0060s.wallets\u0060. A range evaluates its slice once and walks the length it had when the loop began, so the elements appended here are never visited by this loop \u2014 work queued for it is silently dropped."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":2009}}}],"partialFingerprints":{"codehealthFindingId/v1":"5879529eeb3cb5010685c56d8bdd15c1cd86f806c91a24e2adcebd640ca5b4a0"}},{"ruleId":"X28","level":"warning","message":{"text":"Index access outside its own emptiness guard: \u0060m[:strings.LastIndex(m, suffix)]\u0060 uses a search that answers -1 when nothing is found directly as a bound. When the search misses, the bound is -1 and the access panics with \u0060slice bounds out of range\u0060. Assign the result, test it for -1, then slice (or use \u0060strings.Cut\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":3087}}}],"partialFingerprints":{"codehealthFindingId/v1":"823b6253abb9fed5c7b1f4a650738a52451cbb73d821ef5fc67fd99a707dbad5"}},{"ruleId":"X28","level":"warning","message":{"text":"Index access outside its own emptiness guard: This slices the parameter \u0060uri\u0060 with a constant bound, \u0060uri[8:]\u0060, and nothing in the function checks \u0060len(uri)\u0060 first. The value is input the caller hands in: a shorter one panics with \u0060slice bounds out of range\u0060. Test \u0060len(uri)\u0060 against the bound and return an error, or document and enforce the minimum length at the boundary."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/utils_engine.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ba03a31d33c0cfd715970a4ad1c44cb9e2b9e8728cc4887349e9118cc65613"}},{"ruleId":"X28","level":"warning","message":{"text":"Index access outside its own emptiness guard: \u0060spec.Procedure[:strings.LastIndex(spec.Procedure, \u0022 \u0022)]\u0060 uses a search that answers -1 when nothing is found directly as a bound. When the search misses, the bound is -1 and the access panics with \u0060slice bounds out of range\u0060. Assign the result, test it for -1, then slice (or use \u0060strings.Cut\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/api/runtime.go"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de6031847196691c99a15480c18bc1f2fe8daadd934bb04781b18819c5598dd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"truthcoin/lib/pages/voting_dashboard_page.dart"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"9026cbbcc7addb8e51f28c3279e2a287bfeda5a3d54bb2dfaefb135c0eee06db"}},{"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":"sidechain_core/lib/utils/shared_log_tail.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf0a846dcf797215831c64a529b62f2e1fdc808d9babf3924e64fa2e5708056"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/settings/hash_plaintext_settings.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef429285911c2519694f417b21ae5afd70edfd1ced939cdedaad6409c9b65fd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/settings/homepage_configuration_setting.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2a5d85e8b27de6993de743a379e4607bde9db3e7bc52716763560357e3dec5"}},{"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":"sidechain_core/lib/rpcs/bitassets_rpc.dart"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3366dc4749f8116a5ee05c53799f310dcb07466131acefd46d91f4090977f7"}},{"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":"sidechain_core/lib/rpcs/bitnames_rpc.dart"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"3295d7d44dc25dd422076d5403759503b8eef48587d695fce58c0c29ac281e7e"}},{"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":"sidechain_core/lib/rpcs/enforcer_rpc.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb642d02bb9c96fba3114b142cfe62aa344c0609bf1a772df118143fb443a43"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/generic_sidechain_conf_provider.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e4a8d5fb87dbe0f5b51167bb57c32666b5f328b3dfb1a25c111ff9c3df4e39"}},{"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":"sidechain_core/lib/providers/sidechain_conf_provider.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e3222dc659f091a1420148bc5a9ab1c30bd1556d308a69ae975e56143135ad"}},{"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":"sidechain_core/lib/providers/wallet_reader_provider.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb3911964164419ff4377196c8611c4aa0b984267cd9ef699d76c0d308e490b"}},{"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":"sidechain_core/lib/providers/wallet_reader_provider.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0ab36095c078de1ccec2787da8adaedad27e6a9505936c1813b4242421333a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/wallet_reader_provider.dart"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e5e9c5b10aea5b5fd0a1c3a7c184ae3d289db0390b60d8cbec169585f33384"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/window_provider.dart"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d3b2fa538ff8cac0fe2b2d03c78db7f65e4a88ff5fbcf2c464c25351c54439"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/providers/binaries/managers/process_manager.dart"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8e4191b2a14aa49b2fa33f7e332357474652d8a87e7b65cc96a1cb32e00508"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/models/bitcoin_config_options.dart"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"10717f5faf1d97a4e44f240256525bf3a291d9394ac9ec1bf216a80cbcb2c434"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/models/enforcer_config_options.dart"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e406f2b60e1dd7a338e6f7dc998a8b1991fa97e0f77f42951917ddf9d0af2d"}},{"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":"sidechain_core/lib/config/backend_sidechain_runtime.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"176228440f03e64b20e2a76664fa721f4a34b5ea823a3321f819be13deb31ca6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/config/binaries.dart"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f389dbcfbadb4f6e5760dbf4ccc9753a07fd9a3e99d4c468d4877e346b95136"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/config/binaries.dart"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b91ae221b3fd1278647eb90c22caf6ec402c033698341141bd6fa2da51f6b82"}},{"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":"sidechain_core/lib/auth/local_auth.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a75dbdcd4f4146d1e62bdc04f2dda5242bf17c8e6536f9a96f270e0ea4cd6d5"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060entries, _ := os.ReadDir(dir)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060entries\u0060 as if the call succeeded. When \u0060os.ReadDir\u0060 fails, \u0060entries\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060entries\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/config.go"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49255b8a6566b5c47a043f62adfb34fb79ddc28592a6cc152f8d62d641a05eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026entry); err != nil\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":"sidechain-orchestrator/config_loader.go"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"249d0bc8db7c7d10c433598a5fc3f02d78c454f371ff9528aaef97857cfc5f78"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026entry); err != nil\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":"sidechain-orchestrator/config_loader.go"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3a375f40b0024693390f051af4e7942e533a0ce4b30ca93dc9b011fd7d99fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026entry); err != nil\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":"sidechain-orchestrator/config_loader.go"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf7bf7a60b60ae4737977dc6a72d04e6fbd7647690dc0d9c584bd4eb7f0a8c3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/datadir_network.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"719310450963db81b3025a21ab4bdfb7b8e0105cddab4494d40fdfb0f2225ea2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/datadir_network.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadebdca6932906e4015925e4382f3fea1738bf38fcd574dca72d335d3560da2"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if _, err := os.Lstat(binPath); err == nil\u0060 reports \u0060err\u0060 on the one path where it is nil, and the path where the call failed goes on without ever reading it: the comparison is inverted. The real failure is lost and a nil error (or a panic on \u0060err.Error()\u0060) is reported in its place. Test \u0060err != nil\u0060 here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/download.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66420f96dc3b1ec53b72a2369fe7250a1a650924e662c4aad37667340716542"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/download.go"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92b8957677b776732b4ff683bcd2d8cf3c684730351e36711d334d5ae197046"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/download.go"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a578e849c6398c381ae4954bf5fb2bc42cde9b5699958ee8faf16a2bbec8119"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/ecash_switch.go"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2e4a215db945fbbccf770be3b0720cec36cdf2e2a666eb2e01a0b3698ee80b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/fork.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bb4e467ec66f810c8b74180b70921060cc2ed42f8884a0c49205bd72eb5b3a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/logtail.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02ffedebc21233fadd4b50fd9c4e36e8033a79d8abd578e25e914b412d51896"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/logtail.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4d538acb3c8ecb9b7bdae3d2df73ed250bd6cf5b5078d90ee833e7d09d14b8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if readErr != nil\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":"sidechain-orchestrator/logtail.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cc46dc8bd2eeb291e01994faffa2345b312a21b235c41b94b4968362fa7d25"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := f.Seek(0, io.SeekStart); err != nil\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":"sidechain-orchestrator/logtail.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6736cdd60bb18635aabc01b2830d12f2255a7f5923002697a885f92c6f932146"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/logtail.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"56362ffa4a0861c9e1b57680c81c20104eeb33f84eaba3302cb1618b020ae3c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/logtail.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"728509de8bdd4a29b97cb1e4e829adc9033bc5169412fa58729bbc82e30bbcac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/network_catalog.go"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0947da46550f631f0128883d3bfd2296171c61b5ed86793ae1a9a077c8fdde"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/node_mode.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bf0a5b0a9cf6b9761916ab629b1357d648bdc4234c86ba1cc816fd5dfc9b3d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"270ebaae9c930bbcf809ff35040eea8d06441722d06e906d65709de7c5c12bab"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if err == nil\u0060 reports \u0060err\u0060 on the one path where it is nil, and the path where the call failed goes on without ever reading it: the comparison is inverted. The real failure is lost and a nil error (or a panic on \u0060err.Error()\u0060) is reported in its place. Test \u0060err != nil\u0060 here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":1873}}}],"partialFingerprints":{"codehealthFindingId/v1":"351235f9982bf3e3fffddead53f8401f9430b9af920afb097af49d81434a863a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":3083}}}],"partialFingerprints":{"codehealthFindingId/v1":"411b4d55ee4ac68458cb40cd8a473c598261250e02b26dd4bc60a9c5299b2c1d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/platform_unix.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac76d7ebc1d33716c67bbe71a43e830afbcc5762a871993b78794801d322350b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/platform_windows.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d9bf033c919ef17e77e5570a38fda60313d64ef63b7d8623e3f3f9f9071475"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/process.go"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f3e296a9555a1120ae12088f33c6eb10e1342d8acd24115544c5ffd5880de8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/process.go"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"b792f7aebf1de2a4cc8beae8d26bd0da76f9055c049687e0301d4dbe499b5c9c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if startErr = o.prepareCoreArgs(\u0026opts); startErr != nil\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":"sidechain-orchestrator/reset.go"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf726920e985545aa98b1225cd0f806cdce523e2fb7c91ff04eccde20f4f898"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if startErr = o.startEnforcerWhenReady(ctx, opts, nil); startErr != nil\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":"sidechain-orchestrator/reset.go"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f00f4309d4a5f69f1e93372935d45bd2d45cfe2e8fd8618e23ad9d93c08940"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/reset_to_block.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c043d023cedca36bf94756e5d8b58e64319fe27ed12a63f01d9f31ec18cbe421"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := base64.StdEncoding.DecodeString(iv); err != nil\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":"sidechain-orchestrator/walletfile/walletfile.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2f63e214565664594c65c3b8912a08156260b3c9aeb79f0a2ce81f4b36873f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(content, \u0026parsed); err != nil\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":"sidechain-orchestrator/walletfile/walletfile.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7d19da0780b0797ae60eded9b395ec2fd6a5bcf12ad16b79f3de2cebeacbbd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := strconv.Atoi(index); err != nil\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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfc7cdc8e8d12d4b8436be03f83886142026e4e42ae770587fb397dc2064e69"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ccc0c367f4780f4b18feeb886cc8f6d6b80745ddd42b9186e000badcb0e761"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2dbb5be600aec0a21dab8aab3e24829da3c6a2688ebf073a39f410df46c5b0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/core_backend.go"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"2598c9067332313170457522d7485e935c8b1902a52c4714d3827915e32a5700"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060class, addrs, _, _ := txscript.ExtractPkScriptAddrs(txOut.PkScript, net)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060class\u0060 as if the call succeeded. When \u0060txscript.ExtractPkScriptAddrs\u0060 fails, \u0060class\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060class\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/decode.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5eaafde39f5fd880d10014789aa87fb5d9804848066c3f0063e678561af7017"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/derivation.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b48a9cb54e30a3eabf7084a3acc3e14af49067f1c25a65ed9efc24638917ea1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/derivation.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d97560c77b7d6193dfddb9d8f1cce5e19dacfcd6106190374945276bd74e23"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/descriptor.go"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8a2b1a5dedd79033cdc7cf87a727b4a48995e1ef9f4394e56568a5b431ec3d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/descriptor.go"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6af06af6bc876905228df57c1657f8400b2f3d68060d5e210ca9f07cbc7f71"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/detect_script_kind.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc3de9db4413fe22b0b687a85e9c02ff56f52c4d15813eb68d4e4d18858cbb0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := ctx.Err(); err != nil\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":"sidechain-orchestrator/wallet/detect_script_kind.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e1311ffb618154abf613578a0daf7890d50f686557529b2113e5bf9174c676"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/detect_script_kind.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ffc57f4ce895638cbc81c83094ff12ff54f690bd58f3bea556fb16aa149501"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/detect_script_kind.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e89bc5304bc05fa995c45b80f30b24218760e36b7af69ddb4bdd0b9798c71e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/ecx_burn.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24ad73aeda5e8ec8de10fe051fc7e96356d1a1e186bd3c1ba59b6cf6d4d6f8b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/ecx_burn.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c835975792bad747c0f7672e79a7889ea7e3763693bb57fa526714826ac15f21"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96f0a60d6bd47c22c780fb97678ab08bf519381d61d6cc20454c32cfade59d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1aa7374ae2b53926a6cbfd2ea66980f08d611d354fcc9c1dad6429fdccd8dc7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":2692}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e3bc05ab54e84ba112e4fce28198af70283768917b946006087e4990355a38"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":2705}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f768ae7b16eb96c4fed8d587ed9aa99d395e5fde1f33452b12ceae54c7e186"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":2898}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dc858c9e2095a26376950dbdc9ccfc76d001c128d1cb523ee0b0fe1394b3d9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":2947}}}],"partialFingerprints":{"codehealthFindingId/v1":"0517b1b48787c362b34f58bded9571e602b59e6c87c81b79d4a808689c1f02d4"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060hostname, _, _ := net.SplitHostPort(host)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060hostname\u0060 as if the call succeeded. When \u0060net.SplitHostPort\u0060 fails, \u0060hostname\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060hostname\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/electrum_client.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fe1834746b6032b3fff986a65c717d04028a632e593edc9b3d46754f27e1e2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(line, \u0026msg); err != nil\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":"sidechain-orchestrator/wallet/electrum_client.go"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68730834ab345f7c09528ef16cab5a99bf5111734ecc92fbc4a7ab09f65b67d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := c.call(ctx, \u0026hdr, \u0022 \u0022, height); err != nil\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":"sidechain-orchestrator/wallet/electrum_client.go"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e55bf82e15ab94b83bc4a7ff71aaf804d548beb0de8146bbb643e3489aaf374"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/engine.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fa56d64b333fe306361fffafd480f201cc8f18fb9fb21bbd5d3554e0b800d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/engine.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"49562359efe4ab38d59db86ebbe80e23bad0a874cb2981fc1d9ee63524e9c2ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/engine.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9303542607747851ddd8d41cfdd62ae45991083cabc23c3c5ec6e4ce7ef7b91a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/hwi_paths.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1038201513b06afd8d5aef749a4c91f7441de617f753d6ede2ebad60fb0ac3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/metadata.go"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f8001361f992c4cb549b408c1c77e7c3f13e51a7fbebef62067e0bc6872e62"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/metadata.go"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e5adec79707ce13579d57f5633cc59a63dc9e7762c0360630e5e0e285661e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060m, _ = strconv.Atoi(fields[0])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060m\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060m\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060m\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/multisig_config_import.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d426e73d06752f1ca83214a11a6b7f18d3acea5a42524d5adeecca14407bf03"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060n, _ = strconv.Atoi(fields[2])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060n\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060n\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060n\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/multisig_config_import.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3636cb99fb3b1df4f098c4893dc5412065e23f9e474f1e06d40b3a7ef140cb2c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/multisiglounge_codec.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a33163d4f2292297eec4aa43adcf19d36074fc957c94f8e8e3e24d03993099"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/network_chain_source.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b0caa85e86ca46f07ca5db53524f9185fa40f8e5f814c7ccb69e07c3dbd866"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/network_chain_source.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be5b64631a9d1e7f28b19f245f4d8beb72ca56f98b4322ceae615988be0b2ad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/psbt.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d16d643eb5f836a83629b309ed9dcdcce38578e295b0954a6afcb1b89f4a438"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/psbt.go"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c824ab0cee9b0a57e2594f32013d02007c04be574d4f1282dd47a8805ae8eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/psbt.go"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bb2d6c4dfd1aa038a1ca98101583b0f3a171d7a845cdd776405925fbfed573"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/router.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf452311de40d802c3529b1ac2feff723934fc512c6dce326a1f58df849f6be"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/router.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd58636492e6dfbefe519b09eaea16042438d254ecd24efe247795e6d16a975"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := db.QueryRowContext(context.Background(), \u0060 \u0060, network, walletID).Scan(\u0026tip); err != nil\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":"sidechain-orchestrator/wallet/scancache.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc935afc98d1bdb1da297d880e4a172ee46b9f46f9f1fe0190f6a725ecae9111"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/scancache.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c7b0694e0f6928caf327a68b308e7ee224db7ee48e4609fcda68fa2610156b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/seed_explorer.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a73bf2b6d2c5ddf7a34fc335d95b49a7490a091b67a9cdaf4230f690657a84"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060blob, _ := json.Marshal(m)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060blob\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060blob\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060blob\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"963e0c7919218923d03d088205d8b71d576e7d7bd95d26b85e3c8307eeef85d2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":1818}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b32b3b63852d7f8976bb665ad21980098250cda54a22769f96c95bd31be849"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"07427e32e232271c136b0671c335693f5cbf2e90bfa8277c4e7d14281d63d100"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(data, \u0026wf); err != nil\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":"sidechain-orchestrator/wallet/service.go"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7f9bd681cbb875fd1024118e1b99ece99fc8aca56ad0c03b382fcec26ae89b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/sizes.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbe193ec2644d67f1107fc60b58711abb8582cff9451c072669cf44f7b6aa2d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/wallet_descriptors.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9018cb7e33c0134ca3b5a4a921f76feaebf3473e2f181870bb2172e2ef6c0cfc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/wallet/wallet_descriptors.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcdbb581f057b010d5d21f1a2763944ce26ec69a31c21c8fd83ac502b40df5b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026buckets); err != nil\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":"sidechain-orchestrator/stratum/history.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e6aa236261f5778f4e90e765d9abcd35426c777d85a0f24f2db6c7deab613c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(msg.ID, \u0026id); err != nil\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":"sidechain-orchestrator/stratum/pool.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d0bfde3f02edfd4162d937f786d96a852c9694a0e1389df38b576f039badda"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(result, \u0026reply); err != nil\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":"sidechain-orchestrator/stratum/pool.go"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8bb4b09bad71f1e8aff17b048f9639bc97b9c5c6bdef7aad89875adc4d347b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/stratum/pool.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"be48fb5f7f030c2b60665591f7daf916919619a9fd8e83d99f107a535662db02"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := conn.SetReadDeadline(deadline); err != nil\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":"sidechain-orchestrator/stratum/server.go"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f7c6a5fa2f0a37509550bde171a2d6ecdb6175fdb388d1d9271602c4b7b9b4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(content, \u0026out); err != nil\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":"sidechain-orchestrator/sidechain/mempool.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"2035ff86c55d9c6665b912800f7088bdc177aa8e27d13234082e89661b2e1fbd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(content, \u0026plain); err != nil\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":"sidechain-orchestrator/sidechain/mempool.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8392d97a00113cf58c2edfb069c8f8a28944a2c38f787b52165f0db79cb176e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(row, \u0026entry); err != nil\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":"sidechain-orchestrator/sidechain/mempool.go"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b86a2811c8c9d12fb4cf70cba28dcc0f153e541b6ba0235656fe0269209824"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/sidechain/mempool.go"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"4deb6df1ffc2e32de7e7cda5899d2f6b6e8566f537b45bbcf17468d5bebbe168"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/sidechain/thunder/history.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ecb43fbe60ae0a98f96dd65c28bf244a79fe2457df77dc2e6de7c3343c3613"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/sidechain/bitnames/commitment.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe56e414841334fbdf222b877117f783f686a335d7719603d122b1b1fdffface"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060token, _ = ReadCookie(dir)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060token\u0060 as if the call succeeded. When \u0060ReadCookie\u0060 fails, \u0060token\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060token\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/localauth/localauth.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a716f233c32f801e48b311a8ff9891a2eae2120ede4286181e59a000edd2144"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/localauth/localauth.go"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"255f6bc0cea9bd98eb7afccda82bc40f294fb560c89d83d593b875def55379a2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/lease/alive_unix.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c9a8bf333b5c013ce117378854d69590707e5845e337a59748fd656606000e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/lease/alive_windows.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7391aa8e0d2c38c4a2b2d2f24ee9fbe3720b38957686c1d455be84e7de3517"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := syscall.GetExitCodeProcess(handle, \u0026code); err != nil\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":"sidechain-orchestrator/lease/alive_windows.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1ad3f9280a6a137fc50443f8e0595f24a0aac8b8a1a707719cdf4e5f9d203a"}},{"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":"sidechain-orchestrator/hwi-daemon/hwi_daemon.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de8f1d7adf6187f233975413cdf74e3cc0ac4d409d530e0c42b89fbe6cced39"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/fork/engine.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"442aa54e830fa79cab6eac1e38dd22ca2988fc7d8bd338ab3c2f6f9231f053b4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/engines/bip47_engine.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f1e7499eacd649668c6f52c05060419a317f68f3b97caea29206304f5be608"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/engines/bip47_engine.go"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"14aad438bc3af24d3a9ee1fec1ac6daf72c320859782ceae61b35195bce1c28a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/engines/bip47_engine.go"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f56ebd69638b5270abdff7db814d8c9f7f1f4c4fb41b7319bb7bb49fe86e13"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/engines/bip47_engine.go"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7060860c62d04b5fcbeff7bab3f4ea762c2faa30e538ada4342a15c314184c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/engines/split_engine.go"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"c213e00175c5285c0ab69215cfad3fa32d31ae182991e835b986ccf7e9c5489c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060orphans, _ := filepath.Glob(p \u002B wipingSuffix \u002B \u0022*\u0022)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060orphans\u0060 as if the call succeeded. When \u0060filepath.Glob\u0060 fails, \u0060orphans\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060orphans\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/config/binaries.go"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d27433b61c78f2235052763934ebee1574856ec106eebb709964b8845f5475"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060orphans, _ := filepath.Glob(p \u002B wipingSuffix \u002B \u0022*\u0022)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060orphans\u0060 as if the call succeeded. When \u0060filepath.Glob\u0060 fails, \u0060orphans\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060orphans\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/config/binaries.go"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"c904bf09b588a126f78a5410dad5ed40680669a05f8669aaa9e5ebb870de1d58"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/config/binaries.go"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"367cb21f1916af4e1e08397dcc9378b5a992bb69392b434b4974ecc52986240f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/config/binaries.go"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae345aa8de7d0d6fbda1a43ed2b9309d394c06fdbd1a1f711e3b34e9c535b8e3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/config/bitcoin_conf.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"176e68a1c461c2093c74f50dba5901495a805b37e140f726c9516984cd02c390"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/config/bitcoin_conf.go"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"77af43f9b186ba5845b2babb421521b70b67b63e9599c1f5499003ffcc36ba20"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/config/bitcoin_config_syncer.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb206add76c01f5faa394d64ce9fa7ea8b0cae3ed96a2c7355c30311fd12f5f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/config/dbcache_darwin.go"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46a39facd4be70a9ab2fccdc6b4f4edbec899dfcd08ce97949a162a50147f16"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := unix.Sysinfo(\u0026info); err != nil\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":"sidechain-orchestrator/config/dbcache_linux.go"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6cb9b58139db051c70bae604e29e02715bba2fa800ad7aeaf22be69bda08bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := proc.Find(); err != nil\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":"sidechain-orchestrator/config/dbcache_windows.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbf0d6bed7d9a942beca482b10ca6ee875aabbd27a4d1998e11ddb2562b6705"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ret, _, _ := proc.Call(uintptr(unsafe.Pointer(\u0026status)))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ret\u0060 as if the call succeeded. When \u0060proc.Call\u0060 fails, \u0060ret\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060ret\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/config/dbcache_windows.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9f8d3c606ea406b952508a8512be4618601e9324f4b4cf34328476e0e0f2a0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/config/enforcer_conf.go"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"284ed84c5c00c97a04ae33e60ca3024f2eaa81f94c4416828f218217929ed0e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/config/enforcer_conf.go"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"634dda61828c007684637c5349e5bd3ab2e3ed1e17a0d5204aa9ab0fe570f072"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/config/enforcer_conf.go"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e825054ab21c2729aaf45f3b6f5ff7844a0ef13323e1d5e23e001946aa503fb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := conn.SetDeadline(deadline); err != nil\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":"sidechain-orchestrator/config/enforcer_conf.go"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"9188cbc3f750399bd545663dab4e41027cf9223d4c3c82d98b5008dcdce05e35"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := conn.Write([]byte(\u0060 \u0060 \u002B \u0022 \u0022)); err != nil\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":"sidechain-orchestrator/config/enforcer_conf.go"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d92b99fde0dd438eb4a4936e356335527e4f9714e1dd9a1d0ab96b37444d6e1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.NewDecoder(conn).Decode(\u0026reply); err != nil\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":"sidechain-orchestrator/config/enforcer_conf.go"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"4793b577983ac886f48696f64e52a3e15bfddbcfdb93cb2a177090019f060ac1"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060home, _ := os.UserHomeDir()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060home\u0060 as if the call succeeded. When \u0060os.UserHomeDir\u0060 fails, \u0060home\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060home\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/config/homedir.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bf7b103df7aace64e1464a0becc61e347a6cd2f20f475b9c6c777dcc3e5e0b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/config/network.go"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"1936ca014f330e07ccbdc29ea88ef7c455685f48942499a1bea037939d06c4c2"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060version, _ := strconv.Atoi(m.Config.GetSetting(sidechainConfVersionKey))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060version\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060version\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060version\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/config/sidechain_conf.go"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f9947b10f497c93a968e4024c3bdea0696c28f5eb015335c02fb9885f97fdf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/config/sidechain_conf.go"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"678ddc74092df296e5ae5ea95b6be85770ed12b31d6cf684517fd13a47554773"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/config/netcatalog/catalog.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"54075fcdee8c906219077fb74ddee41ef16cb8bbcae06a71f778832141f2ffdc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/config/netcatalog/catalog.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"d837d05c2101d89172520016d341831a35dacf39bda3aafaddea6eb150e706c7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/config/netcatalog/catalog.go"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a88191e5e48838b4618832d29ebec870910ae916de399f2eb0418af086484f1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/commands/commands.go"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b5e1ab44c5463f87e9dd87cddbff5c61585526e3fd75564b567d965413d8b8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/cmd/drivechaind/main.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d60e66bf5a779dec7024e06c683330554cf20514986ef1ea1c2a74bd05a208"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/bid_source_core.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15e15e1aae9376dd38d1345ebda339b980974121dc57ec92d415bc2560b4dff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/bid_source_core.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0751ed96a3555b49eca95e7eeeffe6de6618c408daa3eaa1f839d55aa851cf08"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/bid_source_core.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebed33a8b59410f2f3a7fa8452025a1ec24cf441cf425d1704efb453ae33df11"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026txids); err != nil\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":"sidechain-orchestrator/api/bid_source_core.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e457f37dba6a64389efe0f64544336e0734335fa8438b0b1053159b7c298ffaf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/bid_source_wallet.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"19edd7d45fc9f23ddacd00e7bc895581285ce0f619e80f574e3e901d479ec87f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/bitcoin_conf_handler.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"25911d5b0b942de0b3aa936e99f39ab10ccf2025c2acf812b6f696468b8343a9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/bmm_label.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26d68bd0dd03f4179a337604ff9fe35611b5a34e4c52479ed853f22653f8834"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/bmm_label.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"21dbd1705cd336798967420b567840a1fd8fea74ef260ecde52f94bb125d0eae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/bmm_label.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce8db03d4817c801924cab64827229cd111d24c38921ff8ecc3f523627bf86a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/explorer_bid.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"389c8e4f622df18110617a85d325cb029d4253d53e5ac122e2a66cf11077fd42"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026mined); err != nil\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":"sidechain-orchestrator/api/explorer_bid.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e1f801200b98b4d52bc56d8014ade2b8042fb3ad7a3816a0e0405df2ef8e60"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/explorer_bid.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3b7f06e0667e6aa74817ef51f9e93cd3d1044495d66790400153320d4911fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026bundle); err != nil\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":"sidechain-orchestrator/api/explorer_bundle.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34344f187d304f40c99912abb1250faf52cc3e6f393df95fee0cbc0f880b376"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(spent[1], \u0026output); err != nil\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":"sidechain-orchestrator/api/explorer_bundle.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc10841fccd80931d6f6374b1dfc5b8ff69084f42d6de3f0b1b0a748b67ddd0f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026content); err != nil\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":"sidechain-orchestrator/api/explorer_bundle.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f54dd3928df0f821b24b5323c955381f523b0ac51e2ab0b98afde7dc7f69af2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026content); err != nil\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":"sidechain-orchestrator/api/explorer_bundle.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"763a029e73044068ee21e41f5ec93770c22e6e27a2c2765f9b368f8427a10402"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/explorer_cache.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe1a2f15488eb3a7932371ed7e2a97715c10bd5441ad3da6a77ef4d7847505a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/explorer_cache.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebc99d21265f9c54934cc7d17370d611cefb85dac3bcf523d32b5194cf409dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/explorer_core.go"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d36604fc9c5a999286f808c63a6b6f6bfb74a38d5abe35696b5ecdfc2be3a0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/explorer_handler.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"383f19941f0677eaf43be19ef5080b00b603643142ee988e669df3f689661867"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/explorer_handler.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"6273d0d58260e84c1918a552406aee6d523813f0ee4347dd1fcb646f12bf051e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/explorer_handler.go"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56ac9ab2110719b7c56bfcad0763465a99daa2fb5db7e58803d8e9cd288dc6a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/explorer_handler.go"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9401100884aaa1e379e66dd419cfc87936807af46066cdfa94f0047b17ab77e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/multisiglounge_handler.go"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a82f346677ee0d2900537d8d7a22a789845c3df7405f3862440c3ab0033d309"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := h.coreCallWallet(ctx, wallet, \u0022 \u0022, []interface{}{txid, true}, \u0026res); err != nil\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":"sidechain-orchestrator/api/multisiglounge_handler.go"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4aa28d87eaa2030c6b917b5caf5722afaca78abca7af36237570b57d5c17ba4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/orchestrator_handler.go"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"15effda923b2f9bcbcb5dad2072c3cf1aa2888aabd09d3c35f836f35143d5336"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/orchestrator_handler.go"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"323a23093ad5b5466484f28ce78c9456b700d09670510705c421c94246cbae0d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/transaction_warning.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec055eb297a07e2984efcb6f30a4dfec0fd54a6a13c4baaa8f3e82ba21167ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/transaction_warning.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"607e19fa2e34939ce996a2e0ac9f6bea93f743f12af3ea4ea87851793361a45c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"217424ec3b7d2d6ed033ac96a2996257a53aed646ffe7786be99d881122b9020"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"sidechain-orchestrator/api/wallet_handler.go"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0d95ceb5cbe4bfdccac4dd693869a3069bf768bbf922186a70f8f2237a469f"}},{"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":"sail_ui/lib/widgets/transaction_byte_view.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7799ad4c6f7d44c1f748a792041f53a7d8dde3da216d326a541f02b868d1e0"}},{"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":"sail_ui/lib/widgets/nav/bottom_nav.dart"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"a719800f1b18bdaed1549b9d93442f782a869890a5b683a4968125a511dd8eb2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/widgets/debug/sidechain_debug_window.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b73c0b53c2a0422bdb55466c61c7daef8d5d0e914a920e83c94b8532e2d1dc"}},{"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":"sail_ui/lib/widgets/console/cli_console_service.dart"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ffec33ece6124e53147c25218fcdf6015791d5f3a5bd47c5a07a41845f4c95"}},{"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":"sail_ui/lib/widgets/console/cli_console_service.dart"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"391e16374c74ea474f131527baafccc11ccfbe4a26263e01afee8e0455e06a13"}},{"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":"sail_ui/lib/widgets/console/cli_console_service.dart"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87b9dda49ee232af004878bb8167b06c0542712523cd34ef0b88e6cd209ad10"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/shell/sidechain_homepage_provider.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4b85199636b0929f38efd0b9fa4477ecbad706f50fa1aaa746d1e77c3c6113"}},{"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":"sail_ui/lib/pages/create_wallet_page.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7a7ff4f950ade7b37bcebda0cc8730d71a62818017695516eacfe740a64e0d"}},{"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":"sail_ui/lib/pages/create_wallet_page.dart"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"782d00814a5664c3fc61dbe2c0a1e1b455d62980c54239a42109617913e154a4"}},{"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":"sail_ui/lib/pages/create_wallet_page.dart"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f3550a694b8e0609c348ebbe35f5d0783edeeeec269af237a1b2384975e337"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sail_ui/lib/pages/datadir_setup_page.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7240f9e54ee2bc4ec79a2d677176614667af35f189585dabec3e1164bbe8ab50"}},{"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":"sail_ui/lib/pages/sidechains/explorer/explorer_detail.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0451a6ce294b98d6562981d0d3094e9d36d28f298be2f8259635c215dbacd7ac"}},{"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":"sail_ui/lib/pages/sidechains/explorer/explorer_detail.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"49058d77f65319d45ddaa82bd664e2d96d355e998bd852c585702011576d19cd"}},{"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":"coinnews/lib/utils.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1469e67ba05e46ff12920e443e426f2f6ca443d142896ecba865058dca387084"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"coinnews/codec/sign.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"821e8c044d04ba6e7f3d4df7980343d47fb5db801c1b015c4d693dd3406aa277"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"coinnews/codec/sign.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d882c32d622ee50df3089bfb36daa67ba39fe8cbdf55558f1eaf05d6f787286"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := os.MkdirAll(filepath.Dir(path), 0o755); err != nil\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":"bitwindow/server/main.go"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"80896761ac3edf8fa3056045100209b622c1d0eeb24cbb192b0f10a41f5111c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"bitwindow/server/main.go"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e65a7bc2f35234fdda7521e482f7d3d741324988895af2f28331a7477a54e08"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if dialErr != nil\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":"bitwindow/server/main.go"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4b327a796e05d0acb70d4d3aa37b975cbc9e7ad298b89aac8f6dc8d0713cf4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"bitwindow/server/main.go"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49fe3977e4c1b42a5647cbb1533050a2f28229799ebde7971e350321737be32"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"bitwindow/server/signmessage/signmessage.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0492863927b0619593b0d2ac8d6aa50dd97f4331937e39ee5c798fa2ab6a63c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"bitwindow/server/signmessage/signmessage.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f2db92bb4382c140d4f10b552c4f9276de6e5d451c6185cccbf2aa8e18a709"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(line), \u0026l); err != nil\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":"bitwindow/server/models/bip329/bip329.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cba0dc9519dcbde032789b713442595825969470b9eec397c3a280f0bf7126"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := os.Stat(path); err != nil\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":"bitwindow/server/miningpools/registry.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4d9e4b53bcc1034dfe25d6052ba623814c1546cd4685ff5bb4f1b45572e94c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"bitwindow/server/engines/bitdrive_engine.go"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"10257e534ddecafb668418d3a75ef4dbaf631adf802dcf69675efd690534ba35"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"bitwindow/server/engines/bitdrive_engine.go"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fca945c0ba71b87be94718dab0ce0160fe8cca5f60c5c650cc26312f6c6dc5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"bitwindow/server/engines/coinbase.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa838432376ee35942529cc5f7db20b5c7514533d7163510eac3979d8713463"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"bitwindow/server/engines/wallet_engine.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"176d3bc4c5ef8ab140ed54537e5bb08fcce632ff7e73e29ef94de68f551db256"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"bitwindow/server/engines/zmq_engine.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd4571f1e26a04600b9babd15206a1b02e32610d024353f9523805d912346ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"bitwindow/server/engines/zmq_engine.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"327c0c8d90657c1fb648015f3ba10c3fe8f270286336da791127dea45fed1a8b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/coinnews.dart"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6841ce3ef26fcd203fa1e322bcaa1b731d18b57813cae66bf167c2d599446c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/coinnews.dart"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bcad7446ad5516c56b7c18de2fa5b1b79e5da6ab986aee20ef85329bd64b4f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/create_multisig_modal.dart"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3efa824e2aa0c70a91df5587f7e3ac8c2e7f08e97e521acb2146ca8880a896f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/create_multisig_modal.dart"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d4b8575486ff0659524983be4670250f7125c1d15c31ff1df81a9c36c38319"}},{"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":"bitwindow/lib/widgets/datadir_network_notice.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d30cc8eccb2620b3cd87ad7f440d420e5d3562a61b82227791322730d45c78"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/ecash_upgrade_banner.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f894b1c1a1fdcaa8709a6adc368c00a343e407e649959e15a2cb4a9cdbad686"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/ecash_upgrade_banner.dart"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a37dc34c6a912c98be60245d4570204916a9b4b9238e38968d5d1c0a2c84f3"}},{"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":"bitwindow/lib/widgets/hardware_device_picker.dart"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"e032fd1f48e944073d4393066ca9ccbe8e81f9c3e84b6d08b86ff93488a744ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/hash_calculator_modal.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59bb70e10c2fd11387c203ee80a198f99d436e62df314f1681035e11dc0fcdf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/hash_calculator_modal.dart"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecee95bba7c0d708f977fb95d29695d21f5be982dda00cb579ef1e79c265f32"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/import_psbt_modal.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3145b16ff73532c232d4bf098d3aa9d9c4d34403656fe107be753ae2e5d3e2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/import_psbt_modal.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b17c2e374adbcdb989bd3474a15fc3a5edb9ba8a4c448bdc675de1ae618515f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/import_txid_modal.dart"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"371ac6bc7fb7a83045d4b18361f96fb5ad8e8a43098cd5d767364d37ed34748a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/peers_table_widget.dart"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a1db0c1f9e876576ea510561c6c93edc19112ef1ad81b2df710a2adc15517b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/peers_table_widget.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b39f08bfdae1815b0081eb2d5cd1cf7ae139f132c69ee33b6227be00151387"}},{"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":"bitwindow/lib/widgets/ur_qr_scanner.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"55619a0ff057440890236e2b21dfedfeeea9d551dc41c9459d69087a6b7cbaeb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/utils/base58.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4820810ce26546aaf9abc8632c19bdd847eb950a506cd888dd6207b2a43cd523"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/utils/base58.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1275d5db06fff926f74b9c5c4ac3f13cdf006067aef6add21b268f337fe74446"}},{"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":"bitwindow/lib/utils/bitcoin_uri.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7172126e4c6f0487287931a4aa4028ebf499dfd3d23a18252bbe824144dcbdf"}},{"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":"bitwindow/lib/utils/deposit_fee.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"165aa3b9b87755911041d9a18a06af4b1f0c33a29ad2dda705b05827efd13ef5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/settings/bitwindow_settings.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81fff0ed79c3172ae4e51d69ae35a4b9232540b0b0920536043daa76414751f"}},{"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":"bitwindow/lib/services/bitnames_secure_store.dart"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f20c4b1823b5e9d77290c12de7f60829b9a838dba8e494bf9d5860f77ec0c3"}},{"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":"bitwindow/lib/providers/chat_provider.dart"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a31f49334f12dc697a3232b64275a30a0d0977a491b23dd658c3d951072ad1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/chat_provider.dart"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb80bd97311e885860ac3e04eb1f350c59a83b3b0641ee9149d94be2f44f025f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/chat_provider.dart"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"da39da0a8f5786affe5590dba5ad7e9dc9a270c3e0af879f115185f16e26ddf1"}},{"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":"bitwindow/lib/providers/content_provider.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9247aa21a471fc2727dd9f1620073a0321071102b46f7fe722e7f5af0d01c3f3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/content_provider.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9a3798fd27b803d77afd8217e0864503510d856d10f2ea3fb04ae8eaf89e53"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/homepage_provider.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"47369649c2fa24b08d642ee02b859d91b24906624e906917f9f90940496dd7bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/homepage_provider.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedf550c34d77331b6a01efb01c48984e9c77edda1df28ac7fe13f10a642c8dd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/multisig_provider.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee7ec27f89a31e327fe3411bd61100277077c301c448461c8f0346f327d6f03"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/multisig_provider.dart"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e22a26f651999482980a8973fb3335db7d145766c6f97bec8134a2055ae4d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/multisig_provider.dart"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd78257a02f8d3ee7e255cde4438af8dd868c4d280fed9cd44e8a6c19937cff"}},{"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":"bitwindow/lib/pages/debug_window.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d19893c40e2cc79a32338d3083f89a9c6bfff428b5249b40486e3f212588a7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/overview_page.dart"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9c1da23425b974ad64b9089a7f297194b4c215213c21fb1ff9b52b43151986"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/sidechains_page.dart"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f86fabdb8916dffc84f76372003f0cae2a4ff4a2301c6c252fe3de9e3cee60"}},{"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":"bitwindow/lib/pages/welcome/multisig_config_step.dart"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"67346e560774f05f423d2d6ab098a9a068757bbb3a210a44fdb252cd5ecd2871"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/bump_fee_dialog.dart"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3261cf24816e658a894efc256e15a02969ab15ed89a0fbbeee9f0e3047b7da"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/timestamp_detail_page.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d9ff833bccaab353918319ddcfcf264c9835570da4c17ad6717f81c1c79396"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/verify_timestamp_page.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e16ba8861015507a53065875a6190bafaa1aed7ff3d9fc805f14f0dc94dbd6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_timestamps.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7152ef5a209bb578f8d837525be7068d768d59e14164c727deee6e52547dfa"}},{"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":"bitwindow/lib/pages/explorer/block_explorer_dialog.dart"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6e8e5a818be52d709f5b937116eb9bf35e2cd6ddf144065e3e545e3bc93690"}},{"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":"bitwindow/lib/pages/explorer/widgets/transaction_flow_diagram.dart"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9e7db7f6b33fbc04a46d4b54c9e9503dd6115ad07ecd7d37e6301ca1966a02"}},{"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":"bitassets/lib/settings/amm_settings.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4755512bd558593c71b06ffe781107429e090fa460fe314770ad36617fa4c1"}},{"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":"bitassets/lib/settings/favorites_settings.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe871a66aefff8e4659db9758a3265eebc193daf414a48373aea4b19284c780"}},{"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":"bitassets/lib/settings/price_alerts_settings.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c0140f2402868f349475f5bd267e4988134037faef3212dd2a16a93c9dc8b0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/providers/bitassets_provider.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e67013d57aa1c24c1c34f8acbdb354c55b9d70bf0a926699df05893e1c9cd43"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/providers/bitassets_provider.dart"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"5291788adca1698f10ec7f2e5cc337c9c8a2c2a674f5241c48e6e45a4fcca4aa"}},{"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":"bitassets/lib/providers/price_alert_provider.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"168fb645201f2380f251c33d350840b92e0e737f2282cf719ac620a76fbdb540"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitassets/lib/pages/tabs/amm_page.dart"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"898e99d9962e259d2281bace0f4e8ab73a44f100f5087bb7bdf0d633d2ac22af"}},{"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":"bitassets/lib/pages/tabs/auction_browser_page.dart"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"e729d35cd691bb666cf97824c3e5367fff0a764dce8076baaf8a3795f7f45c41"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Msg\u0060 at line 152 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Msg(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Msg(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Msg(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/engines/coinnews.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc2b077e99fec148d9d61959e90afd2510c91787ff5e2c980f79fdbb192515d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060source\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022, nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/server/miningpools/registry.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f55a13179cebdbd10fbcb79c4fbb8c6070034e1698368eac8ac675f5ca2558"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060contentValue\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/explorer_bundle.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20535d8052e99000ff645d7ed795c0d4fef92d1735f556f0e792622c0ab29e5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060burnTransactionWarning\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/transaction_warning.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf9f0ec4408a3920212b78b706c8fabf3686cfeff568bbfd3180617b65ea820"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060nextBlockFeeRate\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/api/orchestrator_handler.go"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae11e7006681e6ecef8b759dbd00046cd1f670bdd67bce5069f7104a6146e20"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060readLogOffset\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/logtail.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ee7ae5d9aad658d974f5484d22d603c34caab5d867e0d98eda4c6681be167b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060localModTime\u0060 turns a non-nil \u0060err\u0060 into \u0060return time.Time{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/release_check.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"547bcadcddee366c1344b859ec9f4811f771eff8d928c7dfe975996ddec917c2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060binaryVersion\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022unknown\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/commands/commands.go"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"9159e8a2f8fb03334d9ec9853a15f855cb44890f74dd61c7e838e4e2e8dbc516"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060splitElectrumURL\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022, 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/config/network.go"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dde37eb4f5c05633fe87813e6b28100c5f2e03e2fed6a9fc2398b28974ab42e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060probeContentLength\u0060 turns a non-nil \u0060err\u0060 into \u0060return -1\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/download.go"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9b6202ad01ed812a932313cfcfb1deb9034ff62e576a240e501b5aa4790f5c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060datadirOwnerPid\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/orchestrator.go"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bced63c6b4bb045cb4cc1c329f1a313d692d8b02dcabba1e68a8309244df19"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060OutputValueSats\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/sidechain/mempool.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"4728d1af9c77f1ebd5704a5fc6affd1b2a95f0e3d0c9376e91fc730f95f2fbc1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060configuredMask\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/stratum/pool.go"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"55eec7ad1ff5125652a66053b84246556dd0b633c2d7022566df0c99840b6706"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060opReturnAddress\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/ecx_burn.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a5020ba6d69f6e3875510a0b24a58504caf938e1fc3067da0cb49874935697"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060inputWeightForKind\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dab9b4462cd2d1ca3042365e39c57b38455e6c9b65cf4b029fc4f1a30b90ec1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060backupWalletPath\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/metadata.go"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"df933fe6e14e46ebf6d89ddfef28d1546120fd56cdb1e2d563e86f3147b01e14"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060pathPurpose\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/seed_explorer.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b0c323567300cfcf13417a2101e628a564cee7c80f43251e6812c9df089933"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060hdPathFor\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/electrum_backend.go"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c1ab550863b4fe0aa6e3bf426736d1f680acdade505c059855c68354a21e07"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060blockTime\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain-orchestrator/wallet/electrum_client.go"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"97edffd3f4a43ee6ea1c05a729c159b8620e231c96ca02496b06dec4312f037c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_formatDate\u0060 turns every thrown error into \u0060\u0027-\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/timestamp_detail_page.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf67edc2d38f0f50eaa502a40148141a67ff76d22561072a27a18d4c4b35022"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_formatDate\u0060 turns every thrown error into \u0060\u0027-\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/verify_timestamp_page.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e8fefcfe9107157d152bdb437e512020393d772295a9f986ac09df54000bb8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_formatDate\u0060 turns every thrown error into \u0060\u0027-\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/pages/wallet/wallet_timestamps.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fc794394c987f6c516ecadd31700b6166ae445bceb046661f8a91a63d3e291"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadArticleGroups\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/content_provider.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c445c6a20d78f80999b42c0d7d2ab9f410c84789038bf0d73f397df3317a018"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadSoloKeys\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/providers/multisig_provider.dart"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3f53a1dcde4185a1d9ac38d80fa7aacf4e25e49b8c73457beda032660968de"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_read\u0060 turns every thrown error into \u0060{}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/settings/secure_store.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc2d411de1ec9c5325cf7478d5c3940344e06ad45bbac88765b045fddafe9eb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_lengthOrZero\u0060 turns every thrown error into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sidechain_core/lib/utils/shared_log_tail.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd095dbc3077bd9674fb0b54becfc98941e2ca651a80187ad203b5536c469023"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_getInputBytes\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/hash_calculator_modal.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ffa2f4f8b666830db5fc82f3c431e073c25fc1759621cd9c9757a6406dea3f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_hexToBytes\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/hash_calculator_modal.dart"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"504b643049f22a13686d0576b42b9b4ccbf85b7d245a3ad32c7bd930384a3432"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_updateWalletKeyStates\u0060 turns every thrown error into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/import_txid_modal.dart"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c26b81727a11d72b3b5992de0c175b2d3545961ad981c842210dbc0c07e2ce0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_formatPing\u0060 turns every thrown error into \u0060\u0027-\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/peers_table_widget.dart"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f1b5d4a67cc0e2c5c7970efc9f92fb3a895512ff47889b52733d7a5659780b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_formatDuration\u0060 turns every thrown error into \u0060\u0027-\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bitwindow/lib/widgets/peers_table_widget.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f7176cfaeeaff2bea7c0a93973fb51f20ae0c028713ecb195db5169973e507"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeHost\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. 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 on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/app/item/[id]/page.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b361c9365d290281653f25312baaffe869f25434c68e98e7dc4ea2710085ed"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeHost\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. 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 on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"coinnews/components/item-row.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dddf55b912de85b52659f77c96559bc42c76c53c5c051ae3564a91490a5c486"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-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-1284","guid":"85c6f270-a062-d45c-98ec-8792760915c0","name":"CWE-1284","shortDescription":{"text":"CWE-1284"},"helpUri":"https://cwe.mitre.org/data/definitions/1284.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-22","guid":"b68d9ca7-bdde-d057-a6cc-9f8b1e739552","name":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)","shortDescription":{"text":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-242","guid":"5c147e5c-be37-b051-9928-764ef5a8f3d3","name":"CWE-242","shortDescription":{"text":"CWE-242"},"helpUri":"https://cwe.mitre.org/data/definitions/242.html"},{"id":"CWE-252","guid":"78915dc5-e486-f858-bc3c-aa570ad9010d","name":"Unchecked Return Value","shortDescription":{"text":"Unchecked Return Value"},"helpUri":"https://cwe.mitre.org/data/definitions/252.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-290","guid":"379b1e66-a292-7b59-aa1e-a5bb4a6a99e9","name":"Authentication Bypass by Spoofing","shortDescription":{"text":"Authentication Bypass by Spoofing"},"helpUri":"https://cwe.mitre.org/data/definitions/290.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-338","guid":"e89b7604-c3f7-8b53-bc8c-4d4718c28617","name":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)","shortDescription":{"text":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)"},"helpUri":"https://cwe.mitre.org/data/definitions/338.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-391","guid":"d9ef5687-8d79-9b51-b509-b83411fbcdc3","name":"Unchecked Error Condition","shortDescription":{"text":"Unchecked Error Condition"},"helpUri":"https://cwe.mitre.org/data/definitions/391.html"},{"id":"CWE-400","guid":"ca529a89-676d-8857-aac1-84359c77bb6c","name":"CWE-400","shortDescription":{"text":"CWE-400"},"helpUri":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-409","guid":"822967b4-c402-c453-948f-c5c279b4a370","name":"CWE-409","shortDescription":{"text":"CWE-409"},"helpUri":"https://cwe.mitre.org/data/definitions/409.html"},{"id":"CWE-476","guid":"df404eaf-4a12-445c-9306-241412f65220","name":"NULL Pointer Dereference","shortDescription":{"text":"NULL Pointer Dereference"},"helpUri":"https://cwe.mitre.org/data/definitions/476.html"},{"id":"CWE-489","guid":"b1d97a6c-8316-175f-ade8-b1bfbc14619d","name":"Active Debug Code","shortDescription":{"text":"Active Debug Code"},"helpUri":"https://cwe.mitre.org/data/definitions/489.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-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"Deserialization of Untrusted Data","shortDescription":{"text":"Deserialization of Untrusted Data"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-668","guid":"e2cb99db-6d24-b056-b0d0-885a733ec403","name":"Exposure of Resource to Wrong Sphere","shortDescription":{"text":"Exposure of Resource to Wrong Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/668.html"},{"id":"CWE-703","guid":"fa730aa9-95e4-845e-83fa-8169f2cf339e","name":"Improper Check or Handling of Exceptional Conditions","shortDescription":{"text":"Improper Check or Handling of Exceptional Conditions"},"helpUri":"https://cwe.mitre.org/data/definitions/703.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-835","guid":"4d510828-22d0-5353-ad86-51ed0cae0b37","name":"CWE-835","shortDescription":{"text":"CWE-835"},"helpUri":"https://cwe.mitre.org/data/definitions/835.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":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"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-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":233,"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."]}]}